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

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.

主站蜘蛛池模板: 赞皇县| 丰镇市| 涡阳县| 广水市| 玉龙| 兴安县| 石台县| 碌曲县| 定南县| 平安县| 吉林市| 西华县| 玛曲县| 克山县| 丰顺县| 龙岩市| 开远市| 城步| 东丰县| 霍林郭勒市| 玉田县| 舞钢市| 彭州市| 玉龙| 东乌珠穆沁旗| 张家港市| 德清县| 西乌| 彰化市| 天津市| 忻州市| 达日县| 高台县| 昂仁县| 梓潼县| 宝清县| 乃东县| 福泉市| 南召县| 黄山市| 玉环县|