Describe linux/weighttp install here.
wiki: http://redmine.lighttpd.net/projects/weighttp/wiki {{{ git clone git://git.lighttpd.net/weighttp cd weighttp ./waf configure }}} {{{ checking for libary ev :not found }}} libev: http://dist.schmorp.de/libev/ {{{ wget http://dist.schmorp.de/libev/libev-4.15.tar.gz tar -zxf libev-4.15.tar.gz cd libev-4.15 ...
more ...Describe linux/rhel6 install apache here.
{{{ wget ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/f/fu/fuduntu/sources/apr-1.4.6-1.fu2013.src.rpm ./configure && make && make install wget ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/f/fu/fuduntu/sources/apr-util-1.4.1-3.fu2013.src.rpm ./configure --with-apr=/usr/local ...
more ...Describe linux/debian安装wn722n(ath9k-htc) here.
- Add a "non-free" component to /etc/apt/sources.list, for example: {{{
Debian 7.0 "Wheezy"
deb http://http.debian.net/debian/ wheezy main contrib non-free }}} 1. Update the list of available packages and install the firmware-atheros package: {{{
apt-get update && apt-get install firmware-atheros
}}} 1. Connect the device to your system. The ...
more ...Describe linux/AB 测试nginx socket: Too many open files (24) here.
su - root
ulimit -n 35768(要改的数)
PS:这应该不难理解,linux是通过文件来对设备进行管理,ulimit -n是设置同时打开文件的最大数值,ab中每一个连接打开一个设备文件,所以设置这个值就可以解决了。
详细配置:[[linux/sysctl.conf limits.conf]]
more ...Describe linux/apache ab 测试 here.
{{{ sudo apt-get install apache2-utils
ab -n 10000 -c 500 http://www.baidu.com/ -c 并发用户数 -n 请求总数 }}}
more ...Describe linux/debian中文乱码 here.
{{{ apt-get install ttf-wqy-zenhei(安装字体) apt-get install ibus ibus-gtk ibus-pinyin(安装输入法) 打开终端,执行命令:
dpkg-reconfigure locales 安装时选择的是英语,会缺少中文字体,用以下命令安装字体:
apt-get install xfonts-intl-chinese wqy*
}}}
more ...Describe linux/flash安装 here.
Installing using the plugin tar.gz:
1. Unpack the plugin tar.gz and copy the files to the appropriate location.
1. Save the plugin tar.gz locally and note the location the file was saved to.
1. Launch terminal and change directories to the location the file was saved to ...
Describe linux/sysctl.conf limits.conf here.
vi /etc/security/limits.conf {{{ soft nproc 2047 hard nproc 16384 soft nofile 65536 hard nofile 65536 soft memlock unlimited hard memlock unlimited }}}
vi /etc/sysctl.conf {{{ kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 fs.file-max = 6815744 net.ipv4.ip_local_port_range = 9000 65500 net.core.rmem_default = 262144 net.core ...
more ...smb.conf
{{{
Sample configuration file for the Samba suite for Debian GNU/Linux.
This is the main Samba configuration file. You should read the
smb.conf(5) manual page in order to understand the options listed
here. Samba has a huge number of configurable options most of which
are not shown in ...
more ...drupal安装模块上传错误
装好drupal7后,安装模块时出现了这样的错误: {{{
WARNING: You are not using an encrypted connection, so your password will be sent in plain text. Learn more.
To continue, provide your server connection details
Connection method
FTP CONNECTION SETTINGS .....
etc }}}
以前wordpress安装插件时也出现过类似的错误,我觉得可能是权限的问题,于是我给了整个module目录777的权限,再试,错误还在。
于是上网找解决方法,发现有一个外国朋友的解决方案,如下:
{{{
I had the same problem with drupal 7rc4 ...
more ...