Rocky Linux Installation previously CentOS: Difference between revisions

mNo edit summary
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>


=== phpMyAdmin ===
===phpMyAdmin===
The install via Yum / DNF puts things in locations that are different than if phpMyAdmin is installed manually.
The install via Yum / DNF puts things in locations that are different than if phpMyAdmin is installed manually.


* Directory for Files: /usr/share/phpMyAdmin
*Directory for Files: /usr/share/phpMyAdmin
* Directories for Configuration
*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/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)
**/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?
*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;
**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
**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==
==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>


o  systemctl set-default multi-user.target
* For Command Line instead of GUI interface:  systemctl set-default multi-user.target
 
** Display Current Setting: systemctl get-default OR ls -l /usr/lib/systemd/system/default.target
o  Start Gnome Desktop; startx
** List what is available: systemctl list units --type target
** More details here: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_basic_system_settings/working-with-systemd-targets_configuring-basic-system-settings
* Start Gnome Desktop from command line; startx


o  Exit Gnome desktop; Click the User Name, and select Logout
o  Exit Gnome desktop; Click the User Name, and select Logout