Skip to content

Instantly share code, notes, and snippets.

@dominicsayers
Last active January 2, 2016 08:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dominicsayers/8274234 to your computer and use it in GitHub Desktop.
Save dominicsayers/8274234 to your computer and use it in GitHub Desktop.
Post-install server configuration Ubuntu Server 13.10 64-bit
  1. sudo su
  2. apt-get install ssh openssh-server
  3. pico /etc/network/interfaces
iface eth0 inet static
	address		192.168.1.99
	netmask		255.255.255.0
	network		192.168.1.0
	broadcast	192.168.1.255
	gateway		192.168.1.254
	dns-nameserver	8.8.4.4 4.4.2.2
  1. restart networking
  2. pico /etc/hosts and change the second IP address to the same as above
  3. pico /etc/hostname and change the hostname to the FQDN
  4. service hostname restart
  5. pico /etc/apt/sources.list and enable the partners and extras repositories.
  6. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 437D05B5 3E5C1192
  7. apt-get update
  8. apt-get dist-upgrade
  9. reboot and log back in when it's rebooted
  10. sudo su
  11. pico /etc/apt/sources.list.d/webmin.list
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
  1. wget http://www.webmin.com/jcameron-key.asc
  2. sudo apt-key add jcameron-key.asc
  3. apt-get update
  4. apt-get install ntp dkms iptables-persistent htop webmin
  5. Go to https://xyz.al.gy:10000/ (use your own instance of course)
  6. Navigate to Webmin | Webmin configuration | Webmin themes | Install theme | From ftp or http URL
  7. Enter https://webmin-theme-stressfree.googlecode.com/files/theme-stressfree-2.10.tar.gz and click Install theme
  8. Click Return to themes list, select StressFree theme and click change
  9. Refresh the browser a few times until all is well.
  10. Navigate to System | Software package updates and configure Webmin to install all updates.
  11. Navigate to Firewall and configure the server to apply firewall rules at startup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment