在CentOS7服务器端启动jupyter notebook服务,在windows端使用jupyter notebook,服务器充当后台计算云端
在CentOS7服务器端启动jupyter notebook服务,在windows端使用jupyter notebook,服务器充当后台计算云端
在服务器端启动jupyter notebook服务,在windows端使用jupyter notebook,服务器充当后台计算云端
在服务器端启动jupyter notebook
(base) [jiangshan@localhost keras]$ jupyter notebook
[I 08:37:13.550 NotebookApp] Writing notebook server cookie secret to /run/user/1001/jupyter/notebook_cookie_secret
[I 08:37:15.081 NotebookApp] JupyterLab extension loaded from /home/jiangshan/anaconda3/lib/python3.7/site-packages/jupyterlab
[I 08:37:15.081 NotebookApp] JupyterLab application directory is /home/jiangshan/anaconda3/share/jupyter/lab
[I 08:37:15.084 NotebookApp] Serving notebooks from local directory: /home/jiangshan/workspace/keras
[I 08:37:15.084 NotebookApp] The Jupyter Notebook is running at:
[I 08:37:15.084 NotebookApp] http://localhost:8888/?token=21f607d8864b2ce268922e53b14af8e7c11714c8290547d2
[I 08:37:15.085 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 08:37:15.103 NotebookApp] No web browser found: could not locate runnable browser.
[C 08:37:15.104 NotebookApp]
To access the notebook, open this file in a browser:
file:///run/user/1001/jupyter/nbserver-18076-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=21f607d8864b2ce268922e53b14af8e7c11714c8290547d2
在windows端,将服务器的8888端口重定向到windows端(做了映射绑定):
ssh -L 8888:127.0.0.1:8888 jiangshan@192.168.1.191
【第一个8888为windows端端口,第二个8888服务器端端口】
在windows端,浏览器输入:
http://localhost:8888/tree【或http://127.0.0.1:8888】
登录

OMG 不知道密码????
回到CentOS7服务器端
(base) [jiangshan@localhost keras]$ jupyter notebook --generate-config
Writing default config to: /home/jiangshan/.jupyter/jupyter_notebook_config.py
vim /home/jiangshan/.jupyter/jupyter_notebook_config.py
命令模式下输入查找NotebookApp.allow_password_change: /NotebookApp.allow_password_change,并按Enetr
NotebookApp.allow_password_change=False 【去掉注释】
(base) [jiangshan@localhost keras]$ vim /home/jiangshan/.jupyter/jupyter_notebook_config.py
(base) [jiangshan@localhost keras]$ jupyter notebook password
Enter password:
Verify password:
[NotebookPasswordApp] Wrote hashed password to /home/jiangshan/.jupyter/jupyter_notebook_config.json
内容:
{
"NotebookApp": {
"password": "sha1:b78610c54d93:7099a2a12725948960a00760b"
}
}
(base) [jiangshan@localhost keras]$ vim /home/jiangshan/.jupyter/jupyter_notebook_config.py
命令模式下输入查找c.NotebookApp.password: /c.NotebookApp.password,并按Enetr
# The string should be of the form type:salt:hashed-password.
c.NotebookApp.password = 'sha1:b78610c54d93:7099a2a127c55d18960a00760b'【加上sha1:....,去掉注释】
(base) [jiangshan@localhost keras]$ jupyter notebook
[I 09:09:20.691 NotebookApp] JupyterLab extension loaded from /home/jiangshan/anaconda3/lib/python3.7/site-packages/jupyterlab
[I 09:09:20.691 NotebookApp] JupyterLab application directory is /home/jiangshan/anaconda3/share/jupyter/lab
[I 09:09:20.693 NotebookApp] Serving notebooks from local directory: /home/jiangshan/workspace/keras
[I 09:09:20.693 NotebookApp] The Jupyter Notebook is running at:
[I 09:09:20.693 NotebookApp] http://localhost:8888/
[I 09:09:20.694 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 09:09:20.699 NotebookApp] No web browser found: could not locate runnable browser.
在Windows端,dos或anaconda自带的Prompt终端
输入:ssh -L 8888:127.0.0.1:8888 jiangshan@192.168.1.191
(base) F:\workspace\GitHub_web_download\keras\examples>ssh -L 8888:127.0.0.1:8888 jiangshan@192.168.1.191
jiangshan@192.168.1.191's password:
Last login: Thu Mar 14 08:39:28 2019 from 192.168.1.72
打开浏览器,输入
http://127.0.0.1:8888【或http://localhost:8888/tree】


在CentOS7服务器端启动jupyter notebook服务,在windows端使用jupyter notebook,服务器充当后台计算云端的更多相关文章
- 在windows端使用jupyter notebook,服务器充当后台计算云端 简化描述
在CentOS7服务器端启动jupyter notebook服务,在windows端使用jupyter notebook,服务器充当后台计算云端 简化描述 CentOS7服务器端 jupyter no ...
- Windows下的Jupyter Notebook 安装与自定义启动(图文详解)
不多说,直接上干货! 前期博客 Windows下的Python 3.6.1的下载与安装(适合32bits和64bits)(图文详解) 这是我自定义的Python 的安装目录 (D:\SoftWare\ ...
- SpringBoot 在CentOS7部署,注册为服务,开机启动
1.首先在maven工程的pom文件中引入以下标签并保存 <build> <plugins> <plugin> <groupId>org.springf ...
- centos7 查看启动ntp服务命令
标签(空格分隔): centos7 系统 1. 查看ntp服务命令: [root@node1 ~]# systemctl status ntpd * ntpd.service - Network Ti ...
- Linux操作系统-CentOS7启动流程和服务管理
Linux操作系统-CentOS7启动流程和服务管理 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 一.systemd POST --> Boot Sequence --&g ...
- Windows下的Jupyter Notebook 安装与自定义启动
1.Jupyter Notebook 和 pip 为了更加方便地写 Python 代码,还需要安装 Jupyter notebook. 利用 pip 安装 Jupyter notebook. 为什么要 ...
- 阿里云下 centos7下启动程序总是被killed ,看内存占用情况以检查哪些服务存在问题并调整参数作调优
很久不搭理自己的网站了,几天突然发现启动程序总是被killed, 于是查看了系统日志 vi /var/log/messages 发现出现 kernel: Out of memory: Kill pro ...
- 用scp命令来通过ssh传输文件,ssh推送.py程序到CentOS7服务器端出现lost connection错误
ssh推送.py程序到CentOS7服务器端运行出现lost connection错误 (base) F:\workspace>dir 驱动器 F 中的卷是 新加卷 卷的序列号是 C2B9-62 ...
- ubuntu下设置jupyter notebook 2017年07月29日 19:28:34 小旋锋 阅读数:8329 标签: ubuntu 更多 个人分类: python 二三事 来源:http://blog.csdn.net/suzyu12345/article/details/51037905 Ipython Notebook现在已经改名为Ipython jupyter,是最知名最好用的
ubuntu下设置jupyter notebook 来源:http://blog.csdn.net/suzyu12345/article/details/51037905 Ipython No ...
随机推荐
- 【Java并发编程】15、ReentrantLock实现原理深入探究
原文已经写得非常详细了,直接把大神的文章转发过来了 https://www.cnblogs.com/xrq730/p/4979021.html 前言 这篇文章被归到Java基础分类中,其实真的一点都 ...
- maven+eclipse创建web项目
第一步,创建maven工程,如下图步骤 选择maven-archetype-webapp,然后next 输入GroupId和ArtifactId,Package可以为空,然后finish 新创建的ma ...
- POM、STS、IOC、DI、AOP
POM:全称:poject object model 说明:项目对象模型.maven用来管理项目的依赖.编译.文档等信息 STS: 全称:spring tool suite 说明:spring 基于e ...
- GIS基础知识
投影转换 若两者地理坐标系不一致,需要设置七参数进行转换. 不同地方,七参数大小不一样,需要通过计算得到.
- css制作表格
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...
- Cookie--小知识总结
一.何为cookie 由于http协议是无状态的,所以没法知道当前访问的客户端是谁,所以有了cookie这个东西,通过cookie来让服务端知道当前是谁访问我,可以看做是一个身份牌 二.cookie的 ...
- CO配置步骤清单 - 2004
SAP配置步骤清单 SAP版本:2004 模块:CO(CCA/CEA/PCA) Note:大洋电机的SAP版本和此文档版本不同,少数配置路径有所变化,请参考使用. No. 配置对象 事务代码 配置内容 ...
- FastReport脚本把数据绑定到文本控件上
public class ReportScript { private void Data25_BeforePrint(object sender, EventArgs e)//Data25是指需要绑 ...
- nginx配置基于域名、端口、IP的虚拟主机
1.基于域名的虚拟主机: 绝大多数企业对外提供服务的网站使用的都是基于域名的主机,通过不同的域名区分不同的虚拟主机. 首先我们进入安装nginxd的目录下:/application/nginx-1.6 ...
- [MapReduce_8] MapReduce 中的自定义分区实现
0. 说明 设置分区数量 && 编写自定义分区代码 1. 设置分区数量 分区(Partition) 分区决定了指定的 Key 进入到哪个 Reduce 中 分区目的:把相同的 Key ...