创建server配置
ipython profile create myserver
在profile目录下, 编辑ipython_notebook_config.py
~/.ipython/profile_myserver/ipython_notebook_config.py
c = get_config()
c.NotebookApp.certfile=u'/opt/modules/ML/Python-2.7.8/mycert.pem'
c.NotebookApp.ip='*'
c.NotebookApp.open_browser=False
c.NotebookApp.password=u'sha1:c5f8fbcb1f9a:bfa8a1879fc2f6bd932a1a4089cbc9775cdcd98e'
c.NotebookApp.port=8888
启动
ipython notebook --profile=myserver --ip='192.168.17.128'
参考
http://ipython.org/ipython-doc/dev/notebook/public_server.html#notebook-public-server