centos_7_migration_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
centos_7_migration_notes [2021/05/03 18:10] – juckins | centos_7_migration_notes [2025/03/20 19:58] (current) – ↷ Links adapted because of a move operation juckins | ||
---|---|---|---|
Line 2: | Line 2: | ||
RHEL5/6/7 Cheatsheet: {{: | RHEL5/6/7 Cheatsheet: {{: | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | |||
+ | 14 Dec 2023 (for Dell XPS 8930 tower): | ||
+ | * Updated kernel from kernel-3.10.0-1160.102.1.el7.x86_64 to kernel-3.10.0-1160.105.1.el7.x86_64 | ||
+ | * Attempted to rebooted machine but after the BIOS splash screen, only got a blank screen with blinking cursor in upper-left corner | ||
+ | * Restarted machine using the power button but had same condition | ||
+ | * Restarted once again but at the BIOS splash screen selected F12 | ||
+ | * For boot options, chose Boot from Hard Drive and list of kernels appeared | ||
+ | * Chose latest kernel and machine was OK | ||
+ | * After machine was running, did another restart and machine powered up with no issues | ||
+ | |||
+ | 23 Oct 2023 (for Dell XPS 8930 tower) | ||
+ | * Updated kernel from kernel-3.10.0-1160.99.1.el7.x86_64 to kernel-3.10.0-1160.102.1.el7.x86_64 and then machine would not boot, just blank screen with blinking cursor in upper-left corner | ||
+ | * Powered off machine, unplugged the USB peripheral cables | ||
+ | * Unplugged power cable for 30 seconds | ||
+ | * Rebooted and used F12 to go into BIOS Boot Options | ||
+ | * Tried to boot to Hard Drive but that immediately failed with error 'press any key to reboot' | ||
+ | * After that, the machine booted up OK and the normal selection of kernels appeared | ||
Other fixes: | Other fixes: | ||
Line 13: | Line 33: | ||
* '' | * '' | ||
* Updated / | * Updated / | ||
- | * '' | + | |
- | | + | |
- | * Other commands to check status of mariadb server: | + | |
- | * '' | + | thread_cache_size = 818 |
+ | thread_handling = pool-of-threads | ||
+ | |||
+ | Then do: '' | ||
+ | |||
+ | * Other commands to check and modify on mariadb server: | ||
* '' | * '' | ||
- | * '' | + | * '' |
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * See https:// | ||
* Also check python3 coding best practices for opening/ | * Also check python3 coding best practices for opening/ | ||
+ | * I have noted that opening and closing the database connection only once in the python script helps reduce database " | ||
* [[https:// | * [[https:// | ||
* import MySQLdb | * import MySQLdb | ||
Line 405: | Line 435: | ||
* [[Yum installer bash script (CentOS7)|Copy this source to a .bash and run as root]] | * [[Yum installer bash script (CentOS7)|Copy this source to a .bash and run as root]] | ||
- | [[install_configure_cpan|CPAN packages]] to install: | + | [[perl_install_configure_cpan|CPAN packages]] to install: |
* <color # | * <color # | ||
* [[http:// | * [[http:// | ||
Line 423: | Line 453: | ||
* Yet another option is to use modules that are in a repository | * Yet another option is to use modules that are in a repository | ||
- | [[http:// | + | <del>[[http:// |
[[http:// | [[http:// | ||
Line 430: | Line 460: | ||
* [[http:// | * [[http:// | ||
- | [[centos_php7.2_upgrade|Upgrade PHP to version 7.2]] | + | <del>[[centos_php7.2_upgrade|Upgrade PHP to version 7.2]]</ |
+ | |||
+ | [[https:// | ||
Migrate / | Migrate / | ||
Line 458: | Line 490: | ||
Database work: | Database work: | ||
+ | * Update / | ||
+ | * '' | ||
+ | * '' | ||
* Backup /etc/my.cnf | * Backup /etc/my.cnf | ||
* Add this line under [mysqld] | * Add this line under [mysqld] | ||
Line 480: | Line 515: | ||
* systemctl start mariadb.service | * systemctl start mariadb.service | ||
* systemctl enable mariadb.service | * systemctl enable mariadb.service | ||
- | * mysql DATABASE -h localhost -u USER -p' | + | * mysql -u USER -p' |
+ | * CREATE | ||
+ | * Now logout of command line | ||
+ | * mysql DATABASE_NAME | ||
* Note CentOS7 comes with PHP 5.4 and latest version of phpMyAdmin that will work is 4.4.x | * Note CentOS7 comes with PHP 5.4 and latest version of phpMyAdmin that will work is 4.4.x |
centos_7_migration_notes.1620079832.txt.gz · Last modified: 2021/05/03 18:10 by juckins