This file contains 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 characters
First of all, please install the jupyter notebook | |
conda install jupyter notebook | |
or | |
pip install jupyter notebook | |
Second, create the configure file of the jupyter notebook | |
jupyter notebook --generate-config | |
Third, edit jupyter_notebook_config.py: | |
1. Open the file |
This file contains 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 characters
export ALL_PROXY="http://$host_ip:7890" | |
# where $host_ip should be the ip running the proxy app |
This file contains 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 characters
wsl -l -v | |
wsl -t <DistroName> | |
wsl --export <DistroName> <PathToTarArchive> | |
wsl --unregister <DistroName> | |
wsl --import <DistroName> <PathToDistroNewDirectory> <PathToTarArchive> | |
<DistroName>=ubuntu | |
ubuntu.exe config --default-user xxx |
This file contains 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 characters
How to run jupyter lab/notebook on the server | |
First install and confige jupyter | |
Install: | |
conda activate ???? (your virtual env) | |
conda install jupyter notebook | |
Confige: | |
jupyter server --generate-config |