centos后台运行python程序:setsid python xxx.py
查看所有进程:ps -aux
杀死指定进程:kill -9 pid
服务器安装python3,链接pip,修复yum,一键安装脚本:wget https://raw.githubusercontent.com/LunacyZeus/Python3.6-for-Centos7.0/master/install.sh && sh install.sh
pip安装命令:python3 -m pip install 模块