Posts Tagged ‘ Ubuntu

No sound in Firefox on Ubuntu

For some reason I had no sound in Firefox under Ubuntu 9.04 after upgrading from 8.04 and 8.10. In all other applications the sound worked without any problems. After some research I found that the package flashplugin-nonfree-extrasound fixes the issue. You can install it with the following command.

sudo aptitude install flashplugin-nonfree-extrasound

Hope this helps someone out there.

Installing Xen 3.1 under Ubuntu

Let’s install Xen under Ubuntu. The installation is very uncomplicated so start with installing the necessary packages.

sudo aptitude install xen-hypervisor xen-utils xen-tools linux-image-xen

After this step run update-grub to make sure that the hypervisor is added to menu.lst. The command will show some output.

Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found Xen hypervisor 3.1, kernel: /boot/vmlinuz-2.6.22-14-xen
Found kernel: /boot/vmlinuz-2.6.22-14-server
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Now it is time to restart the box to boot the hypervisor. There are a lot of different commands to reboot a Linux box. I prefer init 6. When the OS comes up without any problem, everything should be fine. You can approve if the right kernel is loaded by executing uname -a.

Adapt Ubuntu for my Needs

After the initial installation I change different things for my claims. Do not forget to update your system before the following steps. This can be done by executing the following commands:

aptitude update
aptitude safe-upgrade

  1. Remove CD repository from /etc/apt/sources.list.
  2. Install vim to get my favourite text editor.
    aptitude install vim
  3. Enable syntax highlighting in /etc/vim/vimrc.
  4. Remove # from the following rows in ~/.bashrc to make daily business easier.
    # alias ll='ls -l'
    # alias la='ls -A'
    # alias l='ls -CF'
  5. Install some other often used tools.
    aptitude install mc traceroute lynx screen

Installing Ubuntu

Alright, let’s start installing Ubuntu Linux on the server. You can find my hardware specs in previous post in German. First of all download the iso image from an Ubuntu mirror of your choice. I have got the image from the Link below:

Download

After downloading the image burn it to a cd and boot the computer/server from it. Most of the time you can follow the instructions on the screen. I’ve changed the harddisk layout for my needs. Because I’m going to install Xen on the server, I decided to use the following partitioning:

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1216 9767488+ 83 Linux
/dev/sda2 1217 1459 1951897+ 82 Linux swap / Solaris
/dev/sda3 1460 13617 97659135 83 Linux
/dev/sda4 13618 30515 135733185 83 Linux

  • /dev/sda1 will be mounted to /
  • /dev/sda2 is the swap area
  • /dev/sda3 will be mounted to /home for storing images for the domU’s
  • /dev/sda4 will be exported as one harddisk to a special domU

During the package selection I choose only SSH-Server. Everything else will be installed after finishing the installation. So if everything is ready, reboot into your fresh installed Ubuntu Linux.

Server Upgrade

Mein Server hat endlich neue Hardware spendiert bekommen. Es handelt sich dabei leider auch nicht um komplett aktuelle Hardware, aber immerhin besser als die alte AMD-Möhre. Die Ausstattung sieht nun wie folgt aus:

  • Gehäuse: Supermicro 1HE
  • Mainboard: Supermicro PDSMi+
  • CPU: Intel Pentium 4 3,0 GHz auf Sockel 775
  • RAM: 4 GB DDR2 von Kingston
  • Festplatte: 250 GB SATA2 von Western Digital

Hoffen wir darauf, dass der Server schön stabil läuft. Als OS wird darauf ein 64Bit Ubuntu 7.10 zum Einsatz kommen. Die Installation werde ich in einem weiteren Post näher beschreiben.