Setup of Anaconda + Jupyter Notebook on Huawei Cloud ECS Server

On Huawei Cloud Server, use mobaXterm to remotely login to the server

Make sure the apt-get is updated
>> sudo apt-get update

Download the anaconda installer
>> wget https://repo.anaconda.com/archive/Anaconda3-2022.05-Linux-x86_64.sh

checksum
>> sha256sum Anaconda3-2022.05-Linux-x86_64.sh

run the anaconda bash shell script
>> bash Anaconda3-2022.05-Linux-x86_64.sh

>> source ~/.bashrc

>> conda info

conda update conda

conda update anaconda

The above should validate the successful installation of anaconda on your Huawei Cloud Server

Next we need to run the jupyter notebook in Cloud Server and setup port forwarding to our local laptop:

Run jupyter notebook on cloud server on no-browser mode
>> jupyter notebook –no-browser –port=8889 –allow-root

Next setup the port forwarding on MobaXterm

Configurate your port forwarding info

Start the tunnel port forwarding

On the local browser, type the below in the address bar
localhost:<port-number>

A screen prompt for the token id to login the jupyter server, and login then we will have the remote jupyter notebook and terminal on our local browser

Evernote helps you remember everything and get organized effortlessly. Download Evernote.

bf080c7a-386b-4af7-8fc9-37ca65cab2c0

Related Posts