Ubuntu installation on Magnia SG20: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
mNo edit summary
Line 25: Line 25:


Remove CDROM and reboot.
Remove CDROM and reboot.
== Add extra repository ==
Add the repository for webmin, see http://www.webmin.com/


== Install updates ==
== Install updates ==
Line 31: Line 35:
  apt-get upgrade
  apt-get upgrade
  apt-get dist-upgrade
  apt-get dist-upgrade
== Add extra repositories ==


== Install extra packages ==
== Install extra packages ==
Line 48: Line 50:
* privoxy ''web advertising blocker''
* privoxy ''web advertising blocker''
* postfix ''mail handler; added but you will need to reconfigure''
* postfix ''mail handler; added but you will need to reconfigure''
== Copy everything to the EVMS volume ==
I've done this while the system is running but it's better to do it with a rescue cd so that files are not changing while copying takes place.
# Boot from System Rescue CDROM
# Mount partitions
# Perform copy; cp -a
# Edit grub configuration to point at /dev/hda2
# Edit /etc/fstab to point at /dev/evms/root and /dev/evms/swap
# Reboot

Revision as of 05:00, 25 July 2007

Connect hard drive to desktop system

In my case, the system is 8track. I use a ribbon cable and a 44pin laptop to 40 pin desktop IDE adapter. The drive is one of the 30 GB Toshiba 2.5" 4200rpm drives that came in the system when I got it.

Set up virtual machine

I create a VMware workstation virtual machine using the hard drive on /dev/hda and the cdrom connected to an ISO rescue image called "System Rescue CD".

Boot from the System Rescue CD

Use evmns to partition the hard drive and create filesystems. Create two volumes, the first is swap (500MB) the second is /root (3GB).

Putting swap first means that the second partition can easily be expanded to fill all available space. Make a reiser filesystem on /dev/evms/root and a swap filesystem on /dev/evms/swap.

Install Ubuntu

Boot from the Ubuntu Server install cd, use the "manual" option for partitioning, tell it to install Ubuntu into the third partition. Tell it to install LAMP (Apache + MySQL + PHP)

Remove CDROM and reboot.

Add extra repository

Add the repository for webmin, see http://www.webmin.com/

Install updates

apt-get update
apt-get upgrade
apt-get dist-upgrade

Install extra packages

  • evms evmsn evmsgui evms-bootdebug support for RAID
  • emacs-nox
  • webmin web-based system management utility
  • oclock to test X11 connections, and for fun, run with "oclock -transparent &"
  • synaptic X11 GUI package manager
  • xauth to allow connecting to X11 applications such as synaptic
  • mgetty mgetty-fax added to support incoming calls on modem line and faxing
  • shorewall to manage the firewall; shorewall is supported in webmin
  • nfs-kernel-server so I can share files with other Linux boxes
  • cupsys-client added to allow webmin to do printer management
  • privoxy web advertising blocker
  • postfix mail handler; added but you will need to reconfigure

Copy everything to the EVMS volume

I've done this while the system is running but it's better to do it with a rescue cd so that files are not changing while copying takes place.

  1. Boot from System Rescue CDROM
  2. Mount partitions
  3. Perform copy; cp -a
  4. Edit grub configuration to point at /dev/hda2
  5. Edit /etc/fstab to point at /dev/evms/root and /dev/evms/swap
  6. Reboot