0
0
1
| 1 | hello |
| 1 | hello |
[#ALBS.md]
[#KOJI.md]
| 1 | #!/bin/sh |
| 2 | # Hardened VPS/Dedicated Server AI Suite Installer for AlmaLinux 9 |
| 3 | # NO PIPED CURL | SH - NATIVE SECURED ARCHITECTURE ONLY |
| 4 | |
| 5 | set -e |
| 6 | |
| 7 | # Visual formatting anchors |
| 8 | INFO="[\033[0;34m INFO \033[0m]" |
| 9 | SUCCESS="[\033[0;32m SUCCESS \033[0m]" |
| 10 | ERROR="[\033[0;31m ERROR \033[0m]" |
apt install -yy curl apt-transport-https gnupg sudo wget
echo "deb [signed-by=/etc/apt/trusted.gpg.d/elasticsearch.gpg] https://artifacts.elastic.co/packages/7.x/apt stable main" | tee /etc/apt/sources.list.d/elastic-7.x.list >/dev/null
sed -i 's|enp3s0|eth0|g' /etc/netplan/*.yaml
sed -i 's|enp3s0|eth0|g' /etc/udev/rules.d/70-persistent-net.rules
sed -i 's/#GRUB_HIDDEN_TIMEOUT=0/GRUB_HIDDEN_TIMEOUT=0/' /etc/default/grub
sed -i 's/\(GRUB_CMDLINE_LINUX_DEFAULT=".*\)"/\1 net.ifnames=0 biosdevname=0"/' /etc/default/grub
dnf config-manager --enable crb
dnf install -y epel-release
passwd
apt update && apt upgrade -yy && apt dist-upgrade -yy && sleep 5 && reboot
passwd
apt install -yy sudo bash bash-completion libtiff-tools ghostscript wget curl lame festival flite espeak-ng-espeak
sudo su - && cd /root && \
yum update -y --allowerasing --nogpgcheck --skip-broken && reboot
curl -q -LSsf https://repo.almalinux.org/elevate/testing/elevate-testing.repo -o /etc/yum.repos.d/elevate-testing.repo && rpm --import https://repo.almalinux.org/elevate/RPM-GPG-KEY-ELevate
yum makecache