Linux multi-Virtual environment installation Jupyter Notebook

Source: Internet
Author: User
Tags virtual environment jupyter jupyter notebook

1.linux Environment Download Python Virtual Environment Miniconda package
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-latest-Linux-x86_64.sh

2. Installing the Miniconda Dependency package
Yum-y Install bzip2

3. Installation
SH miniconda3-latest-linux-x86_64.sh

4. Configuring aliases
Vim/root/.bashrc
...
#alias for Conda
Alias cl= "Conda env list"
Alias cc= "Conda create-n"
Alias coa= "source Activate"
Alias cod= "Source Deactivate"
Alias cr= "Conda Remove--all-n"
...
: Wq

5. Create a Python virtual environment
CC LCS
COA LCS

6. Install Jupyter Notebook
Pip Install Jupyter Notebook

7. Check whether the installation
Pip Freeze |grep Jupyter

8. Modify the configuration file
Jupyter Notebook--generate-config
vim/root/.jupyter/jupyter_notebook_config.py

C.notebookapp.notebook_dir = '/root/notebook ' # notebook default directory
.....
C.notebookapp.ip = ' * '
#c. Notebookapp.password = U ' sha1:bcd259ccf...<your hashed password here> '
C.notebookapp.open_browser = False
: Wq

Jupyter Notebook Password
Jupyter Notebook--allow-root

9. client browser Login Jupyter

51cto Blog: de8ug
Jupyter Official Document: http://jupyter-notebook.readthedocs.io/en/latest/notebook.html

Linux multi-Virtual environment installation Jupyter Notebook

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.