Posts Tagged Server
Same disclaimer as last post: This is mostly for my memory, but you’re welcome to the comments section below.
This is for Ubuntu Server 12.04 64-bit.
In order to install webmin from apt, follow these instructions, reposted here for my own convenience:
edit /etc/apt/sources.list and add to the bottom:
deb http://download.webmin.com/download/repository/ sarge contrib deb http://webmin.mirror.somersettechsolutions.co.uk/repository/ sarge contrib
then, to add the gpg signature, run:
sudo wget http://www.webmin.com/jcameron-key.asc -O - | sudo apt-key add -
sudo apt-get update sudo apt-get install webmin
If it complains about missing dependencies, first edit /etc/apt/sources.list and uncomment any lines for universe. Then, install these:
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
Coming up…even more…
I’m mostly documenting this as a way for me to remember it, but anyone is free to learn from my doings or leave their own comments.
Configuration is 3x2TB hard drives in bays 0, 1, 2. Bay 3 is empty. (I’m considering adding a 4th 2TB drive and reshaping to RAID-6 at some point in the future.)
Partitioned as follows (MBR):
- 50GB as RAID
- 4GB as RAID
- 1.9TB (max) as RAID
RAID setup (mdadm) as follows:
- md0: partition 1 (50GB) RAID-5, 3 units, 0 spares. EXT4, bootable, mounted at / [Total 100GB+parity]
- md1: partition 2 (4GB) RAID-5, 3 units, 0 spares. swap [Total 8GB+parity]
- md2: partition 3 (1.9TB) RAID-5, 3 units, 0 spares. EXT4, mounted at /srv [Total 3.8TB+parity]
Packages installed during installation:
GRUB installed to MBR
The very first thing to do after installation is to update. SSH in and run the following:
sudo apt-get update sudo apt-get upgrade
May get the following complaint about kernel updates being held back:
The following packages have been kept back: linux-headers-generic-lts-quantal linux-image-generic-lts-quantal 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
This is the fix:
sudo apt-get dist-upgrade
Coming up… more installations…