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

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.

主站蜘蛛池模板: 民县| 西宁市| 太谷县| 泽州县| 册亨县| 鄂托克旗| 会昌县| 建平县| 房产| 襄樊市| 新乐市| 大连市| 德阳市| 时尚| 深州市| 佛教| 天气| 马鞍山市| 台东市| 友谊县| 延吉市| 呼玛县| 疏附县| 顺平县| 涞水县| 宜兴市| 曲水县| 沙洋县| 苏尼特左旗| 临夏县| 紫阳县| 汶上县| 彭泽县| 大理市| 保山市| 兴文县| 乃东县| 股票| 平原县| 龙游县| 拉萨市|