## Disable selinux ```shell sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config && reboot ``` ## Install epel repo ```shell dnf install -y epel-release dnf config-manager --enable crb ``` ## Install vnstat ```shell yum install -y vnstat && systemctl enable --now vnstat ``` ## Update the system ```shell dnf update -y && reboot ``` ## Install kernel-ml ```shell rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org yum install -y https://www.elrepo.org/elrepo-release-9.el9.elrepo.noarch.rpm yum --enablerepo=elrepo-kernel install -y kernel-ml if curl -q -LSsf "https://github.com/casjay-base/centos/raw/main/root/.local/bin/run-os-update" | bash -s -- --grub; then sleep 5 && reboot fi ``` ## Install needed apps ```shell dnf install -y git wget curl certbot python3-certbot-dns-rfc2136 ``` ## Install incus ```shell dnf copr enable neil/incus && dnf install incus incus-tools ``` ## Setup incus ```shell echo "0:1000000:1000000000" | sudo tee /etc/subuid /etc/subgid >/dev/null systemctl enable --now incus incus admin init && reboot ``` ## Install docker ```shell if curl -q -fsSL https://get.docker.com | sh; then reboot fi ``` ## Install blueonyx ```shell if curl -q -LSsf http://devel.blueonyx.it/pub/5211R.rpm -o /tmp/blueonyx.rpm; then if yum localinstall -y /tmp/blueonyx.rpm;then yum clean all if yum update -y && yum groupinstall -y blueonyx; then sh /usr/sausalito/scripts/initServices.sh fi fi fi # ``` ## disable firewall ``` systemctl disable --now firewalld ``` ## mandatory reboot ```shell reboot ``` ## Install system scripts ```shell export SCRIPTS_DIR="/usr/local/share/CasjaysDev/scripts" if [ -d "$SCRIPTS_DIR" ]; then echo "updating $SCRIPTS_DIR" git -C "$SCRIPTS_DIR" pull -q else echo cloning "https://github.com/casjay-dotfiles/scripts >$SCRIPTS_DIR" && git clone -q https://github.com/casjay-dotfiles/scripts "$SCRIPTS_DIR" fi && eval "$SCRIPTS_DIR/install.sh" && reboot ``` ## Default login Username: root Password: blueonyx