Last active 1747657096

BlueOnyx

Revision b395225d40abb4a83a1fc000bfcedd4c8f3aa75f

BlueOnyx.md Raw

Disable selinux

sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config && reboot 

Install blueonyx

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

Install epel repo

dnf install -y epel-release
dnf config-manager --enable crb

Install vnstat

yum install -y vnstat && systemctl enable --now vnstat

Update the system

dnf update -y && reboot

Install kernel-ml

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 
  yum update -y && sleep 5 && reboot
fi

Install needed apps

dnf install -y git wget curl certbot python3-certbot-dns-rfc2136

Install incus

dnf copr enable -y yneil/incus
dnf install -y incus incus-tools

Setup incus

echo "0:1000000:1000000000" | sudo tee /etc/subuid /etc/subgid >/dev/null
systemctl enable --now incus
incus admin init && reboot

Install docker

sudo dnf config-manager -y --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
sudo dnf install -y docker-ce docker-ce-cli containerd.io
sudo systemctl enable --now docker && reboot

disable firewall

systemctl disable --now firewalld

mandatory reboot

reboot 

Install system scripts

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