惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
Schneier on Security
Schneier on Security
B
Blog RSS Feed
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
A
About on SuperTechFans
Recorded Future
Recorded Future
Recent Announcements
Recent Announcements
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
Hugging Face - Blog
Hugging Face - Blog
The GitHub Blog
The GitHub Blog
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MyScale Blog
MyScale Blog
V2EX - 技术
V2EX - 技术
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
V
Visual Studio Blog
Martin Fowler
Martin Fowler
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
The Exploit Database - CXSecurity.com
F
Full Disclosure
Scott Helme
Scott Helme
H
Heimdal Security Blog
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
Cyberwarzone
Cyberwarzone
Application and Cybersecurity Blog
Application and Cybersecurity Blog
V
Vulnerabilities – Threatpost
Blog — PlanetScale
Blog — PlanetScale
Security Latest
Security Latest
WordPress大学
WordPress大学
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Troy Hunt's Blog
S
SegmentFault 最新的问题
Forbes - Security
Forbes - Security
Jina AI
Jina AI
S
Securelist
小众软件
小众软件
Simon Willison's Weblog
Simon Willison's Weblog
J
Java Code Geeks
AWS News Blog
AWS News Blog
N
News and Events Feed by Topic
博客园 - 三生石上(FineUI控件)
量子位

噜啦 - Python笔记本

virtualenvwrapper 安装以及使用方法 - 噜啦 写一个简单的图书管理工具 - 噜啦 django 模板 继承 - 噜啦 django 模板 过滤器 - 噜啦 django if标签 - 噜啦 django for标签 - 噜啦 django 模板变量 - 噜啦 django 模板查找路径 - 噜啦 django 模板中插入 url - 噜啦
Linux 安装Jupyter Notebook 并开启远程访问 - 噜啦
博主: 噜啦 · 2020-02-03 · via 噜啦 - Python笔记本
  • 发布时间:
  • 1601 次浏览
  • 850字数
  • 分类: Python笔记本
  1. 首页
  2. 正文  

本文将记录如何在Liunx上安装Jupyter Notebook并开启远程访问

安装

安装python环境

安装以前请确认你已经安装了python以及pip,如果没有,请运行一下命令安装,以ubuntu 18.04为例

sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install python3  -y #安装python3,一般系统自带
sudo apt-get install python3-pip #安装pip3

安装Jupyter

pip3 install jupyter

配置Juyter

创建jupyter_notebook_config.py配置文件

jupyter notebook --generate-config

当然,如果我们不想公网的Juyter随便被别人访问,可以生成访问密码

jupyter notebook password

两次键入密码,Jupyter将你的密码加密保存在/root/.jupyter/jupyter_notebook_config json

配置端口,开启公网访问

修改/root/.jupyter/jupyter_notebook_config.py文件,找到一下行,取消注释并修改

c.NotebookApp.ip='*' #任何IP都可以访问
c.NotebookApp.open_browser = False #不调用浏览器,因为这是Linux
c.NotebookApp.port =8888 #指定运行端口,默认8000

运行

jupyter notebook --allow-root

赞赏作者

如果觉得我的文章对你有用,请随意赞赏

Linux 安装Jupyter Notebook 并开启远程访问

 •