Monthly Archives: 十二月 2011
Adding the Cherokee Web Server PPA to Ubuntu
The following commands will add the Cherokee Web Server PPA to Ubuntu (version 9.10 and higher). The first command adds the extremely handy add-apt-repository program to your system. The second adds the Cherokee Personal Package Archive. sudo apt-get install python-software-properties … Continue reading
mysql
Error: Host ‘xxx’ is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts’ Errno.: 1129 max_connect_errors=1000
centos 6 安装 cherokee
1, wget http://www.cherokee-project.com/download/1.2/1.2.101/cherokee-1.2.101.tar.gz \ -O – | gzip -dc – | tar xfv – 2, ./configure –localstatedir=/var \ –prefix=/usr \ –sysconfdir=/etc \ –with-wwwroot=/var/www 3, yum install gcc yum install gettext yum install make make make install cherokee-admin
possible SYN flooding on port 80. Sending cookies
cat /proc/sys/net/ipv4/tcp_max_syn_backlog echo 20480 > /proc/sys/net/ipv4/tcp_max_syn_backlog net.ipv4.tcp_max_syn_backlog = 20480