nginx
Cnc-Vincent
你此刻拥有的一切,只是临时被你占用几十年而已,不要过于珍惜什么,我们终究只是宇宙的过客……
展开
-
ansible+nginx
两台虚拟机192.168.234.135192.168.234.130rpm -qa | grep ansible # 检查是否有ansible的包yum install ansible -y # 安装ansiblessh-keygen -t rsa # 密钥ssh-copy-id root@192.168.234.135 # 给135拷贝密钥ssh-copy-id root@192.168.234.130 # 给130拷贝密钥vim /etc/ansib原创 2020-08-19 14:09:22 · 136 阅读 · 0 评论 -
nginx+tomcat动静分离
1.先安装nginx(先安装依赖包)yum -y install gcc gcc-c++ zlib-devel pcre-devel#拖包nginx-1.12.0.tar.gztar zxf nginx-1.12.0.tar.gzcd nginx-1.12.0./configure --prefix=/usr/local/nginxmake && make installnetstat -anpt | grep :802.安装tomcat(配置环境变量)# 拖入jdk原创 2020-07-02 15:59:52 · 82 阅读 · 0 评论 -
nginx源码开机启动脚本
#!/bin/bash# chkconfig: 2345 99 20# description: Nginx Service Control ScriptPROG="/usr/local/nginx/sbin/nginx"PIDF="/usr/local/nginx/logs/nginx.pid"PROG_FPM="/usr/local/sbin/php-fpm"PIDF_FPM="/...原创 2019-12-20 14:31:44 · 253 阅读 · 0 评论 -
lnmp上线电商
操作平台:Centos6.5关闭防火墙service iptables stopsetenforce 0安装相应的环境cd /usr/local/srcyum -y install gcc gcc-c++ zlib-devel pcre-devel拉包yum -y install lrzszrz #将nginx-1.12.0.tar传入/usr/local/src下ta...原创 2019-12-20 13:59:43 · 130 阅读 · 0 评论