您的位置:首页 > 其它

mac 下在服务器上运行 Jupyter notebook

2017-11-13 18:52 941 查看
参考连接远程jupyter notebook —-windows环境, 进行基本配置

参考How to run an IPython/Jupyter Notebook on a remote machine, 进行 mac 下连接, port 为服务器下的运行 jupyter notebook 的端口号。

先在服务器上运行

jupyter notebook


再在本地终端中运行

ssh -N -f -L 127.0.0.1:my_port:127.0.0.1:server_port usr_name@remote-machine


输入密码登录后,即监听成功。

然后浏览器中输入

http://localhost:my_port/?token=******
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: