-
-
Save khangvan/48a4df2b6e0cfb29be7ce8f2fce611c6 to your computer and use it in GitHub Desktop.
Revisions
-
minlaxz revised this gist
Sep 30, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,4 +18,4 @@ RestartSec=10 # sudo systemctl start jupyter-lab.service [Install] WantedBy=multi-user.target -
minlaxz revised this gist
Sep 30, 2020 . No changes.There are no files selected for viewing
-
minlaxz revised this gist
Sep 30, 2020 . No changes.There are no files selected for viewing
-
minlaxz renamed this gist
Sep 30, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
minlaxz created this gist
Sep 30, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ # create a file and (name your wish) , then add this content to the file. # OR # sudo vim /etc/systemd/system/jupyter-lab.service # paste code below # Esc , shift z z [Unit] Description=Start Jupyter Lab Server at Boot [Service] Type=simple ExecStart=/home/$USER/<python_env>/bin/jupyter lab --allow-root --no-browser --config=/home/$USER/.jupyter/jupyter_notebook_config.py WorkingDirectory=$HOME Restart=always RestartSec=10 # sudo systemctl enable jupyter-lab.service # sudo systemctl start jupyter-lab.service [Install] WantedBy=multi-user.target