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

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.

主站蜘蛛池模板: 萨嘎县| 泰和县| 潍坊市| 扶余县| 榆树市| 武川县| 宁陕县| 聂拉木县| 黄平县| 湖口县| 车致| 涟源市| 陵川县| 九龙坡区| 南靖县| 陇南市| 霞浦县| 沿河| 岳阳县| 潜山县| 北京市| 淮安市| 新邵县| 天气| 图木舒克市| 南部县| 元氏县| 阜平县| 明光市| 蕲春县| 嵩明县| 梁平县| 紫金县| 台山市| 巢湖市| 城市| 历史| 宜兰市| 志丹县| 荆门市| 茶陵县|