2019年4月15日
摘要: centos6 命令添加防火墙端口 需要开放的端口:iptables -I INPUT -p tcp -m tcp --dport 80 -j ACCEPT 保存端口:service iptables save 1、基本操作 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 阅读全文
posted @ 2019-04-15 15:17 潇潇六月雨 阅读(925) 评论(0) 推荐(0)
摘要: nginx 安装统计模块,便于观察nginx的状态 在nginx安装时添加 --with-http_stub_status_module 配置: 进入nginx.conf 新建一个location 模块 location /status { stub_status on; access_log of 阅读全文
posted @ 2019-04-15 15:06 潇潇六月雨 阅读(102) 评论(0) 推荐(0)
摘要: 在nginx安装时添加 --with-http_stub_status_module 配置: 进入nginx.conf 新建一个location 模块 location /status { stub_status on; access_log off; allow 174.16.10.110; de 阅读全文
posted @ 2019-04-15 14:41 潇潇六月雨 阅读(153) 评论(0) 推荐(0)
摘要: 在百度上查到了解决的办法,现在分享给大家 1、重启网卡提示Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]: 2、这是因为克隆的机器没有正确的ma 阅读全文
posted @ 2019-04-15 12:11 潇潇六月雨 阅读(267) 评论(0) 推荐(0)
摘要: 1、 对于开发人员 合并css, 背景图片, 减少mysql查询等 2、对于运维nginx 的expires , 利用浏览器缓存等,减少查询 3、 利用cdn来相应请求 4、最终剩下的。不可避免的请求--服务器集群+负载均衡来支撑 阅读全文
posted @ 2019-04-15 12:08 潇潇六月雨 阅读(175) 评论(0) 推荐(0)