This is the default index.html page that is distributed with nginx on Fedora. It is located in /usr/share/nginx/html.
You should now put your content in a location of your choice and edit the root configuration directive in the nginx configuration file /etc/nginx/nginx.conf.
Thursday, April 21, 2011
Tuesday, April 19, 2011
install node.js on AWS CentOS
Thanks to @wavded post on http://wavded.tumblr.com/post/475957278/hosting-nodejs-apps-on-centos-5
when I upgrade to v0.5.10 on CentOS in aws ec2
under your node source directory
$ git pull
$ ./configure
$ make
...
Waf: Leaving directory `/home/ec2-user/git/node/out'
'build' finished successfully (31m18.692s)
$ sudo make install
...
Waf: Leaving directory `/home/ec2-user/git/node/out'
'install' finished successfully (0.324s)
and test
$ make test.
when I upgrade to v0.5.10 on CentOS in aws ec2
under your node source directory
$ git pull
$ ./configure
$ make
...
Waf: Leaving directory `/home/ec2-user/git/node/out'
'build' finished successfully (31m18.692s)
$ sudo make install
...
Waf: Leaving directory `/home/ec2-user/git/node/out'
'install' finished successfully (0.324s)
and test
$ make test.
Wednesday, April 6, 2011
if you can't run couchdb on port 80.
It's because the user to run couchdb is (couchdb) who is not allow to run on port 80. You need to rebuild couchdb and change COUCHDB_USER to root as follows;
1. cd to your couchdb source code directory
$ cd svn/couchdb
2. change COUCHBD_USER to root
$ vi etc/default/couchdb
change COUCHDB_USER=couchdb to COUCHDB_USER=root
3. make and install it again.
$ make && sudo make install
4. then you can change couchdb local.ini configuration file to use port = 80. and restart the couchdb service again.
1. cd to your couchdb source code directory
$ cd svn/couchdb
2. change COUCHBD_USER to root
$ vi etc/default/couchdb
change COUCHDB_USER=couchdb to COUCHDB_USER=root
3. make and install it again.
$ make && sudo make install
4. then you can change couchdb local.ini configuration file to use port = 80. and restart the couchdb service again.
if you can 't run couchjs because of libjs.so missing.
when run /usr/local/bin/couchjs and got error as follows;
./couchjs: error while loading shared libraries: libjs.so: cannot open shared object file: No such file or directory
try to copy /usr/local/lib/libjs.so to /usr/lib
$ sudo cp /usr/local/lib/libjs.so /usr/lib
or make a symbolic link from /usr/lib/libjs.so to /usr/local/lib/libjs.so
$ sudo ln -s /usr/local/lib/libjs.so /usr/lib/libjs.so
./couchjs: error while loading shared libraries: libjs.so: cannot open shared object file: No such file or directory
try to copy /usr/local/lib/libjs.so to /usr/lib
$ sudo cp /usr/local/lib/libjs.so /usr/lib
or make a symbolic link from /usr/lib/libjs.so to /usr/local/lib/libjs.so
$ sudo ln -s /usr/local/lib/libjs.so /usr/lib/libjs.so
Subscribe to:
Posts (Atom)