服务器上想要写jupyter的话需要配置一下,然后远程访问,记录下配置过程。
- 首先按照这个人写的博客操作一下。
- 尝试一下远程登录不行的话,说明这个端口被防火墙阻止了,可以如下操作:
# iptables -I INPUT -i eth0 -p tcp --dport 8888 -j ACCEPT
# iptables -I OUTPUT -o eth0 -p tcp --sport 8888 -j ACCEPT
# /etc/rc.d/init.d/iptables save
# service iptables restart
- 然后应该就可以了。