Change hostname
hostnamectl set-hostname redhat7.localdomain
hostnamectl status
Change in /etc/sysconfig/network
HOSTNAME=redhat7.localdomain
Change in /etc/hosts (otherwise Oracle won't start -> when using Oracle ...)
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 /etc/sysconfig/network-scripts/ifcfg-eno16777736
TYPE="Ethernet"
#BOOTPROTO="dhcp"
BOOTPROTO="none"
DEFROUTE="yes"
PEERDNS="yes"
PEERROUTES="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_PEERDNS="yes"
IPV6_PEERROUTES="yes"
IPV6_FAILURE_FATAL="no"
NAME="eno16777736"
UUID="12cca20f-49ce-41e6-aa82-2a6cbeb6e0cc"
DEVICE="eno16777736"
ONBOOT="yes"
PREFIX=24
IPADDR=172.16.148.136
#NETWORK=172.16.148.0
NETMASK=255.255.255.0
USERCTL=no
Nux Dextop
Nux 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.
Nux Dextop: A Desktop And Multimedia Oriented RPM Repository
Extra Packages for Enterprise Linux (EPEL)
Extra 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).
EPEL packages are usually based on their Fedora counterparts and will never conflict with or replace packages in the base Enterprise Linux distributions.
https://fedoraproject.org/wiki/EPEL
Install EPEL Repository On RHEL / CentOS / Scientific linux 6.x, 5.x
GNOME, KDE, MATE, XFCE, Cinnamon
http://unix.stackexchange.com/questions/181503/how-to-install-desktop-environments-on-centos-7
see /etc/inittab
multi-user.target: analogous to runlevel 3
graphical.target: analogous to runlevel 5
To view current default target, run:
systemctl get-default
Check OS version
cat /etc/redhat-release