CentOS
IMPORTANT: Documentation for Red Hat Enterprise Linux
WiFi
Log in as root (not sudo):
su
Turn wifi on
nmcli radio wifi on
List available access points(AP) to connect to
nmcli device wifi list
Create a new connection to a password protected AP
nmcli device wifi connect <SSID|BSSID> password <password>
XFCE
yum groupinstall 'X Window System'yum install epel-release -yyum groupinstall 'Xfce'systemctl set-default graphical.target
Reboot
IMPORTANT:
- To login from a display manager:
systemctl set-default graphical.target - To login from the CLI:
systemctl set-default multiuser-target
GRUB2
How to accommodate another OS in the GRUB2 config file:
- Install
os-proberif it's not already installed:
# yum install os-prober
- Then reconfigure the grub config file:
# grub2-mkconfig -o /boot/grub2/grub.cfgor# update-grub
Networking
There are several ways to configure networking: NetworkManager, network script, sysconfig/ifcfg files and the CLI. They can be used in parallel.
Please check very important documentation at Red Hat documentation
- Network Manager uses: nmtui and nmcli. Service: systemctl start|stop|restart|status NetworkManager
- Network script uses: ip utility, iproute. Service: systemctl start|stop|restart|status network /etc/init.d/network
- Sysconfig/ifcfg files uses: ifcfg files. Service: ifup- and ifdown- These files are located in /etc/sysconfig/network-scripts/
- The Command Line Interface uses: ip command