Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


centos_7_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
Next revisionBoth sides next revision
centos_7_migration_notes [2019/04/14 22:04] juckinscentos_7_migration_notes [2019/04/17 22:04] juckins
Line 56: Line 56:
 Restarting Services: http://www.putorius.net/2014/07/restarting-services-in-red-hat-7-or.html Restarting Services: http://www.putorius.net/2014/07/restarting-services-in-red-hat-7-or.html
  
-For migrating a system, take note of this info first:+For migrating a system from a different OS, take note of this info first:
   * Make a test user on CentOS6 and one on CentOS7   * Make a test user on CentOS6 and one on CentOS7
     * Compare hidden files to see if anything changed between OSs     * Compare hidden files to see if anything changed between OSs
Line 65: Line 65:
   * users   * users
   * <color #ed1c24>MySQL / MariaDB Database and users</color>   * <color #ed1c24>MySQL / MariaDB Database and users</color>
-    * [[https://www.tecmint.com/transfer-mysql-databases-from-old-to-new-server/|Migrate with rsync link #1]] +    * [[https://www.tecmint.com/transfer-mysql-databases-from-old-to-new-server/|Migrate with rsync]] 
-    * [[https://www.linode.com/docs/databases/mysql/create-physical-backups-of-your-mariadb-or-mysql-databases/|Migrate with rsync link #2]]+    * [[https://www.linode.com/docs/databases/mysql/create-physical-backups-of-your-mariadb-or-mysql-databases/|Migrate with tar]]
     * [[http://www.uptimemadeeasy.com/linux/mysql-migrate-users-server-server/|Migrate MySQL users to new machine]]     * [[http://www.uptimemadeeasy.com/linux/mysql-migrate-users-server-server/|Migrate MySQL users to new machine]]
       * Don't forget to add semicolons with this:  # sed -i ‘/[^;] *$/s/$/;/’ ./grantfile       * Don't forget to add semicolons with this:  # sed -i ‘/[^;] *$/s/$/;/’ ./grantfile
Line 99: Line 99:
 perl perl
 perl-autodie perl-autodie
 +perl-Array-Diff
 +perl-Array-Unique
 perl-B-Lint perl-B-Lint
 perl-Business-ISBN perl-Business-ISBN
Line 219: Line 221:
     * 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
-    * Ensure service is running: ''# systemctl enable fail2ban'' and ''# systemctl restart fail2ban''+    * Ensure service is running: 
 +      * ''# systemctl enable fail2ban'' 
 +      * ''# systemctl restart fail2ban''
   * [[gmail_as_a_relay_on_linux|Set up Gmail Relay and test]]   * [[gmail_as_a_relay_on_linux|Set up Gmail Relay and test]]
   * Disable SELinux   * Disable SELinux
Line 532: Line 536:
   * systemctl restart sshd.service   * systemctl restart sshd.service
  
-Update GRUB+Update GRUB and splash screen 
 +  * My saved splash images with varying resolutions are in /root/downloads/splash
   * <color #ed1c24>As of CentOS 7.2 cannot get custom splash image to appear at boot (with UEFI)</color>   * <color #ed1c24>As of CentOS 7.2 cannot get custom splash image to appear at boot (with UEFI)</color>
   * cd /etc/default   * cd /etc/default
centos_7_migration_notes.txt · Last modified: 2023/12/14 10:10 by juckins