{"id":3083,"date":"2016-07-27T16:56:42","date_gmt":"2016-07-27T14:56:42","guid":{"rendered":"https:\/\/adrhc.go.ro\/wordpress\/?p=3083"},"modified":"2017-07-25T15:06:02","modified_gmt":"2017-07-25T13:06:02","slug":"redhat-centos","status":"publish","type":"post","link":"https:\/\/adrhc.go.ro\/blog\/redhat-centos\/","title":{"rendered":"RedHat &#038; CentOS"},"content":{"rendered":"<pre>\r\n<strong>Change hostname<\/strong>\r\nhostnamectl set-hostname redhat7.localdomain\r\nhostnamectl status\r\n\r\nChange in \/etc\/sysconfig\/network\r\nHOSTNAME=redhat7.localdomain\r\n\r\nChange in \/etc\/hosts (otherwise Oracle won't start -> when using Oracle ...)\r\n127.0.0.1   redhat7 redhat7.localdomain\r\n\r\nreboot\r\n\r\n<strong>Static ip setup<\/strong>\r\n[root@localhost ~]# cat \/etc\/sysconfig\/network\r\nNETWORKING=yes\r\nGATEWAY=172.16.148.2\r\nHOSTNAME=redhat7.localdomain\r\n\r\n[root@localhost ~]# cat \/etc\/sysconfig\/network-scripts\/ifcfg-eno16777736 \r\nTYPE=\"Ethernet\"\r\n#BOOTPROTO=\"dhcp\"\r\nBOOTPROTO=\"none\"\r\nDEFROUTE=\"yes\"\r\nPEERDNS=\"yes\"\r\nPEERROUTES=\"yes\"\r\nIPV4_FAILURE_FATAL=\"no\"\r\nIPV6INIT=\"yes\"\r\nIPV6_AUTOCONF=\"yes\"\r\nIPV6_DEFROUTE=\"yes\"\r\nIPV6_PEERDNS=\"yes\"\r\nIPV6_PEERROUTES=\"yes\"\r\nIPV6_FAILURE_FATAL=\"no\"\r\nNAME=\"eno16777736\"\r\nUUID=\"12cca20f-49ce-41e6-aa82-2a6cbeb6e0cc\"\r\nDEVICE=\"eno16777736\"\r\nONBOOT=\"yes\"\r\nPREFIX=24\r\nIPADDR=172.16.148.136\r\n#NETWORK=172.16.148.0\r\nNETMASK=255.255.255.0\r\nUSERCTL=no\r\n\r\n<strong>Nux Dextop<\/strong>\r\nNux Dextop is a RPM repository specially made for installing popular desktop and multimedia related packages such as VLC, Flash player, Shutter etc., in RHEL, CentOS, and Scientific Linux distributions. It is currently available for RHEL\/CentOS\/Scientific Linux 6 and 7 versions. This repository is made to coexist with EPEL Repository. And more importantly, Nux Dextop repository may or may not be up to date. Use it at your own risk.\r\n<blockquote class=\"wp-embedded-content\" data-secret=\"MfHDwFnOpN\"><a href=\"https:\/\/www.unixmen.com\/nux-dextop-a-desktop-and-multimedia-oriented-rpm-repository\/\">Nux Dextop: A Desktop And Multimedia Oriented RPM Repository<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Nux Dextop: A Desktop And Multimedia Oriented RPM Repository&#8221; &#8212; Unixmen\" src=\"https:\/\/www.unixmen.com\/nux-dextop-a-desktop-and-multimedia-oriented-rpm-repository\/embed\/#?secret=d1uJ8uCQFI#?secret=MfHDwFnOpN\" data-secret=\"MfHDwFnOpN\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\r\n\r\n<strong>Extra Packages for Enterprise Linux (EPEL)<\/strong>\r\nExtra Packages for Enterprise Linux (or EPEL) is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL), Oracle Linux (OL).\r\nEPEL packages are usually based on their Fedora counterparts and will never conflict with or replace packages in the base Enterprise Linux distributions.\r\nhttps:\/\/fedoraproject.org\/wiki\/EPEL\r\n<blockquote class=\"wp-embedded-content\" data-secret=\"B53KGlHdYJ\"><a href=\"https:\/\/www.unixmen.com\/install-epel-repository-rhel-centos-scientific-linux-6\/\">Install EPEL Repository On RHEL \/ CentOS \/ Scientific linux 6.x, 5.x<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Install EPEL Repository On RHEL \/ CentOS \/ Scientific linux 6.x, 5.x&#8221; &#8212; Unixmen\" src=\"https:\/\/www.unixmen.com\/install-epel-repository-rhel-centos-scientific-linux-6\/embed\/#?secret=a0QUGxQ03w#?secret=B53KGlHdYJ\" data-secret=\"B53KGlHdYJ\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\r\n\r\n<strong>GNOME, KDE, MATE, XFCE, Cinnamon<\/strong>\r\nhttp:\/\/unix.stackexchange.com\/questions\/181503\/how-to-install-desktop-environments-on-centos-7\r\nsee \/etc\/inittab\r\nmulti-user.target: analogous to runlevel 3\r\ngraphical.target: analogous to runlevel 5\r\nTo view current default target, run:\r\nsystemctl get-default\r\n\r\n<strong>Check OS version<\/strong>\r\ncat \/etc\/redhat-release\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Change hostname hostnamectl set-hostname redhat7.localdomain hostnamectl status Change in \/etc\/sysconfig\/network HOSTNAME=redhat7.localdomain Change in \/etc\/hosts (otherwise Oracle won&#8217;t start -> when using Oracle &#8230;) 127.0.0.1 redhat7 redhat7.localdomain reboot Static ip setup [root@localhost ~]# cat \/etc\/sysconfig\/network NETWORKING=yes GATEWAY=172.16.148.2 HOSTNAME=redhat7.localdomain [root@localhost ~]# cat [&hellip;]<\/p>\n<div class=\"link-more\"><a href=\"https:\/\/adrhc.go.ro\/blog\/redhat-centos\/#more-3083\" class=\"more-link\">Continue reading &#10142; <span class=\"screen-reader-text\">RedHat &#038; CentOS<\/span><\/a><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,11,37],"tags":[],"class_list":["post-3083","post","type-post","status-publish","format-standard","hentry","category-centos","category-linux","category-redhat"],"_links":{"self":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/3083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/comments?post=3083"}],"version-history":[{"count":0,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/3083\/revisions"}],"wp:attachment":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/media?parent=3083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/categories?post=3083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/tags?post=3083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}