note: you need root privileges to do this.
1. Edit the start/stop script realchat:
Set SERVERDIR to the folder you placed the server into. Do not include the trailing '/'.
SERVERDIR=/home/username/rcs
2. Copy and install the script to your /etc/init.d directory:
cp ./realchat /etc/init.d/ update-rc.d realchat defaults
The script is installed and RealChat will be started automatically next time you reboot your system.