install_server.sh
Includes changes from a dozen bug reports and pull requests. Was tested on Ubuntu, Debian and CentOS.