Auto-start Sphinx (searchd) after reboot Linux

By default, after you install and configure Sphinx, you will find that once your OS restarts, search will not be working. That is because searchd is not setup to auto start. The following will solve that problem.

Create file /etc/init.d/searchd.

Copy the following into searchd.

Add execute to the file

Register with auto start

Simple Shell Script to Send Email Ubuntu

We run a local SVN sever that syncs to Amazon S3 + an EC2 instance. Syncing locally to EC2 can take anywhere from 10-20 minutes and instead of waiting for the script to finish I decided to write a quick little email notify script. Enjoy.

Starting Hadoop HBase REST Server on CDH3 Ubuntu 10.04

Here we can start the REST server on port 59999

Test that REST has started

http://localhost:59999/version