Back to main index

Install RockyLinux-10

Time and Date: optional NTP servers in Germany.

0.de.pool.ntp.org
1.de.pool.ntp.org
2.de.pool.ntp.org
3.de.pool.ntp.org

I use dnf priority to isolate the core system from 3rd party software.
It means a 3rd party package cannot upgrade a baseos package.
Here is my /etc/yum.repos.d/rocky.repo

[baseos]
name=Rocky Linux $releasever - BaseOS
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-$releasever$rltype
gpgcheck=1
enabled=1
countme=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-10
priority=10

The rule is that if a [repository] has "enabled=1" then add "priority=X" to establish it's hierarchy among other repos.
The hierarchy usually is:
priority=10 for [baseos]
priority=20 for [appstream]
priority=20 for [crb]
priority=30 for [extras]
priority=40 for [epel]
priority=50 for [google-chrome]
priority=90 for [fedora]

Install epel repo, the Fedora Special Interest Group (with priority=40).

dnf install epel-release

Install Gnome Desktop

dnf group install Workstation 

systemctl set-default graphical.target
systemctl enable gdm.service

# Create $HOME template directories, e.g. Documents, Downloads, Music, Trash as $HOME/.local/share/Trash
# Run as regular user
xdg-user-dirs-update

Create /etc/yum.repos.d/google-chrome.repo

[google-chrome]
name=google-chrome
baseurl=https://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl.google.com/linux/linux_signing_key.pub
priority=50

Install software from RESF repos

dnf install emacs thunderbird google-chrome-stable
dnf group install "Development Tools"

Add flathub and use Gnome Software to add more programs.

Ristretto, Gimp, Evince, File Roller, LibreOffice, Vlc, Meld, FileZilla

After reboot adjust few settings

Settings -> Displays -> Unknonw Display : disable it to avoid hidden window going offscreen.
Settings -> Power -> Power Saving -> Screen Blank:never, Automatic Suspend:Off, Power Button Behavior:Power Off 

Install KVM.
For setting up KVM with a Bridge Interface read kvm-centos.
For setting up KVM with NAT forwarding (aka "virtual networks") read libvirt networking.
For setting up KVM in general on rockylinux-10 read kvm-on-rocky-linux-10.

dnf groupinstall "Virtualization Host"
dnf groupinstall "Development Tools"
dnf install virt-install virt-manager virt-top virt-viewer libguestfs-tools net-tools bridge-utils wget curl

usermod -aG libvirt $USER
usermod -aG kvm $USER

systemctl start libvirtd
systemctl enable libvirtd

lsmod | grep kvm

virsh net-list --all

brctl show

# Setup host NAT forwarding
vi /etc/sysctl.conf
net.ipv4.ip_forward = 1

Install VirtualBox-7.1

dnf install install kernel-devel kernel-headers gcc gcc-c++ glibc make bzip2 \
                    dkms perl elfutils-libelf-devel libX11-devel libXt libXmu

curl http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo -o /etc/yum.repos.d/virtualbox.repo

vi /etc/yum.repos.d/virtualbox.repo
# add priority=50

dnf install VirtualBox-7.1
VBoxManage -v

cd /tmp
curl -O http://download.virtualbox.org/virtualbox/7.1.12/Oracle_VirtualBox_Extension_Pack-7.1.12.vbox-extpack
VBoxManage extpack install Oracle_VirtualBox_Extension_Pack-7.1.12.vbox-extpack

# agree the license terms
Do you agree to these license terms and conditions (y/n)? y

VBoxManage list extpacks

# if the modules need to be rebuilt, then usually run
/sbin/vboxconfig

# VirtualBox is in conflict with QEMU/KVM and both cannot run at the same time.
# Remove kvm modules before starting a VM image.
lsmod | grep kvm
rmmod kvm_intel
rmmod kvm

Add own RHEL repository.

[vasilian]
name=Vasilian packages for RHEL
baseurl=ftp://vasilian.net/RHEL/$releasever/extras/$basearch/
enabled=1
gpgcheck=1
gpgkey=ftp://vasilian.net/RHEL/$releasever/RPM-GPG-KEY-vasilian
protect=0
priority=50

Install some popular fonts.

dnf install win10-fonts mac-fonts



Back to main index