Installing Free Red Hat Enterprise Linux
Download and Bare Metal Installation
Start by creating a free RedHat Account and download the latest Version of RHEL from their download page. In my case this was RHEL 8.4 and I choose the ~9GB (offline?) image. I will then use Balena Etcher to "burn" the image onto a USB Stick or SD card. Now boot your server with the installation medium inserted. Press F8 (Read the BIOS info - it might be a different key for you), select your installation medium as primary boot partition and run the installer.
As part of the installation process you will be asked to activate your version of RHEL - use your free account login and select the online verification.
Installing Necessities
Enable EPEL repo for RHEL 8 server or desktop
sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo yum update
htop
yum search htop
sudo yum install htop
git
sudo yum install git
Node
sudo dnf module install nodejs:14
OH-MY-ZSH
sudo yum install zsh -y
chsh -s $(which zsh)
The regular way would be to run the shell script:
sh -c “$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)”
But for some reason this did not work for me. I downloaded the install.sh
file and made it executable and run it directly:
chmod +x install.sh
sudo sh install.sh
Change your Settings:
cd ~ && nano .zshrc
e.g. change your ZSH theme:
ZSH_THEME="gentoo"
source .zshrc
Docker CE
sudo dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
sudo dnf install --nobest --allowerasing docker-ce
Again I ran into some issues here and had to manually download https://download.docker.com/linux/centos/docker-ce.repo
and move it to /etc/yum.repos.d/
before I was able to install docker-ce.
sudo systemctl enable docker.service
sudo systemctl start docker.service
service docker status
docker run hello-world
Snapd
sudo yum install snapd
sudo systemctl enable --now snapd.socket
KeePass
sudo snap install keepassxc
VS Code
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install --classic code