好记性不如烂笔头,备忘录
0. 先安装好sqlite3网址,然后解压安装
wget http://www.sqlite.org/sqlite-3.5.6.tar.gz
tar zxf sqlite-3.5.6.tar.gz
cd sqlite-3.5.6
./configure
make
make install
不安装sqlite的话,会出现问题
重新编译安装Python
测试结果:
1. 安装JupyterHub,参照官网https://jupyterhub.readthedocs.io/en/stable/quickstart.html
npm install -g configurable-http-proxy
pip3 install jupyterhub
pip3 install notebook
然后把jupyterhub命令写到环境变量PATH
vi /etc/profile
#给path变量追加jupyterhub路径(依实际情况而定)
source /etc/profile
2. 启动测试编码
jupyterhub --generate-config
#会在当前目录生成配置文件jupyterhub_config.py,然后编辑
vi jupyterhub_config.py