This is my Ubuntu /etc/init.d/ scripts.
You need install that software first, all then install in /usr/local and the conf files in /usr/local/etc/.
- Ubutnu Server 10.04
- Redis (/usr/local/bin/redis, /usr/local/etc/redis.conf)
- MongoDB (/usr/local/bin/mongod, /usr/local/etc/mongodb.conf)
- Nginx (/usr/local/nginx/sbin/nginx, nginx.conf in /usr/local/nginx/conf)
- PHP-CGI (sudo apt-get install php5-cgi)