CentOS / RHEL / WBEL
Centos 7 Notes
-
In minimal install, your text editor is vi - and only vi.
-
-
enable ethernet: nmtui
-
ethernet is disabled by default (WTF?)
-
see if ethernet is "disconnected": nmcli d
-
PITA: for a manual IP, watch out, there's not a separate netmask field. You probably want something like 192.168.1.123/24 for 255.255.255.0 - otherwise you can ping router, but that's it.
-
then yum install net-tools to get back ifconfig
-
-
netstat (is deprecated) but you can - yum install net-tools
-
-
ifconfig is not there (ARGH).
-
use: ip addr
-
and: ip link
-
and: ip -s link
-
yum can get stuck if you use multiple repos - something like this forces a trans to get all packages from the same repo:
-
yum --disablerepo=\* --enablerepo=rpmforge update clam\*
-
Install X after a minimal install:
yum -y install epel-release
yum --enablerepo=epel -y groups install "Xfce"
- http://unix.stackexchange.com/questions/181503/how-to-install-desktop-environments-on-centos-7
-
Or: yum groupinstall "X Window System" and yum groupinstall "GNOME Desktop Environment" -- this didn't actually start x under xen?
-
Or: yum group install "GNOME Desktop" "Graphical Administration Tools" THEN ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
-
CentOS 7 is ... systemd... no use for init scripts. Instead there are service files available under /lib/systemd/system/saslauthd.service. You can start saslauthd by running systemctl start saslauthd and to make it start automatically, you need to run systemctl enable saslauthd, if it is your concern. - http://stackoverflow.com/questions/31093310/installing-cyrus-sasl-installs-saslauthd-but-not-the-sysv-init-for-centos-7
-
The rc.local file is not automatically executed by default under RHEL/CentOS 7 installations...
-
# chmod u+x /etc/rc.d/rc.local
-
# systemctl start rc-local
tags: linux, centos, centos7