-
Notifications
You must be signed in to change notification settings - Fork 4
AlmaLinux9
This is like the CentOS7 wiki but for AlmaLinux9
Before you run dnf update, you should probably stop services, e.g. systemctl stop sirepo_jupyterhub, systemctl stop vm_devbox_<user>, and systemctl sirepo_job_supervisor.
Then inside screen/emacs: update and reboot:
dnf update -y
rsconf_service_no_restart=1 rsc
# vagrant may need updating
su - vagrant -c 'vagrant plugin expunge --reinstall'
rebootAfter reboot, remove the old kernel:
dnf remove -y $(rpm -qa | grep ^kernel-5 | grep -v $(uname -r))Edit /etc/dhcpd/dhcpd.conf on the dhcpd server and restart:
# Add next-server and filename lines (search in file). Make sure to add correct filename for bios vs uefi boot
systemctl restart dhcpdOn target machine select "PXE" under power settings for next boot and then reboot.
On host, dnf update and change root password:
passwd
dnf update -yOn rsconf server:
rsop run host init <host>This command will output some text that is copied to a shell on the freshly installed machine. The output looks something like:
install -m 600 /dev/stdin /root/.netrc <<'EOF'
machine <snip>
EOF
curl <snip>This will run rsconf on the machine and ask you to reboot (to turn off ipv6). Then you will need to return the same curl command to finish the installation.
After reboot on host:
# might do nothing
dnf remove $(rpm -qa | grep ^kernel-5 | grep -v $(uname -r))
curl https://<rsconf_server> | install_server=https://<rsconf_server> bash
exit
ssh <host>
cat /dev/null > ~/.bash_history
exitLinode uses a network helper that creates ifcfg scripts. Once the network is configured with NetworkManager, do this:
cd /etc/sysconfig/network-scripts
mv ifcfg-eth0 ifcfg-eth0-distTurn off the Network Helper (if is on) for the Linode and then reboot to make sure the network config works