The Steps to prepare the Remote Device and necessary packages for Deep Learning

The local Install

The Steps to prepare the Remote Device and necessary packages for Deep Learning_第1张图片

step 1 select a remote server in AWS

The Steps to prepare the Remote Device and necessary packages for Deep Learning_第2张图片
在这里插入图片描述
The Steps to prepare the Remote Device and necessary packages for Deep Learning_第3张图片

Add 50 GB HDD
The Steps to prepare the Remote Device and necessary packages for Deep Learning_第4张图片
The Steps to prepare the Remote Device and necessary packages for Deep Learning_第5张图片
The Steps to prepare the Remote Device and necessary packages for Deep Learning_第6张图片

The Steps to prepare the Remote Device and necessary packages for Deep Learning_第7张图片

The next is to login your remote computer
The Steps to prepare the Remote Device and necessary packages for Deep Learning_第8张图片
The Steps to prepare the Remote Device and necessary packages for Deep Learning_第9张图片

do some works for your remote server

  1. sudo apt update
    The Steps to prepare the Remote Device and necessary packages for Deep Learning_第10张图片
  2. sudo apt install build-essential
    The Steps to prepare the Remote Device and necessary packages for Deep Learning_第11张图片
  3. install python3.8
    The Steps to prepare the Remote Device and necessary packages for Deep Learning_第12张图片

install miniconda into your server

The Steps to prepare the Remote Device and necessary packages for Deep Learning_第13张图片

Choose the right version for your computer

The Steps to prepare the Remote Device and necessary packages for Deep Learning_第14张图片

download it to your server

  1. wget miniconda address
    The Steps to prepare the Remote Device and necessary packages for Deep Learning_第15张图片
  2. bash Miniconda3-latest-linux-x86_64.sh
    The Steps to prepare the Remote Device and necessary packages for Deep Learning_第16张图片
    The Steps to prepare the Remote Device and necessary packages for Deep Learning_第17张图片
    The Steps to prepare the Remote Device and necessary packages for Deep Learning_第18张图片
    The Steps to prepare the Remote Device and necessary packages for Deep Learning_第19张图片
    The Steps to prepare the Remote Device and necessary packages for Deep Learning_第20张图片
    The Steps to prepare the Remote Device and necessary packages for Deep Learning_第21张图片

Start your miniconda env

  1. use bash command to enter the base environment of miniconda
    The Steps to prepare the Remote Device and necessary packages for Deep Learning_第22张图片
  2. pip install jupyter d2l torch torchvision
    在这里插入图片描述
  3. download the material for the deep learning courses
    在这里插入图片描述
  4. To unzip this file, we need firstly install zip
    sudo apt install zip and unzip the corresponding file
    The Steps to prepare the Remote Device and necessary packages for Deep Learning_第23张图片

Start use your jupyter notebook

jupyter notebook
The Steps to prepare the Remote Device and necessary packages for Deep Learning_第24张图片

There is a problem that our jupyter in our remote server. We cannot open it in our local broswer. Therefore, we need to map the remote port 8888 into our local ones.
Notice The following command needs to be input in your local computer
d
The following command can make your jupyter notebook play the slides
在这里插入图片描述
The Steps to prepare the Remote Device and necessary packages for Deep Learning_第25张图片

你可能感兴趣的:(Python,深度学习,linux,git)