Remove excess packages (apache2, sendmail, bind9, samba, nscd, etc) and install the basic components needed for a light-weight HTTP(S) web server:
Includes sample nginx config files for PHP sites. You can create a basic site shell (complete with nginx vhost) like this:
./setup-debian.sh site example.com
When running the iptables or dropbear install you must specify a SSH port. Remember, port 22 is the default. It's recommended that you change this from 22 just to save server load from attacks on that port.
wget --no-check-certificate https://raw.github.com/Xeoncross/lowendscript/master/setup-debian.sh
chmod +x setup-debian.sh
./setup-debian.sh dotdeb # not required if using Ubuntu
./setup-debian.sh system
./setup-debian.sh dropbear [port]
./setup-debian.sh iptables [port]
./setup-debian.sh mysql
./setup-debian.sh nginx
./setup-debian.sh php
./setup-debian.sh exim4
./setup-debian.sh site [domain.tld]
./setup-debian.sh mysqluser [domain.tld]
./setup-debian.sh wordpress [domain.tld]
./setup-debian.sh 3proxy 3128
./setup-debian.sh 3proxyauth username password
This repository uses tagged releases and all new additions need to be added to the development branch.
./setup-debian.sh webmin
Supported only on OpenVZ only, vzfree reports correct memory usage
./setup-debian.sh vzfree
Run the classic Disk IO (dd) & Classic Network (cachefly) Test
./setup-debian.sh test
Neat python script to report memory usage per app
./setup-debian.sh ps_mem
Updates Ubuntu /etc/apt/sources.list to default based on whatever version you are running
./setup-debian.sh apt
./setup-debian.sh info
Either you want to generate ssh-keys (id_rsa) or a custom key for something (rsync etc) Note: argument is optional, if its left out, it will write "id_rsa" key
./setup-debian.sh sshkey [optional argument_1]
Fixing locale on some OpenVZ Ubuntu templates
./setup-debian.sh locale
Configure or reconfigure MOTD
./setup-debian.sh motd