Building IHL from Ubuntu

Download the Ubuntu 8.04.4 Alternate ISO

Basic Configuration of Ubuntu

 * 1) If possible, connect the eth0 interface (which will become the WAN port of the server) to working internet that will provide DHCP
 * 2) Press F4 and choose Install a Command-Line System
 * 3) Select your preferred language
 * 4) Select your country
 * 5) Detect keyboard layout? No
 * 6) Select origin of the keyboard
 * 7) Select keyboard layout
 * 8) Enter hostname for the system: inveneo-hub

Setting up the Partitions
There will be three partitions, whose sizes must add up to the entire size of your drive:
 * 1) The first partition contains the operating system and all your applications. The operating system requires 5GB; Inveneo recommends at least 10GB, plus whatever space you need for any extra application programs.  It should be mounted at / and as ext3.
 * 2) The second partition contains all your data being served (including storage for client documents), requiring at least 10GB, and, depending on your applications and clients, possibly much more. It should be mounted at /srv and as ext3.
 * 3) The third partition is swap. The rule of thumb for the swap partition is twice the amount of RAM on your system.

For example: A machine has a 80GB hard drive and 1GB of memory. The first partition is 10GB, leaving 70GB free. Since there is 1GB of memory, SWAP should be 2GB. This leave 68GB for the second partition.

These instructions are for a RAID system. Even if your system is not a RAID system, still follow the RAID instructions. This allows system to be RAID in the future but will not negatively effect a system with only one hard drive.

First Partition: the Operating System and Applications
If there are two hard drives, each hard drive must have the same partitions.
 * 1) Partitioning Method: Manual
 * 2) Select disk to put the partition on, usually sda or hda
 * 3) Create new empty partition table on this device? Yes
 * 4) Select the partition just created, should be labeled "FREE SPACE"
 * 5) Create a new partition
 * 6) Set size of first partition.
 * 7) Type for the new partition: Primary
 * 8) Location for the new partition: Beginning
 * 9) Use as: Physical volume for RAID
 * 10) Done setting up the partition

Second Partition: the Data Area

 * 1) Select the remaining free space on the disk, labeled FREE SPACE
 * 2) Create a new partition
 * 3) Type for the new partiton: Primary
 * 4) Location for the new partition: Beginning
 * 5) Use as: Physical volume for RAID
 * 6) Done setting up the partition

Third Partition: the Swap Area

 * 1) Select the remaining free space on the disk, labeled FREE SPACE
 * 2) Create a new partition
 * 3) Select the size for this partition. This is the SWAP partition, which should be twice the size of the computer's RAM.
 * 4) Type for the new partiton: Primary
 * 5) Location for the new partition: Beginning
 * 6) Use as: Physical volume for RAID
 * 7) Done setting up the partition

Create RAID
 
 * 1) The partitions are now set, there should not be any space labeled FREE SPACE.
 * 2) Select Configure software RAID
 * 3) Write the changes to the storage devices and configure RAID? Yes
 * 4) Multidisk configuration actions: Create MD device
 * 5) Multidisk device type: RAID1
 * 6) Number of active devices for the RAID1 array: 2
 * 7) *Even if you only have 1 disk, still specify the number of drives as 2. This allows you to have a RAID array in the future.  But will not negatively effect a machine with only one drive.
 * 8) Number of spare devices for the RAID1 array: 0
 * 9) *Unless you have 3 drives that you want to use for RAID, choose 0. If you have one or two hard drives, choose 0.
 * 10) Select Active devices for the RAID01 multidisk device: /dev/sda1 (or /dev/hda1)
 * 11) *If you already have a second disk drive, also select: /dev/sdb1 (or /dev/hdb1)
 * 1) Multidisk configuration actions: Create MD device
 * 2) Multidisk device type: RAID1
 * 3) Number of active devices for the RAID1 array: 2
 * 4) Number of spare devices for the RAID1 array: 0
 * 5) Select Active devices for the RAID01 multidisk device: /dev/sda2 (or /dev/hda2)
 * 6) *If you already have a second disk drive, also select: /dev/sdb2 (or /dev/hdb2)
 * 1) Multidisk configuration actions: Create MD device
 * 2) Multidisk device type: RAID1
 * 3) Number of active devices for the RAID1 array: 2
 * 4) Number of spare devices for the RAID1 array: 0
 * 5) Select Active devices for the RAID01 multidisk device: /dev/sda3 (or /dev/hda3)
 * 6) *If you already have a second disk drive, also select: /dev/sdb3 (or /dev/hdb3)


 * 1) Multidisk configuration actions: Finish

Configure RAID

 * 1) Select the first partition in the RAID1 devices, usually listed as RAID1 device #0. In the partitioning example previously mentioned, this is the 10GB drive.
 * 2) Use as: Ext3 journaling file system
 * 3) Mount point: / = the root file system
 * 4) Done setting up the partition


 * 1) Select the second partition in the RAID1 devices, usually listed as RAID1 device #1. In the partitioning example previously mentioned, this is the 68GB drive.
 * 2) Use as: Ext3 journaling file system
 * 3) Mount point: /srv - data for services provided by this system
 * 4) Done setting up the partition


 * 1) Select the third partition in the RAID1 devices, usually listed as RAID1 device #2. In the partitioning example previously mentioned, this is the 2GB drive.
 * 2) Use as: swap area
 * 3) Done setting up the partition
 * 4) Finish partitioning and write changes to the disk
 * 5) Write changes to the disk? Yes

Final Configurations

 * 1) Create full name for the new user
 * 2) Create the user: inveneo
 * 3) Password: 1nvene0
 * 4) Verify the password by re-typing the password
 * 5) Is the system clock set to UTC? Yes

Now the base system will be installed. Remove the CD and reboot into Ubuntu.

Install and Run the Inveneo Bootstrap
setterm -blank (note: this just keeps the screen from power-saving during the install process) cd /tmp wget http://svn.inveneo.org/repos/hub-linux-ubuntu/tags/release-1.0.2/install/bootstrap.sh sudo bash bootstrap.sh
 * Log into the hub, using your chosen username and password, and issue these commands:
 * when asked a question about dhclient.conf having been modified, press enter to accept N (the default)
 * When it finishes, press ENTER to reboot the system

Install Inveneo Hub Linux
setterm -blank cd /opt/install/bin sudo ./install-hub-linux.py
 * Log into the hub and issue these commands:


 * During the install process, several screens will appear, asking various things. Do NOT enter passwords; always just hit the ENTER key (i.e. use the default settings).  All of this will be overwritten by the install packages.


 * When the scripts finish running, Inveneo Hub Linux is installed

Return to Inveneo Hub Server Linux 1.x Return to Main Page