Install Anaconda
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2020.07-Linux-x86_64.sh
chmod 755 Anaconda3-2020.07-Linux-x86_64.sh
./Anaconda3-2020.07-Linux-x86_64.sh
source .bashrc
base安装Flask包
conda create -n envflask python=3.6
conda activate envflask
conda install -y flask
conda install -y werkzeug
conda install -y xlrd
conda install -y numpy
conda install -y pandas
conda install -y matplotlib
conda install -y lxml
pip install flask_apscheduler
pip install pypinyin
启动服务
上传自己的工程到服务器,然后启动
nohup python app.py &