2018年 08月 29日 - ss一键安装脚本

    一键安装脚本

    yum -y update
    yum -y install wget
    wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.sh
    chmod +x shadowsocks.sh
    ./shadowsocks.sh 2>&1 | tee shadowsocks.log
    

    配置文件路径为:/etc/shadowsocks.json 卸载

    ./shadowsocks.sh uninstall
    

    相关命令

    #启动
    /etc/init.d/shadowsocks start
    #停止
    /etc/init.d/shadowsocks stop
    #重启
    /etc/init.d/shadowsocks restart
    #状态
    /etc/init.d/shadowsocks status
    

    2018年 08月 28日 - nginx代理出现ERR_INCOMPLETE_CHUNKED_ENCODING的解决

    现象

    1. 部署的项目为expressjs项目,通过nginx进行反向代理,访问时界面无法正常显示,通过浏览器控制台查看发现请求js文件加载失败. 提示内容为ERR_INCOMPLETE_CHUNKED_ENCODING,但是单独访问对应资源可以加载(可能没有加载全)

    2018年 08月 27日 - linux下用户管理速查

    概览

    用户查看与密码修改,用户与密码存储文件结构.

    2018年 08月 22日 - nginx使用php做文件上传出现413 Request Entity Too Large的解决

    在安装Cloudreve后进行文件上传测试

    小文件上传正常,大文件已上传就卡住上传进度,打开控制台查看发现post请求响应了413 Request Entity Too Large 解决:

    1. 检查php.ini配置内容
    2. 检查nginx的配置内容