在centos7服务器上安装anaconda和jupyter notebook

因为不想在自己电脑上跑各种机器学习代码,所以买了一台云服务器,服务器系统centos7

首先在服务器上安装anaconda,这篇博文亲测有效

http://www.jianshu.com/p/e6ae8905833d

点击打开链接


因为anaconda已经安装了很多科学计算工具,包括jupyter notebook,所以不用单独安装,接下来就是配置jupyter的配置文件,以便能在本地直接访问服务器的jupyter


首先为jupyter notebook 设置密码 

在centos7服务器上安装anaconda和jupyter notebook


由于没有配置文件,所以需要命令生成默认的配置文件,在/root/路径下运行

在centos7服务器上安装anaconda和jupyter notebook


更改配置文件,参考这篇博文http://blog.csdn.net/u010694764/article/details/76862854

最后服务器有一个安全组规则,记得更改,就是防火墙的进出端口

在centos7服务器上安装anaconda和jupyter notebook


最后访问浏览器就成功了

在centos7服务器上安装anaconda和jupyter notebook