Skip to content

Instantly share code, notes, and snippets.

@laeshiny
Created August 4, 2016 09:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laeshiny/190146c12d84d16cf4c2d60862d7be0c to your computer and use it in GitHub Desktop.
Save laeshiny/190146c12d84d16cf4c2d60862d7be0c to your computer and use it in GitHub Desktop.
systemd service for Jupyter Notebook
[Unit]
Description=Jupyter Notebook
Requires=local-fs.target
After=local-fs.target
[Service]
ExecStart=/usr/local/bin/jupyter-notebook --ip 0.0.0.0 --notebook-dir /home/%i/apps/jupyter-notebook/
User=%i
[Install]
WantedBy=multi-user.target
@laeshiny
Copy link
Author

laeshiny commented Aug 5, 2016

  • Installation pandas numpy matplotlib

sudo apt-get install python-matplotlib libpng-dev libfreetype6-dev
pip install pandas numpy matplotlib jupyter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment