随笔分类 - Linux
摘要:wget http://download.redis.io/releases/redis-4.0.0.tar.gztar zxf redis-4.0.0.tar.gzcd redis-4.0.0make 修改配置文件基本项port 11203pidfile /var/run/redis_11203.
        阅读全文
                
摘要:1、分割nginx日志vim /etc/logrotate.d/nginx/var/log/nginx/*log { create 0644 nginx nginx rotate 10 missingok notifempty compress sharedscripts postrotate /b
        阅读全文
                
摘要:一、安装Nginx 下载地址:http://nginx.org/download/nginx-1.8.0.tar.gz 安装依赖库 yum -y install gd-devel libtool libjpeg-devel libpng-devel freetype-devel libxml2 li
        阅读全文
                
摘要:1、安装jdk wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/j
        阅读全文
                
摘要:编辑 /etc/init.d/nginx 添加一下内容 根据路劲修改。 添加可执行权限 chmod +x /etc/init.d/nginx 开启自启 chkconfig nginx on #!/bin/sh## nginx - this script starts and stops the ng
        阅读全文
                
 
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号