Thursday, May 26, 2011

start stop your nginx servers

$ sudo service nginx stop


$ sudo service nginx start

Tuesday, May 10, 2011

config cassandra on AWS EC2

http://nubetech.co/tag/aws

Friday, May 6, 2011

Installing Nginx with header-more on CentOS 5

1. to solve cross-dimension request problem for get RSS from YQL on AWS
2. install PCRE library.
     $ sudo yum install pcre-devel
3. download headers-more-nginx-module source code.
     $ git clone git://github.com/agentzh/headers-more-nginx-module.git
4. download nginx-0.8.54.tar.gz source code, configure and build.
     $ wget 'http://sysoev.ru/nginx/nginx-0.8.54.tar.gz'
     $ tar -xzvf nginx-0.8.54.tar.gz
     $ cd nginx-0.8.54
     $ ./configure --prefix=/opt/nginx --add-module=../headers-more-nginx-module
     $ make && sudo make install