Base Setup
apt update -y
apt upgrade -y
apt install -y build-essential cmake \
curl freetds-bin gcc git \
krb5-user ldap-utils liblzma-dev libbz2-dev \
libffi-dev libncurses5-dev libncursesw5-dev libreadline-dev \
libsasl2-2 libsasl2-modules libsqlite3-dev libssl-dev \
llvm locales lsb-release sasl2-bin sqlite3 \
tk-dev unixodbc vim wget \
xz-utils zlib1g-dev
Compile Python 3.11 From Source
sudo wget https://www.python.org/ftp/python/3.11.9/Python-3.11.9.tgz
tar xzf Python-3.11.9.tgz
cd Python-3.11.9
sudo ./configure --enable-optimizations
make -j 8
sudo make altinstall
python3.11 --version
Cuda && GPU Driver
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin
sudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget https://developer.download.nvidia.com/compute/cuda/12.5.0/local_installers/cuda-repo-ubuntu2204-12-5-local_12.5.0-555.42.02-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu2204-12-5-local_12.5.0-555.42.02-1_amd64.deb
sudo cp /var/cuda-repo-ubuntu2204-12-5-local/cuda-*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-get -y install cuda-toolkit-12-5
TEST Valid
GPU
NGINX
apt install nginx -y