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 2: Upgrading Rocky Linux 9.2 to 9.3 in late November 2023 resulted in ImageMagick errors. Tried to remove ImageMagick*, then upgrade 9.2 to 9.3, and then reinstall ImageMagick* but the same error occurs. Fix was to disable /etc/yum.repos.d/epel-next.repo and then reinstall ImageMagick*.
NOTE 3: To migrate from Rocky Linux 8.x to 9, try these steps.
The notes below have been combined from CentOS 8 Migration Notes and CentOS 7 Migration Notes.
It is based on the Xfce Desktop Environment. MATE is available, see notes at bottom of the page.
Before Starting
/etc/hosts
/etc/samba/smb.conf
/var/lib/samba/private/passdb.tbd
/var/lib/samba/private/secrets.tbd
/etc/vsftpd/*
Installation
/etc/selinux/config
and change from enforcing to permissive. Reboot.~/.config/xfce4/
from another pre-configured machine to this machinecd .config/xfce4; rsync -avzn –delete –progress . XX.XX.XX.XX:~/.config/xfce4/
nmcli radio wifi off
dnf install iwl6000g2b-firmware.noarch
mate-user-admin
is a graphical admin tool (old tool was system-config-users)/etc/httpd/conf/httpd.conf
(and all backup versions) from previous machine/etc/php.ini
file from previous machinefirewall-config
to clone rules from previous machinefirewall-cmd –zone=public –add-service=http –permanent
firewall-cmd –zone=public –add-service=https –permanent
/etc/fail2ban/jail.local
to ban for longer than default of 1 hour/var/log/fail2ban.log
outputsystemctl enable fail2ban
systemctl restart fail2ban
-all-databases
option and is an error in link abovepip install dictor
and pip install astral
smbpasswd -a USER
(then enter password at next prompt)testparm -v
setsebool -P allow_ftpd_full_access on
systemctl restart vsftpd
systemctl enable vsftpd
dnf -y install ddclient
/etc/ddclient.conf
for configs from previous machine/var/www/html/
[email protected]
so that emails sent to localhost are actually delivered to the sys adminroot
send email to my actual email address/etc/environment
to include LC_TIME="en_GB.UTF-8"
for 24-hour clock used by cron jobs$HOME/.local/share/remmina
and $HOME/.config/remmina
systemctl restart cups
Foomatic/hl1250 en
lpstat -p -d
and/or set it with lpoptions -d PRINTER_NAME
lpstat -d
should now show the new printer as the default/usr/bin/sunwait -v sun down -0:01:00 33.640411N 84.419853W
/etc/yum.repos.d/*
configuration setupdnf install speedtest-cli
dnf localinstall passwordsafe-fedora37-1.16.rpm
cd ~/.local/share/keyrings; mv login.keyring login.keyring.IGNORE
Post Installation
alpine
to check email from crons that indicate any errors or failuresfastestmirror=1
max_parallel_downloads=8
Other Notes
MATE is now available. See MATE Documentation
dnf -y install mate-system-monitor
Known issues