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
rocky_linux_9_migration_notes [2024/05/13 14:44] juckinsrocky_linux_9_migration_notes [2025/01/03 21:01] (current) juckins
Line 1: Line 1:
 ==== Rocky Linux 9 Migration Notes ==== ==== Rocky Linux 9 Migration Notes ====
  
-----+__2024-11-25__
  
 +Old news, but LibreOffice no longer supported by RedHat.  Get the latest LibreOffice from https://www.libreoffice.org/download/download-libreoffice/ 
  
 +Unpack the tar and verify you see individual RPMs.  Then:
 +
 +  dnf localinstall *.rpm
 +  
 +You can then start an application like this:
 +
 +  libreoffice24.8 --calc test.csv
 +  
 +Make a .bashrc alias for shortcuts.
 +
 +__2024-11-21__
 +
 +Upgrade to Rocky Linux 9.5:
 +
 +Had to run the following due to package problems (which will break 'vlc')
 +
 +  dnf remove compat-ffmpeg4 ffmpeg-libs vlc 
 +  dnf update
 +  dnf install vlc gstreamer1-plugin-openh264
 +  
 +Then security cameras running vlc and totem worked correctly.
 +
 +__2024-05-13__
 +
 +Upgrade to Rocky Linux 9.4:
 +
 +Had to run ''dnf remove gnome-applets'' to allow upgrade to proceed. 
 +
 +After the upgrade the test Rocky Linux 9.3 VM would not start X with Xfce.  Tried a bunch of things like reinstalling all RPMs, getting list of matching RPMs against another VM that upgraded OK but X still would not start.  ''/var/log/messages'' just kept showing the X server was crashing.  
 +
 +Discovered that if you select the "Standard (Wayland display server)" option on the login page, let the system start its display and log out, then you can login with Xfce successfully.  
 +
 +Very odd but that seems to be the workaround for this upgrade.
 +
 +----
  
 NOTE 1: The fresh install instructions below were tested on Rocky Linux 9.3 NOTE 1: The fresh install instructions below were tested on Rocky Linux 9.3
Line 35: Line 71:
  
   * Since Xfce will be installed by running the bash script noted above, you can copy in pre-existing configs from another machine that already has Xfce installed.   * Since Xfce will be installed by running the bash script noted above, you can copy in pre-existing configs from another machine that already has Xfce installed.
-    * Copy files in ''~/.config/xfce4/'' from another pre-configured machine to this machine +    * Log out of the target machine 
-    * ''cd .config/xfce4; rsync -avzn --delete --progress . XX.XX.XX.XX:~/.config/xfce4/''    +    * Copy files in ''~/.config/xfce4/'' from another pre-configured machine to the target machine 
 +    * ''cd .config/xfce4; rsync -avzn --delete --progress . XX.XX.XX.XX:~/.config/xfce4/''   
 +    * Copy files in ''~/.config/Thunar/'' from another pre-configured machine to the target machine 
 +    * ''cd .config/Thunar; rsync -avzn --delete --progress . XX.XX.XX.XX:~/.config/Thunar/'' 
 +    * Reboot the target machine
     * See {{:xfce.png?linkonly|Xfce Desktop image 1}} or {{:xfce_desktop_layout.png?linkonly|Xfce Desktop image 2}} for suggested icons, placement, etc.     * See {{:xfce.png?linkonly|Xfce Desktop image 1}} or {{:xfce_desktop_layout.png?linkonly|Xfce Desktop image 2}} for suggested icons, placement, etc.
       * [[https://itsfoss.com/install-themes-xfce-xubuntu/|Notes for installing additional Xfce themes]]       * [[https://itsfoss.com/install-themes-xfce-xubuntu/|Notes for installing additional Xfce themes]]
Line 42: Line 82:
   * Disable screensaver and power management   * Disable screensaver and power management
   * If necessary, disable WiFi LAN connection as root: ''nmcli radio wifi off''   * If necessary, disable WiFi LAN connection as root: ''nmcli radio wifi off''
 +  * If necessary, keep WiFi LAN enabled but install Intel WiFi drivers if needed
 +    * ''dnf install iwl6000g2b-firmware.noarch''
 +    * Reboot and enable Wifi in task bar (the WiFi choice may be grayed out at first). Check that the wifi switch on the laptop needs to be turned on (keyboard toggle).
 +    * http://linuxwireless.sipsolutions.net/en/users/Drivers/iwlwifi/
 +    * https://www.intel.com/content/www/us/en/support/articles/000005511/wireless.html
   * [[https://unix.stackexchange.com/questions/152691/how-to-disable-beep-sound-in-linux-centos-7-command-line|Disable bell]]   * [[https://unix.stackexchange.com/questions/152691/how-to-disable-beep-sound-in-linux-centos-7-command-line|Disable bell]]
  
Line 126: Line 171:
     * Check httpd logs for errors     * Check httpd logs for errors
   * Restore and test crons for each user   * Restore and test crons for each user
 +    * At the top of each user's cron file, add something like ''[email protected]'' so that emails sent to localhost are actually delivered to the sys admin
 +      * Alternatively, look at /etc/aliases and have ''root'' send email to my actual email address
     * 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     * Modify ''/etc/environment'' to include ''LC_TIME="en_GB.UTF-8"'' for 24-hour clock used by cron jobs
Line 159: Line 206:
   * Check any remaining ''/etc/yum.repos.d/*'' configuration setup   * Check any remaining ''/etc/yum.repos.d/*'' configuration setup
     * For example, [[https://www.speedtest.net/apps/cli|Ookla Speedtest CLI]]     * For example, [[https://www.speedtest.net/apps/cli|Ookla Speedtest CLI]]
 +      * If Ookla becomes a graphical output, might need to consider ''dnf install 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]]   * Install [[https://github.com/pwsafe/pwsafe/releases?q=non-windows&expanded=true|PasswordSafe for Linux]]
Line 186: Line 234:
   * Fix date [[https://unix.stackexchange.com/questions/553679/set-clock-to-24-hour-format-for-all-users|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]]
     * Setting should be in .bashrc     * Setting should be in .bashrc
 +  * If you have slow dnf updates, add these 2 lines to '/etc/dnf/dnf.conf': 
 +    * ''fastestmirror=1''
 +    * ''max_parallel_downloads=8''
  
 __Other Notes__ __Other Notes__
rocky_linux_9_migration_notes.1715625876.txt.gz · Last modified: 2024/05/13 14:44 by juckins