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/10 14:28] juckinsrocky_linux_9_migration_notes [2024/01/11 11:21] 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 127: Line 123:
   * Restore and test crons for each user   * Restore and test crons for each user
     * Check that each cron job runs and the specified log directory exists     * Check that each cron job runs and the specified log directory exists
 +    * Modify ''/etc/environment'' to include ''LC_TIME="en_GB.UTF-8"'' for 24-hour clock used by cron jobs
   * 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 149:
     * ''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 156:
     * 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 170:
     * 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'' 
rocky_linux_9_migration_notes.txt · Last modified: 2024/05/14 13:18 by juckins