Collection of things for RHEL7 that are new to me
Change the hostname
hostnamectl set-hostname <new hostname> hostnamectl status
System Services
systemctl status <service> systemctl enable/disable <service> systemctl start/stop <service>
List Running/Failed Services
systemctl --state=failed systemctl --state=running
Set Runlevels
systemctl isolate multi-user (switch to runlevel 3) systemctl isolate graphical.target (switch to runlevel 5) systemctl set-default multi-user.target systemctl set-default graphical.target
Unfortunately, this requires a lot of manual screwing around to get the system back to what it would be using our kickstart file.
NFS doesn't work. Need to make sure all the packages are installed.
yum groupinstall network-file-system-client
yum groupinstall network-tools
systemctl enable rpcbind.socket
systemctl restart rpcbind.service
reboot