Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2914614
  • 博文数量: 454
  • 博客积分: 4860
  • 博客等级: 上校
  • 技术积分: 6375
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-13 10:08
个人简介

10年工作经验,专研网站运维。

文章分类

全部博文(454)

文章存档

2017年(11)

2016年(13)

2015年(47)

2014年(36)

2013年(147)

2012年(64)

2011年(136)

发布时间:2015-12-15 18:10:52

http://www.cyberciti.biz/tips/linux-unix-bsd-nginx-webserver-security.htmlhttp://www.cyberciti.biz/tips/using-nginx-as-reverse-proxy.htmlhttp://www.cyberciti.biz/tips/linux-iptables-4-block-all-incoming-traffic-but-allow-ssh.htmlhttp://www.cyberciti.biz/tips/howto-limit-linux-syn-attacks.html.........【阅读全文】

阅读(2958) | 评论(0) | 转发(0)

发布时间:2015-12-15 15:49:03

一、概述:    Apache服务器用于开奖,就是自己访问自己,每10分钟大量的访问,可能每秒钟1000的访问量。所以需要配置Apache高并发。二、配置:1. 编辑主配置文件vim /etc/apache/apache.confTimeout 600KeepAlive OnMaxKeepAliveRequests 500KeepAliveTimeout 1202. 编辑prefork配置文件vim /etc/apac.........【阅读全文】

阅读(6967) | 评论(0) | 转发(0)

发布时间:2015-12-14 16:15:57

1.  echo "nameserver 8.8.8.8" > /etc/resolv.conf2. vim /etc/network/interfaceschange ip address and gateway3.  vim /etc/ssh/sshd_configchange port to 12344. reboot server5. Configure Iptablesiptables -Liptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j A.........【阅读全文】

阅读(2304) | 评论(0) | 转发(0)

发布时间:2015-12-14 15:41:37

描述:    公司在菲律宾,最近内网访问香港服务器非常慢,甚至连接不上,但是访问Google等还是速度很快的。但是别人访问香港服务器很快,没问题,到底问题出在哪?troubleshooting:    查看路由器的上下行当前速率,还有上下行的最大速率,发现上行带宽被沾满。原因:    &n.........【阅读全文】

阅读(3410) | 评论(0) | 转发(0)

发布时间:2015-12-10 15:28:03

所有网站都需要备份,我就写了一份简单地网站备份计划脚本。vim /etc/bak.sh#!/bin/bash# Delete expire file before 11 days.find /home/backup_data -name ecshop* -mtime +11 -exec rm {} \;# (1) set up all the mysqldump variablesUSER=rootPASSWORD="******"OUTPUT="/home/backup_data"DBSERVER=127.0.0.1.........【阅读全文】

阅读(1891) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册