11월, 2017의 게시물 표시

How do I connect to a network drive or file share?

이미지
Connecting to Linux File Servers from a Linux Computer Using SCP SCP is ideal for quick transfer of single files and directories. Syntax is similar to the Unix copy command. For Connecting to your EWS Home Directory, you can type something like this: scp NetID@linux.ews.illinois.edu :/home/NetID/example.txt /home/localusername/ewsbackup/ If you need to copy an entire directory, you'll need to use the recursive flag, like this: scp -r NetID@linux.ews.illinois.edu :/home/NetID/thisdirectory /home/localusername/ewsbackup/ Connecting to Linux File Servers from Mac OSX For connecting to your Linux Home directories from a Mac OSX please use fugu , which is available for free. Connecting to Linux File Servers from a Windows Computer For connecting to your Linux directories from Windows please use WinSCP, which is available for free. After installing WinSCP you will get the following dialog (WinSCP is installed in the windows labs by default):     The hostname is li

Installing Jupyter Notebook on Bash in Windows

1. update "apt-get $ sudo apt-get update   2. Install Python $ sudo apt-get install python-pip python-dev   3. Install Jupyter $ sudo pip install jupyter   # Ubuntu/Linux 64-bit $ sudo apt-get install python-pip python-dev  # Ubuntu/Linux 64-bit, CPU only, Python 2.7 $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0rc0-cp27-none-linux_x86_64.whl # Python 2 $ sudo pip install --upgrade $TF_BINARY_URL   python2는 pip이고 python3은 pip3이다. $ sudo pip install jupyter    

Running a notebook server

이미지
1. Create a password. You use this password to log in to the Jupyter notebook server from your client so you can access notebooks on the server. a. Open the iPython terminal. $ ipython >>  from notebook.auth import passwd >>  In [2]: passwd () Enter password: Verify password: Out[2]: 'sha1:67c9e60bb8b6:9f.....' b.  Record the password hash. c. Exit the iPython terminal. >> exit() 2. Create a Jupyter configuration file. $ jupyter notebook --generate-config   The command creates a configuration file ( jupyter_notebook_config.py ) in the ~/.jupyter directory. 3. Update the configuration file to store your password a. Open the .config file. $ vi ~/.jupyter/jupyter_notebook_config.py b. Paste the following text at the end of the file. You will need to provide your password hash.     c.IPKern