前面把阿里云ECS的Python版本升级到Python3,下面接着就开始安装Jupyter Notebook,由于Anaconda集成了Jupyter,所以先安装Anaconda后再配置Jupyter
1. 下载Anaconda安装包(Anaconda集成Jupyter)
root@iZuf6e9bjg74ll9e9hcyagZ:~# pwd
/root
root@iZuf6e9bjg74ll9e9hcyagZ:~# ls
python scrapyd_supervisor.conf
root@iZuf6e9bjg74ll9e9hcyagZ:~# mkdir anaconda
root@iZuf6e9bjg74ll9e9hcyagZ:~# cd anaconda/
root@iZuf6e9bjg74ll9e9hcyagZ:~/anaconda# ls
root@iZuf6e9bjg74ll9e9hcyagZ:~/anaconda# wget https://repo.continuum.io/archive/Anaconda3-5.2.0-Linux-x86.sh
2. 安装Anaconda
root@iZuf6e9bjg74ll9e9hcyagZ:~/anaconda# pwd
/root/anaconda
root@iZuf6e9bjg74ll9e9hcyagZ:~/anaconda# ls
Anaconda3-5.2.0-Linux-x86_64.sh
root@iZuf6e9bjg74ll9e9hcyagZ:~/anaconda# chmod 777 Anaconda3-5.2.0-Linux-x86.sh
root@iZuf6e9bjg74ll9e9hcyagZ:~/anaconda# ./Anaconda3-5.2.0-Linux-x86.sh