Exec command

cd /admin/xcmbServer\ 
&& yum -y install python36 python-devel python36-devel supervisor \
&& pip3 install --upgrade pip \
&& pip3 install -r requirements.txt \
&& supervisord -c supervisor.conf || true \
&& supervisorctl -c supervisor.conf restart all \
&& netstat -ntlp | grep 8700

 

cd /admin/xcmbServer\  # 进入到项目目录中

 yum -y install python36 python-devel python36-devel supervisor # 安装python36等

pip3 install --upgrade pip# 更新pip

pip3 install -r requirements.txt  # 安装依赖

supervisord -c supervisor.conf || true # 启动 supervisor

supervisorctl -c supervisor.conf restart all # 重启全部进程

netstat -ntlp | grep 8700 # 查看现有占用端口命令(8700端口)