Created
July 9, 2021 01:51
-
-
Save jigangkim/86ecfe81ed42513052179fabec79057b to your computer and use it in GitHub Desktop.
Pop OS quick setup script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Misc | |
sudo apt update | |
sudo apt install guake | |
sudo apt install openssh-server | |
#sudo apt install patchelf | |
#sudo apt-get install -y python3-dev libasound2-dev | |
# NVIDIA CUDA & CUDNN | |
sudo apt install system76-cudnn-11.2 | |
sudo update-alternatives --config cuda | |
# Install xrdp | |
cd ~/Downloads | |
wget https://www.c-nergy.be/downloads/xRDP/xrdp-installer-preview-2021.zip | |
unzip xrdp-installer-preview-2021.zip | |
chmod +x ./xrdp-installer-preview-2021.sh | |
./xrdp-installer-preview-2021.sh | |
xrdp -v | |
systemctl status xrdp.service | |
systemctl status xrdp-sesman.service | |
# Install pritunl | |
sudo tee /etc/apt/sources.list.d/pritunl.list << EOF | |
deb http://repo.pritunl.com/stable/apt focal main | |
EOF | |
sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list << EOF | |
deb https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse | |
EOF | |
sudo apt update | |
sudo apt install gnupg | |
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add - | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 7568D9BB55FF9E5287D586017AE645C0CF8E292A | |
sudo apt update | |
sudo apt install pritunl mongodb-org | |
sudo systemctl start pritunl mongod | |
sudo systemctl enable pritunl mongod | |
sudo pritunl setup-key | |
sudo pritunl default-password | |
# Mujoco dependencies | |
sudo apt update | |
sudo apt install libosmesa6-dev libgl1-mesa-glx libglfw3 | |
# Install miniconda | |
cd ~/Downloads | |
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh | |
bash Miniconda3-latest-Linux-x86_64.sh | |
# Install jupyter-notebook | |
source ~/.bashrc | |
conda activate base | |
which python | |
which pip | |
pip install notebook==6.0.3 | |
jupyter-notebook --generate-config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment