yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make
wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz
./configure prefix=/usr/local/python3
ln -s /usr/local/python3/bin/python3 /usr/bin/python3
wget http://www.rabbitmq.com/releases/erlang/erlang-19.0.4-1.el7.centos.x86_64.rpm
rpm -ivh erlang-19.0.4-1.el7.centos.x86_64.rpm
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.9/rabbitmq-server-3.6.9-1.el7.noarch.rpm
yum install rabbitmq-server-3.6.9-1.el7.noarch.rpm
rabbitmq-plugins enable rabbitmq_management
firewall-cmd --zone=public --add-port=5672/tcp --permanent //rabbitmq api 端口
firewall-cmd --zone=public --add-port=15672/tcp --permanent //rabbitmq web 端口
firewall-cmd --reload //刷新防火墙规则
firewall-cmd --zone=public --list-ports //查看所有开放端口
git clone https://gitee.com/gy071089/SecurityManageFramwork.git
python3 -m celery -A SeMF worker -l info --autoscale=10,4 >> logs/celery.log 2>&1 & echo 'Start celery for semf'
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make
python3 -m celery -A SeMF worker -l info --autoscale=10,4 >> logs/celery.log 2>&1&echo 'Start celery for semf'
网友评论