Ubuntu 8: Difference between revisions

From CSLLabWiki
Jump to navigation Jump to search
Line 81: Line 81:
#deb http://babbage.cs.transy.edu/ubuntu-amd64/ hardy-proposed main restricted universe multivers
#deb http://babbage.cs.transy.edu/ubuntu-amd64/ hardy-proposed main restricted universe multivers
</pre></code>
</pre></code>
# apt-get update
# apt-get upgrade
# apt-get dist-upgrade


#
#

Revision as of 22:54, 2 September 2009

Installation and Configuration

Installation i386 (32-bit)

  1. Download and burn the latest Ubuntu Server-Edition LTS ISO for i386 (8.04.3 used for these instructions)
  2. Boot from CD

Installation x86_64 (64-bit)

  1. Download and burn the latest Ubuntu Server-Edition LTS ISO for x86_64 (amd64) (8.04.3 used for these instructions)
  2. Boot from CD


Installation (both 32 and 64 bit)

  1. Select "English"
  2. Select "Install Ubuntu Server"
  3. Select "English"
  4. Select "United States"
  5. Detect keyboard layout -> NO
  6. Select "USA"
  7. Select "USA"
  8. !!! It will now attempt to use DHCP.. cancel this or select "Go Back" on the following screen
  9. Select "Configure network manually"
    1. Enter the IP address of the workstation. Ex: 10.20.3.15
    2. Enter the Netmask of "255.255.255.0"
    3. Enter the Gateway of "10.20.3.1"
    4. Enter the Nameservers "10.20.70.16 10.20.70.17"
  10. Hostname: Set the FQDN of the machine as the hostname. Ex: clarke.cs.transy.edu
  11. Select "Eastern" time zone

Partitioning (Single Disk)

  1. Select the "Manual" method
  2. Use the arrow keys to highlight the disk (usually sda) and press enter
  3. Confirm the dialog to create a new empty partition table.
  4. Select the "FREE SPACE" and press enter.
  5. Create the following partitions:
    1. (TotalSpace - 2 GB), primary, mountpoint: /, use as: ext3, options: bootable
    2. 2 GB, logical, use as: swap
  6. Select "Finish Partitioning" and write the changes to disk

Partitioning (Software RAID 1)

Finish Up

  1. Full name for new user: lab
  2. Username for your account: lab
  3. Password: lab (this user will be deleted later)
  4. Verify Password
  5. Leave the HTTP proxy box empty and select "Continue"
  6. Note: If it freezes "Scanning the mirror" unplug and replug the ethernet cable once.
  7. Software to install: Select "OpenSSH server" and select "Continue"
  8. The system will finish configuring and ask you to "Continue" before it reboots.

Configuration (via SSH)

  • This section is done via SSH as a convenience for installing multiple systems.. but can be done from the keyboard.
  1. ssh lab@HOST.cs.transy.edu
  2. sudo su -
  3. passwd root (set the current root password)
  4. exit
  5. exit
  1. ssh root@HOST.cs.transy.edu
  2. userdel lab
  3. rm -rf /home/lab
  4. Transfer or enter the following into /etc/apt/sources.list:
  • 32-bit:
deb http://babbage.cs.transy.edu/ubuntu-i386/ hardy main restricted universe multiverse
deb http://babbage.cs.transy.edu/ubuntu-i386/ hardy-updates main restricted universe multiverse
deb http://babbage.cs.transy.edu/ubuntu-i386/ hardy-security main restricted universe multiverse

#deb http://babbage.cs.transy.edu/ubuntu-i386/ hardy-backports main restricted universe multiverse
#deb http://babbage.cs.transy.edu/ubuntu-i386/ hardy-proposed main restricted universe multivers
  • 64-bit:
deb http://babbage.cs.transy.edu/ubuntu-amd64/ hardy main restricted universe multiverse
deb http://babbage.cs.transy.edu/ubuntu-amd64/ hardy-updates main restricted universe multiverse
deb http://babbage.cs.transy.edu/ubuntu-amd64/ hardy-security main restricted universe multiverse

#deb http://babbage.cs.transy.edu/ubuntu-amd64/ hardy-backports main restricted universe multiverse
#deb http://babbage.cs.transy.edu/ubuntu-amd64/ hardy-proposed main restricted universe multivers
  1. apt-get update
  2. apt-get upgrade
  3. apt-get dist-upgrade