Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


rocky_linux_9_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
rocky_linux_9_migration_notes [2024/01/07 10:59] juckinsrocky_linux_9_migration_notes [2024/01/10 20:52] juckins
Line 14: Line 14:
   * Get inventory of users (see /home)   * Get inventory of users (see /home)
     * Become familiar with what each one does and the crons they run     * Become familiar with what each one does and the crons they run
-  * Ensure all scripts make their own log file directory 
-    * ''$log_dir = "/var/tmp/check_disk_space";'' 
-    * ''mkdir ("$log_dir", 0755);'' 
   * Copy the following to external hard drive or other machine for restoration after upgrade   * Copy the following to external hard drive or other machine for restoration after upgrade
     * All users $HOME directories     * All users $HOME directories
     * Ensure crons are in each user's $HOME/crontab directory     * Ensure crons are in each user's $HOME/crontab directory
-    * Log files from /var/tmp/ 
     * ''/etc/hosts''     * ''/etc/hosts''
     * ''/etc/samba/smb.conf''     * ''/etc/samba/smb.conf''
Line 49: Line 45:
     * Copy over non-hidden files/directories first     * Copy over non-hidden files/directories first
       * You can use rsync with the option to [[rsync_ignore_hidden_files|ignore hidden files]]       * You can use rsync with the option to [[rsync_ignore_hidden_files|ignore hidden files]]
-    * Then rsync other hidden directories in each user's $HOME one-by-one+    * Then rsync other hidden directories in each user's $HOME one-by-one, taking only what is needed
  
   * [[https://www.linuxteck.com/how-to-install-apache-on-rocky-linux/|Install Apache on Rocky Linux 9]]   * [[https://www.linuxteck.com/how-to-install-apache-on-rocky-linux/|Install Apache on Rocky Linux 9]]
Line 81: Line 77:
     * Merge in config.inc.php from previous machine     * Merge in config.inc.php from previous machine
     * Clear local browser history, then test      * Clear local browser history, then test 
-    * To create the phpmyadmin database, use the "Import" function and browse to the sql/create_tables.sql script (do this as root)+    * To create the phpmyadmin database, use the "Import" function and browse to the sql/create_tables.sql script (do this as root db user)
     * To move over users, export from phpMyAdmin on old machine and cut-past into the Import function on new machine.       * To move over users, export from phpMyAdmin on old machine and cut-past into the Import function on new machine.  
       * If problematic, save to a .sql file locally and use the Import function.       * If problematic, save to a .sql file locally and use the Import function.
Line 98: Line 94:
  
   * [[python_notes|Run through Python/PIP configuration]]   * [[python_notes|Run through Python/PIP configuration]]
-    * For the non-root user needing it, run ''python3 -m pip install dictor''+    * For the non-root user needing it, run ''pip install dictor'' and ''pip install astral''
  
   * Install miniconda3 (see [[python_virtual_environments|Python Virtual Environments]])   * Install miniconda3 (see [[python_virtual_environments|Python Virtual Environments]])
Line 129: Line 125:
   * Check network connections and make sure active connection comes up at boot time   * Check network connections and make sure active connection comes up at boot time
   * Restore Thunderbird profile   * Restore Thunderbird profile
-  * Restore Firefox profile 
   * [[https://www.virtualbox.org/wiki/Linux_Downloads|Install VirtualBox]]   * [[https://www.virtualbox.org/wiki/Linux_Downloads|Install VirtualBox]]
     * Migrate/import VirtualBox machines [[https://4sysops.com/archives/move-virtualbox-vm-to-other-hosts/|using these notes]]     * Migrate/import VirtualBox machines [[https://4sysops.com/archives/move-virtualbox-vm-to-other-hosts/|using these notes]]
Line 153: Line 148:
     * ''lpstat -d'' should now show the new printer as the default     * ''lpstat -d'' should now show the new printer as the default
   * Local RPMs   * Local RPMs
-    * NVIDIA +    * perl-Math-Round
-    * passwordsafe  +
-      * Consider [[https://keepassxc.org/|KeepassXC]] with [[https://infosec.press/ktneely/migrating-passwordsafe-to-keepassxc|migration notes]] +
-      * KeepassDX works on mobile phones +
-      * KeepassXC can sync with KeepassDX using SyncThing (see  [[https://www.reddit.com/r/KeePass/comments/plmgb6/keepassxc_keepassdx_android_sync_guide_a_complete/| this post]] and [[https://www.reddit.com/r/technology/comments/llpqqg/comment/gnrxmmb/|this post]])+
     * Slack     * Slack
     * sunwait     * sunwait
Line 164: Line 155:
     * For example, [[https://www.speedtest.net/apps/cli|Ookla Speedtest CLI]]     * For example, [[https://www.speedtest.net/apps/cli|Ookla Speedtest CLI]]
   * Mount /disk2 (see [[adding_a_second_hard_drive]])   * Mount /disk2 (see [[adding_a_second_hard_drive]])
-  * Install [[https://github.com/pwsafe/pwsafe/releases?q=non-windows&expanded=true|PasswordSafe for Linux]] or see notes about using KeepassXC above+  * Install [[https://github.com/pwsafe/pwsafe/releases?q=non-windows&expanded=true|PasswordSafe for Linux]]
     * See repo at https://sourceforge.net/projects/passwordsafe/files/Linux/     * See repo at https://sourceforge.net/projects/passwordsafe/files/Linux/
     * Use this instead of [[https://gorilla.dp100.com/downloads/|Gorilla password manager]]     * Use this instead of [[https://gorilla.dp100.com/downloads/|Gorilla password manager]]
Line 178: Line 169:
     * Bottom panel 24px with icons at fixed 16px     * Bottom panel 24px with icons at fixed 16px
     * Top panel has these buttons:     * Top panel has these buttons:
-      * Show desktop, separator, calculator, xterm, gedit, chrome, chrome beta, firefox, app finder, file manager, screenshot, keepassxfreerdp, shortcut to security cams, VirtualBox, Remmina+      * Show desktop, separator, calculator, xterm, gedit, chrome, chrome beta, firefox, app finder, file manager, screenshot, password safekeepassxc, shortcut to security cams, VirtualBox, Remmina, XfreeRDP
     * Stop the Keyring popup GUI when starting Chrome (see [[https://unix.stackexchange.com/questions/718489/how-to-fix-login-keyring|this post]])     * Stop the Keyring popup GUI when starting Chrome (see [[https://unix.stackexchange.com/questions/718489/how-to-fix-login-keyring|this post]])
       * ''cd ~/.local/share/keyrings; mv login.keyring login.keyring.IGNORE''        * ''cd ~/.local/share/keyrings; mv login.keyring login.keyring.IGNORE'' 
Line 188: Line 179:
   * As root, use ''alpine'' to check email from crons that indicate any errors or failures   * As root, use ''alpine'' to check email from crons that indicate any errors or failures
   * Cleanup old files in root, my $HOME   * Cleanup old files in root, my $HOME
-  * Fix date to show 24 hour clock +  * Fix date [[https://unix.stackexchange.com/questions/553679/set-clock-to-24-hour-format-for-all-users|to show 24 hour clock]] 
-  Update any gmail filters for sender change+    Setting should be in .bashrc
  
 __Other Notes__ __Other Notes__
rocky_linux_9_migration_notes.txt · Last modified: 2024/05/14 13:18 by juckins