上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 40 下一页
摘要: :set nu #是加行号 :set nonu #是去掉行号 阅读全文
posted @ 2017-01-02 16:11 bass 阅读(610) 评论(0) 推荐(0) 编辑
摘要: df -h /data2 Filesystem Size Used Avail Use% Mounted on /dev/xvda1 20G 7.5G 12G 40% / 阅读全文
posted @ 2017-01-02 10:00 bass 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 也可以从远程服务器上把整个目录下载下来: 注意:如果远程主机的目标目录有同名的文件会被强制覆盖!!! 阅读全文
posted @ 2016-12-31 23:43 bass 阅读(2501) 评论(0) 推荐(0) 编辑
摘要: 访问首页没问题,但是在登录跳转重定向时域名被修改成upstream的名字 如果需要跳转的话会出现下面的情况: http://test-xxx-emove_pools/beehive/index 经测试只要加一个参数就可以实现上面的功能: 阅读全文
posted @ 2016-12-30 16:48 bass 阅读(5070) 评论(0) 推荐(0) 编辑
摘要: 安装证书 ( 1 ) 打开 Nginx 安装目录下 conf 目录中的 nginx.conf 文件,找到 # HTTPS server # #server { # listen 443; # server_name localhost; # ssl on; # ssl_certificate cer 阅读全文
posted @ 2016-12-28 11:46 bass 阅读(1271) 评论(0) 推荐(0) 编辑
摘要: cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz stepping : 3 microcode : 28 cpu MH... 阅读全文
posted @ 2016-12-26 16:42 bass 阅读(1973) 评论(0) 推荐(0) 编辑
摘要: 重命名文件名: rename支持通配: ?:匹配单个字符 *:匹配多个字符 阅读全文
posted @ 2016-12-25 17:10 bass 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 查看NGINX启用了那些模块: 在nginx.conf增加配置文件里的upstream加入健康检 查,如下: 阅读全文
posted @ 2016-12-25 10:22 bass 阅读(2038) 评论(0) 推荐(0) 编辑
摘要: 但这样不安全所有的被禁掉的ip都 可以再会失效果!!!! 阅读全文
posted @ 2016-12-23 17:18 bass 阅读(299) 评论(0) 推荐(0) 编辑
摘要: userdel -r xxx 连同家目录一起删除 阅读全文
posted @ 2016-12-22 20:18 bass 阅读(837) 评论(0) 推荐(0) 编辑
摘要: make[1]: Entering directory `/usr/local/src/redis-3.2.5/src' CC adlist.o In file included from adlist.c:34: zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory zmalloc.h:55... 阅读全文
posted @ 2016-12-22 18:46 bass 阅读(984) 评论(0) 推荐(0) 编辑
摘要: 按照以上方法依次生www.app02.com.pem haproxy 实现了多域https 阅读全文
posted @ 2016-12-20 01:02 bass 阅读(2286) 评论(0) 推荐(0) 编辑
摘要: 临时修改: 永久修改: 阅读全文
posted @ 2016-12-18 16:39 bass 阅读(154) 评论(0) 推荐(0) 编辑
摘要: ngx_image_thumb是nginx中用来生成缩略图的模块。 编译前确定已经安装了libcurl-dev libgd2-dev libpcre-dev gd-devel pcre-devel libcurl-devel依赖库 安装模块: wget https://github.com/3078 阅读全文
posted @ 2016-12-18 15:53 bass 阅读(1416) 评论(0) 推荐(0) 编辑
摘要: [root@nginx07 conf]# ./../sbin/nginx -V Tengine version: Tengine/1.4.5 (nginx/1.2.8) built by gcc 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) TLS SNI support enabled configure arguments: --prefix=/app... 阅读全文
posted @ 2016-12-18 14:07 bass 阅读(4705) 评论(0) 推荐(1) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 40 下一页