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 Virtual Box running CentOS8 Stream notes if dnf updates are slow

Fix php for phpmyadmin:

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

Fix php.ini from known good config

Configure $HOME/.vimrc as the following:

autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
# 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:

For migrating a system from a different OS, take note of this info first:


Below is copied from CentOS 7 Migration Notes so modify as needed.

Must-Have functionality:

Customize MATE Desktop displays

Change setting on screensaver

System Monitor (needs mate-system-monitor and mate-applets RPMs):


Database work:

Setup ddclient:

Setup duckdns:

Setup ydns:

Firewall notes:

rsync /var/www/html/

Restore and test crons

Backup /etc/selinux/config and change from enforcing to permissive

Restore /etc/hosts from previous machine as needed

Then, edit the network connections and make sure the "Ethernet" tab for the active connection, such as enp0s3, has the "Device" set to that interface. Reboot to test.

Download sample .png, .gif, .jpg images and test /usr/bin/display for any errors

Install Oracle Java (note, this is not the default CentOS, it will not auto-update)

Install X2Go

Restore Thunderbird profile

Restore Firefox profile

Restore VirtualBox and all machines

Test ASMAD for processing end-to-end

SSH issues

Update GRUB and splash screen

GRUB_CMDLINE_LINUX_DEFAULT="video=1024x768"
GRUB_GFXMODE=1024x768
GRUB_GFXPAYLOAD_LINUX=keep

Set default GRUB entry

If GRUB2 no longer finds other OS to boot (such as Windows 10) use SourceForge Boot Repair Disk

Install ClamAV

Set up local printer(s)

Firewall Notes

firewall-cmd --get-active-zones
firewall-cmd --zone=public --add-port=8080/tcp --permanent
firewall-cmd --reload

Managing runlevel settings

# systemctl isolate graphical.target
# systemctl set-default graphical.target
# systemctl isolate multi-user.target
# systemctl set-default multi-user.target

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.