Rocky Linux Installation previously CentOS: Difference between revisions

mNo edit summary
Line 45: Line 45:
...but that's not enough these days.  You'll also need to use the GRUBBY command to modify the Kernel Parameters?  Yup, the same Kernel Parameters that can be modified in /etc/default/grub and are reflected in /boot/grub2/grub.cfg (but apparently don't do a damn thing as far a Kernel Parameters) are instead modified in the following way (this is similar to turning on a light switch and also being required to clap to have a light come on);
...but that's not enough these days.  You'll also need to use the GRUBBY command to modify the Kernel Parameters?  Yup, the same Kernel Parameters that can be modified in /etc/default/grub and are reflected in /boot/grub2/grub.cfg (but apparently don't do a damn thing as far a Kernel Parameters) are instead modified in the following way (this is similar to turning on a light switch and also being required to clap to have a light come on);


* grubby --info=ALL : Shows current settings, from https://forums.rockylinux.org/t/how-do-you-view-grub-command-line-options/11625
*grubby --info=ALL<span> </span>: Shows current settings, from https://forums.rockylinux.org/t/how-do-you-view-grub-command-line-options/11625
* Generally speaking, here's the syntax: grubby --update-kernel=ALL --args="new_option" OR grubby --update-kernel=ALL --remove-args="option_to_remove"
*Generally speaking, here's the syntax: grubby --update-kernel=ALL --args="new_option" OR grubby --update-kernel=ALL --remove-args="option_to_remove"
* To disable IPv6: grubby --update-kernel=X --args="ipv6.disable=1"
*To disable IPv6: grubby --update-kernel=X --args="ipv6.disable=1"
* To have useful "DMESG" information while booting instead of an Appled Up boring screen;
*To have useful "DMESG" information while booting instead of an Appled Up boring screen;
** grubby --update-kernel=ALL --remove-args="rhgb"
**grubby --update-kernel=ALL --remove-args="rhgb"
** grubby --update-kernel=ALL --remove-args="quiet"
**grubby --update-kernel=ALL --remove-args="quiet"


'''Firewall''': If using something like Shorewall, get rid of FirewallD: yum remove firewalld* --noautoremove
'''Firewall''': If using something like Shorewall, get rid of FirewallD: yum remove firewalld* --noautoremove
Line 88: Line 88:
<nowiki>*</nowiki> DNF = "Next Generation" of YUM
<nowiki>*</nowiki> DNF = "Next Generation" of YUM


Gnome Initial GUI / Desktop Setup
Gnome Initial GUI / Desktop Setup;


...there are so many suggested solutions that don't work when one wants a single user (root)
...there are so many suggested solutions that don't work when one wants a single user (root)
Line 95: Line 95:
*https://askubuntu.com/questions/1028822/disable-the-new-ubuntu-18-04-welcome-screen/1030095#1030095
*https://askubuntu.com/questions/1028822/disable-the-new-ubuntu-18-04-welcome-screen/1030095#1030095
*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!)
*Disable Lock Screen;
**Settings, Privacy, Screen Lock


===Networking===
===Networking===
Line 113: Line 115:
**lshw -class network (notice the logical name)
**lshw -class network (notice the logical name)
**...and for detailed information on as specific adapter: ethtool WhatEverLogicalNameOfAdapter
**...and for detailed information on as specific adapter: ethtool WhatEverLogicalNameOfAdapter
*Webmin is a bit wonky with NetworkManager.


'''NetworkManager (if it is necessary to use it);'''
'''NetworkManager (if it is necessary to use it);'''
Line 222: Line 225:
==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>
Lock


*For Command Line instead of GUI interface:  systemctl set-default multi-user.target
*For Command Line instead of GUI interface:  systemctl set-default multi-user.target