#!/bin/bash

echo " deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-security main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-proposed main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-security main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-proposed main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse" > /etc/apt/sources.list
apt update -y
apt install make bzip2 gcc g++ -y
mkdir /root/nvidia/
wget -P /root/nvidia http://139.159.96.26/nvidia_driver/nvidia-12.4/NVIDIA-Linux-x86_64-550.107.02.run 
wget -P /root/nvidia http://139.159.96.26/nvidia_driver/nvidia-12.4/cuda_12.4.1_550.54.15_linux.run
wget -P /root/nvidia http://139.159.96.26/work_shell/nvidia_on.sh
chmod 777 -R /root/nvidia/
cd /root/nvidia
