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
Next revisionBoth sides next revision
centos_8_migration_notes [2020/10/14 15:10] juckinscentos_8_migration_notes [2020/10/15 18:27] juckins
Line 1: Line 1:
 ==== CentOS 8 Migration Notes ==== ==== CentOS 8 Migration Notes ====
  
-<color #ed1c24>Below is copied from [[centos_7_migration_notes|CentOS 7 Migration Notes]] so modify as needed.</color>+<color #ed1c24>**Below is copied from [[centos_7_migration_notes|CentOS 7 Migration Notes]] so modify as needed.**</color>
  
 Other fixes: Other fixes:
Line 16: Line 16:
     * mkdir ("$log_dir", 0755);     * mkdir ("$log_dir", 0755);
     * should crons write to /tmp and then have a daily script that checks cron logs for errors?     * should crons write to /tmp and then have a daily script that checks cron logs for errors?
 +
 +
 +----
 +
 +
   * Get inventory of users   * Get inventory of users
 +  * ///
 +  * Check that PHP is working correctly, localhost/index.php tries to open a file
 +    * check httpd.conf
 +  * ///
 +  * Clear all history from Firefox before testing phpmyadmin
 +    * Check httpd logs for any errors, such as mod security
 +    * uninstall [[https://phoenixnap.com/kb/setup-configure-modsecurity-on-apache|mod_security]] if necessary
 +  * [[https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-8|Add https and http to firewall rules]]
   * <color #ed1c24>MySQL / MariaDB Database and users</color>   * <color #ed1c24>MySQL / MariaDB Database and users</color>
     * [[https://www.digitalocean.com/community/tutorials/how-to-reset-your-mysql-or-mariadb-root-password|Reset mysql root password]]     * [[https://www.digitalocean.com/community/tutorials/how-to-reset-your-mysql-or-mariadb-root-password|Reset mysql root password]]
     * [[https://www.tecmint.com/install-lamp-on-centos-8/|Notes for installing LAMP]] on CentOS 8     * [[https://www.tecmint.com/install-lamp-on-centos-8/|Notes for installing LAMP]] on CentOS 8
-    * [[https://www.tecmint.com/transfer-mysql-databases-from-old-to-new-server/|Migrate with rsync]]+    * [[https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-centos-8]] 
 +    * [[https://www.tecmint.com/transfer-mysql-databases-from-old-to-new-server/|Migrate all databases with mysqldump]] 
 +      * Note that the restore of mysql does not use "--all-databases" option and is an error in link above
     * [[https://www.linode.com/docs/databases/mysql/create-physical-backups-of-your-mariadb-or-mysql-databases/|Migrate with tar]]     * [[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'forget to add semicolons with this:  # sed -i ‘/[^;] *$/s/$/;/’ ./grantfile+      * They can be exported from phpmyadmin (but don'include root)
   * export MySQL databases with mysqldump   * export MySQL databases with mysqldump
     * [[https://www.digitalocean.com/community/tutorials/how-to-migrate-a-mysql-database-between-two-servers|Migrate MySQL database to new server]]     * [[https://www.digitalocean.com/community/tutorials/how-to-migrate-a-mysql-database-between-two-servers|Migrate MySQL database to new server]]
Line 49: Line 64:
   * 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]]
- 
-Note these installed perl RPMs: 
- 
-''# rpm -qa --qf "%{NAME}\n" | grep -i perl | sort'' 
- 
-<code> 
-ImageMagick-perl 
-perl 
-perl-autodie 
-perl-Array-Diff 
-perl-Array-Unique 
-perl-B-Lint 
-perl-Business-ISBN 
-perl-Business-ISBN-Data 
-perl-Carp 
-perl-CGI 
-perl-Class-ISA 
-perl-common-sense 
-perl-Compress-Raw-Bzip2 
-perl-Compress-Raw-Zlib 
-perl-constant 
-perl-CPAN 
-perl-Data-Dumper 
-perl-DBD-MySQL 
-perl-DBI 
-perl-devel 
-perl-Digest 
-perl-Digest-MD5 
-perl-Digest-SHA 
-perl-Encode 
-perl-Encode-Locale 
-perl-Env 
-perl-Exporter 
-perl-ExtUtils-Install 
-perl-ExtUtils-MakeMaker 
-perl-ExtUtils-Manifest 
-perl-ExtUtils-ParseXS 
-perl-FCGI 
-perl-File-BaseDir 
-perl-File-CheckTree 
-perl-File-DesktopEntry 
-perl-File-Listing 
-perl-File-MimeInfo 
-perl-File-Path 
-perl-File-ReadBackwards 
-perl-File-Slurp 
-perl-File-Temp 
-perl-Filter 
-perl-Font-AFM 
-perl-GD 
-perl-Getopt-Long 
-perl-HTML-Element-Extended 
-perl-HTML-Format 
-perl-HTML-Parser 
-perl-HTML-TableExtract 
-perl-HTML-Tagset 
-perl-HTML-Tree 
-perl-HTTP-Cookies 
-perl-HTTP-Daemon 
-perl-HTTP-Date 
-perl-HTTP-Message 
-perl-HTTP-Negotiate 
-perl-HTTP-Tiny 
-perl-IO-All 
-perl-IO-Compress 
-perl-IO-HTML 
-perl-IO-Socket-IP 
-perl-IO-Socket-SSL 
-perl-IPC-System-Simple 
-perl-JSON 
-perl-JSON-XS 
-perl-libs 
-perl-libwww-perl 
-perl-List-Compare 
-perl-List-MoreUtils 
-perl-Locale-Codes 
-perl-Locale-Maketext 
-perl-local-lib 
-perl-LWP-MediaTypes 
-perl-LWP-Protocol-https 
-perl-macros 
-perl-Module-Pluggable 
-perl-Mozilla-CA 
-perl-Net-Daemon 
-perl-Net-HTTP 
-perl-Net-LibIDN 
-perl-Net-SSLeay 
-perl-Newt 
-perl-parent 
-perl-Parse-Yapp 
-perl-PathTools 
-perl-PlRPC 
-perl-Pod-Checker 
-perl-Pod-Escapes 
-perl-Pod-LaTeX 
-perl-podlators 
-perl-Pod-Parser 
-perl-Pod-Perldoc 
-perl-Pod-Plainer 
-perl-Pod-Simple 
-perl-Pod-Usage 
-perl-Scalar-List-Utils 
-perl-Socket 
-perl-Storable 
-perl-String-CRC32 
-perl-Sys-Syslog 
-perl-Test-Harness 
-perl-Test-Simple 
-perl-Text-ParseWords 
-perl-Text-Soundex 
-perl-Text-Unidecode 
-perl-Thread-Queue 
-perl-threads 
-perl-threads-shared 
-perl-TimeDate 
-perl-Time-HiRes 
-perl-Time-Local 
-perl-Types-Serialiser 
-perl-URI 
-perl-WWW-RobotRules 
-perl-XML-LibXML 
-perl-XML-NamespaceSupport 
-perl-XML-SAX 
-perl-XML-SAX-Base 
-</code> 
  
 Must-Have functionality: Must-Have functionality:
Line 197: Line 87:
   * Working crontabs for each user   * Working crontabs for each user
   * [[python_notes|Install Python 3]]   * [[python_notes|Install Python 3]]
- 
-Contents of /etc/yum.repos.d (CentOS 7): 
-  * adobe-linux-x86_64.repo 
-  * CentOS-Base.repo 
-  * CentOS-CR.repo 
-  * CentOS-Debuginfo.repo 
-  * CentOS-fasttrack.repo 
-  * CentOS-Media.repo 
-  * CentOS-Sources.repo 
-  * CentOS-Vault.repo 
-  * epel.repo 
-  * epel-testing.repo 
-  * google-chrome.repo 
-  * nux-dextop.repo 
- 
----- 
- 
-For a continuation of GNOME2 in CentOS7, use "MATE" 
- 
-  * Best option is to do a "minimal install" and follow [[http://www.45drives.com/wiki/index.php/Installing_MATE_on_CentOS_7|Installing MATE on CentOS 7]] 
- 
-Other info on MATE: 
- 
-  * https://www.centos.org/forums/search.php?keywords=gnome \\ 
-  * https://www.centos.org/forums/viewtopic.php?f=48&t=47271&p=202339&hilit=gnome#p202339 \\ 
-  * http://wiki.centos.org/FAQ/CentOS7 \\ 
-  * https://www.centos.org/forums/ 
-  * https://www.centos.org/forums/viewtopic.php?f=48&t=47670 
-  * http://blog.boeiend.be/?p=125 
  
 Customize MATE Desktop displays Customize MATE Desktop displays
centos_8_migration_notes.txt · Last modified: 2022/06/08 16:03 by juckins