$ sudo pip install --upgrade pip
$ sudo pip install jupyter
$ ipython
In [1]: from IPython.lib import passwd
In [2]: passwd()
Enter password:
Verify password:
Out[2]:~~~~~~Mot de passe haché ~ ~ ~ ~
Out[2]:exit
$ mkdir ~/jupyter_dir
$ jupyter notebook --generate-config
Writing default config to: ~/.jupyter/jupyter_notebook_config.py
$ vi + ~/.jupyter/jupyter_notebook_config.py
jupyter_notebook_config.py
Ajoutez ce qui suit à la dernière ligne
c.IPKernelApp.pylab = 'inline'
c.NotebookApp.ip = '*'
c.NotebookApp.open_browser = False
c.NotebookApp.port = 9999
c.NotebookApp.password = u'<Clé de hachage créée>'
c.NotebookApp.notebook_dir = '<Répertoire créé>'
$ cd ~
$ nohup jupyter notebook >> jupyter.log 2>&1 &
S'il y a une erreur, vous pouvez le savoir en regardant (~ / jupyter.log)
http://IPアドレス:9999
Recommended Posts