Describe liugehao-工作-201307 here.

i. g-wan 安装 测试 php python c java i. gwan kev value store ,测试程序编写,测试 60%

more ...

Describe tmp/weighttp here.

{{{ ./waf configure checking for libary ev :not found

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 ./configure make && make install

./waf build

./waf install #root

[root@localhost lib]# weighttp weighttp: error while loading shared ...

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.

  1. 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/无线网卡make: ***/lib/modules/3.2.0-4-amd64/build: No such file or directory here.

安装tp-link wn722n usb无线网卡时出错 {{{ wget wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 tar -jxf compat*.bz2 cd compat-wireless-2012-05-10 apt-get install gcc make ./scripts/driver-select ath9k_htc make }}} 出错: {{{ root@x201i:/home/l/software/tp-link_wn722n/compat-wireless-2012-05-10# make make -C /lib/modules/3.2.0-4-amd64/build M=/home/l/software/tp-link_wn722n ...

more ...

Describe db/debian 7 intall postgresql9.2 here.

Date 日 28 七月 2013 By liugehao Category db.

{{{ apt-get install python-software-properties wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add -  add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main"  apt-get update apt-get install postgresql }}}

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 ...

more ...