Rocky Linux Installation previously CentOS: Difference between revisions
mNo edit summary |
|||
Line 53: | Line 53: | ||
*The best one that works every time is this: yum remove gnome-initial-setup (can't run if it "don't" exist!) | *The best one that works every time is this: yum remove gnome-initial-setup (can't run if it "don't" exist!) | ||
=== Networking === | ===Networking=== | ||
And under the category of "It isn't broken, so let's fix it" (thanks Red Hat Morons, yes morons, because in all of the documentation available no one has any good reason why the old system really needed replacing), say hello to NetworkManager | And under the category of "It isn't broken, so let's fix it" (thanks Red Hat Morons, yes morons, because in all of the documentation available no one has any good reason why the old system really needed replacing), say hello to NetworkManager | ||
Line 64: | Line 64: | ||
Tips if it is necessary to use it; | Tips if it is necessary to use it; | ||
* GUI: nm-connection-editor | *GUI: nm-connection-editor | ||
* Text Based Editor: nmtui | *Text Based Editor: nmtui | ||
* Directory for direct Text Editing: /etc/NetworkManager/system-connections | *Directory for direct Text Editing: /etc/NetworkManager/system-connections | ||
"Over Coming" NetworkManager; | "Over Coming" NetworkManager (not disabling); | ||
* Edit this file to PRIORITIZE the "old fashion" method over NetworkManager: /etc/NetworkManager/NetworkManager.conf, edit the plugins= line and put ifcfg-rh first | *Edit this file to PRIORITIZE the "old fashion" method over NetworkManager: /etc/NetworkManager/NetworkManager.conf, edit the plugins= line and put ifcfg-rh first | ||
* Leave this in place for /etc/sysconfig/network-scripts/ifcfg-ethWhatEverNumber | *Leave this in place for /etc/sysconfig/network-scripts/ifcfg-ethWhatEverNumber: NM_CONTROLLED="yes" | ||
* yum install network-scripts --enableprepo=devel (this gets back stuff like "service network restart") | *yum install network-scripts --enableprepo=devel (this gets back stuff like "service network restart") | ||
* ifup (just run the command and it will offer to install the necessary files) | *ifup (just run the command and it will offer to install the necessary files) | ||
Disabling NetworkManager | |||
* From Here: https://www.thegeekdiary.com/centos-rhel-7-how-to-disable-networkmanager/amp/ | |||
** systemctl stop NetworkManager | |||
** systemctl disable NetworkManager | |||
** Any Network Interfaces in /etc/sysconfig/network-scripts, set this line as follows: NM_CONTROLLED="no" | |||
** systemctl enable network (which results in this: /usr/lib/systemd/systemd-sysv-install enable network ) | |||
** service network restart OR systemctl restart network<br /> | |||
===Other Notes=== | ===Other Notes=== | ||
After GUI installation, get it to boot to command line: <nowiki>http://www.itzgeek.com/how-tos/linux/centos-how-tos/change-default-runlevel-in-centos-7-rhel-7.html#axzz3PuGwJi3X</nowiki> | After GUI installation, get it to boot to command line: <nowiki>http://www.itzgeek.com/how-tos/linux/centos-how-tos/change-default-runlevel-in-centos-7-rhel-7.html#axzz3PuGwJi3X</nowiki> |