摘要:大家都知道Centos8于2021年年底停止了服务,大家再在使用yum源安装时候,出现下面错误“错误:Failed to download metadata for repo ‘AppStream’: Cannot prepare internal mirrorlist: No URLs in mi
阅读全文
摘要:https://blog.csdn.net/zhinian1204/article/details/123975403
阅读全文
摘要:1. 安装redis需要先安装相关依赖,主要是GCC包 yum install centos-release-scl scl-utils-build yum install -y devtoolset-8-toolchain scl enable devtoolset-8 bash 2. 下载red
阅读全文
摘要:RDMA: https://blog.csdn.net/qq_21125183/article/details/80563463 DPDK: https://blog.csdn.net/qq_20817327/article/details/105587309
阅读全文
摘要:原文链接:https://www.cnblogs.com/qiu-hua/p/12680905.html Gunicorn“绿色独角兽”是一个被广泛使用的高性能的Python WSGI UNIX HTTP服务器,移植自Ruby的独角兽(Unicorn )项目,使用pre-fork worker模式,
阅读全文
摘要:1. 安装: pip3 install supervisor 2. 默认安装路径跟python同目录: cd /usr/local/python3/bin/ 3. 获取配置和文件: ./echo_supervisord_conf > supervisord.conf 4. 创建配置文件目录: mkd
阅读全文
摘要:while true # 无限循环 flag=`ps -aux |grep "consumer.py" |grep -v "grep" |wc -l` do if [[ $flag -eq 0 ]] # 判断进程数如果等于0,则启动脚本 then `python3 -u consumer.py >>
阅读全文
摘要:配置源: rpm -ivh https://repo.mysql.com//mysql57-community-release-el7-11.noarch.rpm 需要升级一下key,需要重新获取: rpm --import https://repo.mysql.com/RPM-GPG-KEY-my
阅读全文
摘要:参考自强学堂:https://code.ziqiangxuetang.com/django/django-nginx-deploy.html 1 例子中zqxt项目 安装 supervisor 软件包 1 (sudo) pip install supervisor<br>或者<br>yum inst
阅读全文
摘要:1. 开放80端口[root@localhost ~]# firewall-cmd --add-port=80/tcp --permanentsuccess 2. reload防火墙[root@localhost ~]# firewall-cmd --reload 3.查看开放的所有端口 [root
阅读全文
摘要:vim /etc/ssh/sshd_config ClientAliveInterval 60ClientAliveCountMax 3
阅读全文