By - superajPosted in 服务器相关CentOS 6.5 64位 一键搭建VPN(PPTP)脚本在服务器中执行: wget http://www.coolaj.cn/vpn_centos6.sh   Read More
By - superajPosted in 服务器相关Nginx若出现502 Bad Gateway 的临时解决方案保存一下代码为502.sh #!/bin/bash website=http://api.bbshenqi.c Read More
By - superajPosted in 服务器相关RSync实现文件备份同步[rsync实现网站的备份,文件的同步,不同系统的文件的同步,如果是windows的话,需要windows版本 Read More
By - superajPosted in 服务器相关云服务器连接RDS不稳定问题解决方案nscd服务开启后会减少因为DNS不稳定造成的云服务器连接RDS无法解析的问题。 详细的开启办法如下: 1. Read More
By - superajPosted in 服务器相关利用aliyunOSS同步网站图片将本程序解压到任意目录, 并进入该目录,运行: sudo python setup.py 配置文件: HOST Read More
By - superajPosted in 服务器相关一个简单的查找命令grep比如查找当前目录下所有包含123的php文件 命令如下: grep "123" -rn */*.php &nb Read More
By - superajPosted in 服务器相关nginx 301跳转到带www域名方法rewrite如果www.coolaj.cn coolaj.cn都解析到www.coolaj.cn 打开 nginx.con Read More