Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


centos_8_migration_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
centos_8_migration_notes [2021/01/23 11:19] juckinscentos_8_migration_notes [2022/06/08 16:03] (current) juckins
Line 1: Line 1:
 ==== CentOS 8 Migration Notes ==== ==== CentOS 8 Migration Notes ====
 +
 +When ssh'ing into a CentOS 8 machine via ssh and xterm, slow logouts usually occur. The fix is to not include ssh -X or ssh -Y.
 +
 +Consult [[virtualbox_for_centos_stream_notes|Virtual Box running CentOS8 Stream]] notes if dnf updates are slow
 +
  
 Fix php for phpmyadmin: Fix php for phpmyadmin:
  
   dnf install php-gd php-ldap php-mysqlnd php-pecl-mcrypt php-pecl-zip   dnf install php-gd php-ldap php-mysqlnd php-pecl-mcrypt php-pecl-zip
 +  
 +Also comment out the cookie validity setting in config.inc.php
  
 Secure the mariadb Secure the mariadb
Line 9: Line 16:
 Fix php.ini from known good config Fix php.ini from known good config
  
 +Configure $HOME/.vimrc as the following:
  
 +  autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
  
-<color #ed1c24>**Below is copied from [[centos_7_migration_notes|CentOS 7 Migration Notes]] so modify as needed.**</color>+  python3 -m pip install --upgrade pip 
 +  # python3 -m pip install dictor 
 +  # python3 -m pip install wheel 
 +  # python3 -m pip install httplib2 
 +  # python3 -m pip install PyMySQL 
 + 
 +PyMySQL v0.9.3 has been upgraded to v1.0.2 and requires modification to "connect" statement.
  
 Other fixes: Other fixes:
Line 76: Line 91:
   * Note firewall rules   * Note firewall rules
     * [[https://serverfault.com/questions/655851/is-there-a-simple-way-to-export-import-firewalld-settings|Export Firewall Rules to new server]]     * [[https://serverfault.com/questions/655851/is-there-a-simple-way-to-export-import-firewalld-settings|Export Firewall Rules to new server]]
 +
 +<color #ed1c24>**Below is copied from [[centos_7_migration_notes|CentOS 7 Migration Notes]] so modify as needed.**</color>
  
 Must-Have functionality: Must-Have functionality:
   * Apache, MySQL, PHP, Perl   * Apache, MySQL, PHP, Perl
-  * [[https://www.digitalocean.com/community/tutorials/how-to-protect-ssh-with-fail2ban-on-centos-7|fail2ban]]+  * [[https://www.cyberciti.biz/faq/how-to-protect-ssh-with-fail2ban-on-centos-8/|fail2ban]]
     * edit /etc/fail2ban/jail.local to ban for longer than default of 1 hour     * edit /etc/fail2ban/jail.local to ban for longer than default of 1 hour
     * Check logs: # cat /var/log/fail2ban.log     * Check logs: # cat /var/log/fail2ban.log
Line 109: Line 126:
     * General: Font Monospace 9, No terminal bell     * General: Font Monospace 9, No terminal bell
     * Colors: Use colors from system theme     * Colors: Use colors from system theme
 +      * Or, black background with text color #d3d7cf (from GNOME Dark in RHEL9)
     * Scrolling: unlimited     * Scrolling: unlimited
     * Edit > Keyboard Shortcuts > Reset and Clear > F2     * Edit > Keyboard Shortcuts > Reset and Clear > F2
Line 317: Line 335:
  
   * For other run-level info, see [[https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sect-Managing_Services_with_systemd-Targets.html#sect-Managing_Services_with_systemd-Targets-Change_Default|RHEL7 Working with Systemd Targets]]   * For other run-level info, see [[https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sect-Managing_Services_with_systemd-Targets.html#sect-Managing_Services_with_systemd-Targets-Change_Default|RHEL7 Working with Systemd Targets]]
 +
 +After machine has been running for a few days, don't forget to use "alpine" and check for local email from crons that indicate any errors or failures.
centos_8_migration_notes.1611418750.txt.gz · Last modified: 2021/01/23 11:19 by juckins