!!! Computerhok 2013
[{TableOfContents }]
!! Intro
The old computerhok is running for almost 5 years now (Ubuntu 8.04, both hypervisor and guests), time for something new.
!! Functions to be ported from old to new
* Gallery
* JSPWiki, including apache frontend
* home for geocaching ''hof'' images
* nagios (on a separate guest or on hypervisor?)
* fail2ban like solution (see current {{~~/bin/cron/blockHost.sh}})
* backuphost for krm2DB
* a backup hardware node on remote location, and __easy__ backup
* dhfds
* [http://www.esthercreations.nl] can retire
* webmin still necessary ?
* mail server (not open relay!, see /etc/postfix/main.cf)
* [uptime script|http://www.computerhok.nl/cgi-bin/user/uptime.cgi]
* OpenVZ logo should go from homepage
!! VirtualBox
We will no longer use OpenVZ, it is too restrictive in choice of guest OS'es.\\
We intend to use [VirtualBox|VirtualBox-4.1] as hypervisor, and Ubuntu 12.04 LTS as both host and guest OS.
!! Work in progress / install log
! Ubuntu 12.04.1 LTS
* Installed Ubuntu 12.04.1 LTS from USB stick.
** LVM setup and 10GB root partitiion
** temporary wlan0 (wireless) as primary interface
** IP address 10.0.0.150
** only SSH server
** Locales: en_US.UTF-8 and nl_NL.UTF-8 (first one default)
! kernel recompile
* recompile kernel because of [DSDT issue|Installatie Ubuntu#KernelCompile]
! VirtualBox installation
* download __4.2.6__ from [https://www.virtualbox.org/wiki/Linux_Downloads] , not the Ubuntu supplied version (4.1.12)
* install with dpkg, along with a couple of qt libs
Deleted the kernel source again to free up some disk space:
{{{
root@apollo:~/src# du -cms linux-source-3.2.0/
5172 linux-source-3.2.0/
5172 total
root@apollo:~/src# df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 9.2G 6.6G 2.2G 76% /
root@apollo:~/src# rm -rf linux-source-3.2.0/
root@apollo:~/src# df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 9.2G 1.6G 7.2G 18% /
}}}
! Extra installed packages
* See [DSDT issue|Installatie Ubuntu#KernelCompile]
* vim
* htop