BlueOnyx.md
· 1.6 KiB · Markdown
Raw
## Disable selinux
```shell
sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
```
## Install epel repo
```
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
```
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
```
## Default login
Username: root
Password: blueonyx
Disable selinux
sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
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
sleep 5 && reboot
fi
Install needed apps
dnf install -y git wget curl certbot python3-certbot-dns-rfc2136
Install incus
dnf copr enable neil/incus &&
dnf install 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
if curl -q -fsSL https://get.docker.com | sh; then
reboot
fi
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
#
disable firewall
systemctl disable --now firewalld
mandatory reboot
reboot
Install system scripts
Default login
Username: root
Password: blueonyx