Rocky Linux Installation previously CentOS: Difference between revisions

mNo edit summary
mNo edit summary
Line 1: Line 1:
===Notes===
==General Notes (applies to various version of CentOS and Rocky Linux)==


*Hyper-V: Do not use virtual RAM when booting from CD / DVD, it will cause a Kernel Panic
*Hyper-V: Do not use virtual RAM when booting from CD / DVD, it will cause a Kernel Panic
Line 11: Line 11:
*Install Webmin RPM via Yum (it will also install dependencies automatically)
*Install Webmin RPM via Yum (it will also install dependencies automatically)


===Rocky Linux 9 (New Stuff)===
==Rocky Linux 9 (New Stuff)==
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)
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 92: Line 92:
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/
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)====
===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:  
Install it from here:  


Line 108: Line 108:
</syntaxhighlight>...then: systemctl enable ApacheGUI.service
</syntaxhighlight>...then: systemctl enable ApacheGUI.service


==== Apache / HTTPD ====
===Apache / HTTPD===
Believe it or not, SSL (AKA TLS) capability is not installed by default: yum install mod_ssl
Believe it or not, SSL (AKA TLS) capability is not installed by default: yum install mod_ssl


Line 115: Line 115:
<code>curl -sL <nowiki>https://raw.githubusercontent.com/richardforth/apache2buddy/master/apache2buddy.pl</nowiki> | perl</code>
<code>curl -sL <nowiki>https://raw.githubusercontent.com/richardforth/apache2buddy/master/apache2buddy.pl</nowiki> | perl</code>


===Other Notes===
=== phpMyAdmin ===
The install via Yum / DNF puts things in locations that are different than if phpMyAdmin is installed manually.
 
* Directory for Files: /usr/share/phpMyAdmin
* Directories for Configuration
** /etc/phpMyAdmin/config.inc (for phpMyAdmin configuration) (ain't no config.sample.inc by default, as it has already been 'defaulted' by Red Hat)
** /etc/httpd/conf.d/phpMyAdmin.conf (for Apache level configuration)
* SSL / TLS / HTTPS: Believe it or not, out of the box accessing phpMyAdmin via HTTPS will not work (even if all the Apache stuff is properly configured).  Solution?
** Add this line to /etc/phpMyAdmin/config.inc: $cfg['Servers'][$i]['ssl'] = true;
** Some other comments here (but keep in mind this dude is trying to turn off HTTPS): https://stackoverflow.com/questions/57972164/run-phpmyadmin-without-ssl-https
 
==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>