Rocky Linux Installation previously CentOS: Difference between revisions

mNo edit summary
mNo edit summary
Line 12: Line 12:


===Rocky Linux 9 (New Stuff)===
===Rocky Linux 9 (New Stuff)===
For Showing Useful Information While Booting, edit the /etc/default/grub File and then use this command: grub2-mkconfig -o /boot/efi/EFI/rocky/grub.cfg (equivalent to what BootICE does for the Windows BCD File)
For Showing Useful Information While Booting, edit the /etc/default/grub File (get rid of quiet rhel Directives) and then use this command: grub2-mkconfig -o /boot/efi/EFI/rocky/grub.cfg (equivalent to what BootICE does for the Windows BCD File)


*
*
Line 77: Line 77:
Disabling NetworkManager
Disabling NetworkManager


* From Here: https://www.thegeekdiary.com/centos-rhel-7-how-to-disable-networkmanager/amp/
*From Here: https://www.thegeekdiary.com/centos-rhel-7-how-to-disable-networkmanager/amp/
** systemctl stop NetworkManager
**systemctl stop NetworkManager
** systemctl disable NetworkManager
**systemctl disable NetworkManager
** Any Network Interfaces in /etc/sysconfig/network-scripts, set this line as follows: NM_CONTROLLED="no"
**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 )
**systemctl enable network (which results in this: /usr/lib/systemd/systemd-sysv-install enable network )
** service network restart OR systemctl restart network<br />
**service network restart OR systemctl restart network
 
Disabling IPv6: https://www.tecmint.com/disable-ipv6-rhel-rocky-almalinux/
 
=== Boot Time ===
systemd-analyze blame
 
=== Shorewall ===
If using ShoreWall, some changes have been made over the years.  Watch out for these items: https://sourceforge.net/p/webadmin/discussion/600155/thread/67206ca38b/
 
==== ApacheGUI (doesn't seem to have been popular and hasn't been supported for a couple of years, but still useful for quick viewing of files) ====
Install it from here:
 
To have it start automatically, create a file named ApacheGUI.service in /etc/systemd/system<syntaxhighlight lang="text">
[Unit]
Description=ApacheGUI
 
[Service]
WorkingDirectory=/usr/share/ApacheGUI/bin
ExecStart=/usr/share/ApacheGUI/bin/run.sh
ExecStop=/usr/share/ApacheGUI/bin/stop.sh
 
[Install]
WantedBy=multi-user.target
</syntaxhighlight>...then: systemctl enable ApacheGUI.service


===Other Notes===
===Other Notes===