Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
class:phy3026 [2019/09/15 16:52] – minerva1993 | class:phy3026 [2023/03/06 13:44] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 26: | Line 26: | ||
< | < | ||
sudo vi / | sudo vi / | ||
- | :%s/kr.archive.ubuntu.com/ | + | : |
(' | (' | ||
:wq (저장하고 나오기) | :wq (저장하고 나오기) | ||
Line 32: | Line 32: | ||
sudo apt-get upgrade | sudo apt-get upgrade | ||
sudo apt install python2.7 | sudo apt install python2.7 | ||
- | sudo apt install python-pip | ||
sudo pip install numpy | sudo pip install numpy | ||
</ | </ | ||
Line 65: | Line 64: | ||
To write and excute python code in your local browser, you need to create ssh tunnel to server. First, make sure you are using unique port number for tunnel. Follow the lines in the server. | To write and excute python code in your local browser, you need to create ssh tunnel to server. First, make sure you are using unique port number for tunnel. Follow the lines in the server. | ||
< | < | ||
+ | ##DO THIS ONLY AT THE FIRST TIME## | ||
jupyter notebook --generate-config | jupyter notebook --generate-config | ||
vi / | vi / | ||
+ | ##DO THIS ONLY AT THE FIRST TIME## | ||
</ | </ | ||
Line 76: | Line 77: | ||
You can check your port number in '' | You can check your port number in '' | ||
< | < | ||
- | ssh -f -N -L localhost:TunnelPort:localhost:TunnelPort | + | ssh -f -N -L localhost:9XXX:localhost:9XXX YOURID@210.117.210.XX |
</ | </ | ||
- | Please don't confuse '' | ||
The address to jupyter notebook will appear in the terminal. Copy & paste into local internet browser. | The address to jupyter notebook will appear in the terminal. Copy & paste into local internet browser. |