安装dnf
1.yum install epel-release -y
2.yum install dnf
找不到killall command
1.yum install psmisc
解决yum groupinstall "Development Tools"未执行
1.yum groupinstall "Development Tools" --setopt=group_package_types=mandatory,default,optional
Python程序后台运行并写到日志
nohup xxx > out.log 2>&1 &
docker
docker run -d -p 8050:8050 --memory=1.0G --restart=always scrapinghub/splash --maxrss 1000 --max-timeout 10
install Python3.8
yum install -y centos-release-scl # 仓库注册
yum install -y rh-python38 which # 安装python3.8
# 创建软连接
ln -s /opt/rh/rh-python38/root/usr/bin/python3 /usr/bin/python3
ln -s /opt/rh/rh-python38/root/usr/bin/pip3 /usr/bin/pip3
python -V # 确认版本