官术网_书友最值得收藏!

How to do it...

  1. If you haven't installed Jupyter yet, you can use the following command in your activated Anaconda environment on the server:
 conda install jupyter
  1. Next, we move back to the terminal on our local machine.
  1. One option is to access the Jupyter Notebook running on a server using SSH-tunnelling. For example, when using Google Cloud Platform:
gcloud compute ssh --ssh-flag="-L 8888:localhost:8888"  --zone "europe-west1-b" "instance-name" 

You're now logged in to the server and port 8888 on your local machine will forward to the server with port 8888.

  1. Make sure to activate the correct Anaconda environment before proceeding (adjust the name of your environment accordingly):
source activate environment-deep-learning-cookbook
  1. You can create a dedicated directory for your Jupyter notebooks:
mkdir notebooks
cd notebooks
  1. You can now start the Jupyter environment as follows:
jupyter notebook

This will start Jupyter Notebook on your server. Next, you can go to your local browser and access the notebook with the link provided after starting the notebook, for example, http://localhost:8888/?token=1fa4e9aea99cd7be2b974557eee3d344ca3c992f5861834f.

主站蜘蛛池模板: 文化| 得荣县| 汕头市| 萍乡市| 利津县| 南乐县| 华宁县| 莎车县| 佛教| 阳谷县| 怀集县| 平昌县| 永登县| 通海县| 垦利县| 林甸县| 昌邑市| 繁昌县| 池州市| 临沂市| 濉溪县| 卓资县| 屏东县| 塔城市| 南木林县| 抚松县| 房产| 石屏县| 治县。| 滦平县| 玛曲县| 吉安县| 民丰县| 灌南县| 高要市| 南宫市| 平昌县| 大安市| 措美县| 嵊泗县| 阳江市|