Wednesday, March 28, 2012

Installing Ubuntu Server 11.10 on Primergy Server TX100 S2

I have installed Ubuntu Server 11.10 on Fujitsu Primergy Server TX100 S2.

1. Resources

Primergy TX100 S2:
Newegg.com
Youtube
Fujitsu

KVM Installation:
Ubuntu Documentation: KVMInstallation

Static IP:
HowtoForge:The Perfect Server - Ubuntu 11.10 [ISPConfig 3] - Page 3

2. Preparation

I removed the internal 250TB HDD and installed 2 x 2TB HDD (Hitachi Deskstar 3Gb/s 3.5" 7200RPM).

I went into the BIOS setting using F2 key. Under the Boot menu, set the CD/DVD on top of the priority list. Under Advanced System Configuration, change the SATA Mode from RAID to AHCI.

3. Ubuntu Installation

I used a CD that contains Ubuntu Server 11.10 installer downloaded from Ubuntu site. For partition, I selected Guided - Use entire disk and set up LVM option. For software options, I selected (1) Basic Ubuntu Server, (2) OpenSSH server, (3) PostgreSQL database server, (4) Print Server, (5) Virtual Machine host -- for now anyway.

It finished installation without any problem. It even found a correct Network driver automatically. It was simple.


4. Check the installation.

(a) Check the network connection.
$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:19:99:c0:81:19  
          inet addr:192.168.1.9  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::219:99ff:fec0:8119/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:138 errors:0 dropped:0 overruns:0 frame:0
          TX packets:123 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:27347 (27.3 KB)  TX bytes:19638 (19.6 KB)
          Interrupt:17 Memory:c0020000-c0040000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:50 errors:0 dropped:0 overruns:0 frame:0
          TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:22193 (22.1 KB)  TX bytes:22193 (22.1 KB)

virbr0    Link encap:Ethernet  HWaddr ee:78:98:ce:2e:bf  
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_req=1 ttl=64 time=2.45 ms
64 bytes from 192.168.1.1: icmp_req=2 ttl=64 time=0.635 ms
64 bytes from 192.168.1.1: icmp_req=3 ttl=64 time=0.616 ms
...

(b) Check its CPU.
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model  : 37
model name : Intel(R) Core(TM) i3 CPU         540  @ 3.07GHz
stepping : 5
cpu MHz  : 1197.000
cache size : 4096 KB
physical id : 0
siblings : 4
core id  : 0
cpu cores : 2
apicid  : 0
initial apicid : 0
fpu  : yes
fpu_exception : yes
cpuid level : 11
wp  : yes
flags  : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm arat dts tpr_shadow vnmi flexpriority ept vpid
bogomips : 6118.75
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
...
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model  : 37
model name : Intel(R) Core(TM) i3 CPU         540  @ 3.07GHz
stepping : 5
cpu MHz  : 1197.000
cache size : 4096 KB
physical id : 0
siblings : 4
core id  : 2
cpu cores : 2
apicid  : 5
initial apicid : 5
fpu  : yes
fpu_exception : yes
cpuid level : 11
wp  : yes
flags  : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm arat dts tpr_shadow vnmi flexpriority ept vpid
bogomips : 6117.84
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

(c) Check KVM (virtual machine hosting).
$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

5. Make IP address static.

Since the default network address is using DHCP, I want to change it to be a static IP.
$ sudo vi /etc/netwrok/interfaces
# The primary network interface
auto eth0
iface eth0 inet dhcp
Now change that to be like:
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

No comments:

Post a Comment