Ubuntu Linux 6.06

From Wiki

Jump to:navigation, search

warning this is a work in progress at the moment and is not ready for general use

This is basic how on to install Ubuntu 6.06 from start to finish. The information here has been put together from knowledge gained using edugeek.net, How to forge, ubuntu forums and many other sites and I thank you all.


There are a few things that you will need before you start.

  • Ubuntu 6.06 iso, Downloadable from Ubuntu Via http or torrent.
  • A working PC it does not have to be new I do a lot of my testing on a old PC someone was going to ditch. As long as it has a CPU Ram and a CD drive. I have installed Ubuntu on a AMD K6-2 with 96mb ram and a 4GB hard drive and it worked.
  • The only other thing you need is some patience. It does not take long to install but doesn't always go to plan. I have managed to install in about 15 minutes depending on setup.
  • Use this how-to at your own risk I don't accept any responsibility for information being wrong or not how you would do it but if it is wrong tell me and I will check and correct the wrongly inputted info

Installing Step by Step

  • Make sure the pc you are using is set to boot the from CD drive. If not you will need to set this in the Bios. If you can't set Bios to boot from cd you will need a boot floopy. Then boot from your created Ubuntu Disc.
  • Once CD has started you are shown a menu. If this is a newly produced CD I always find it a good idea at the this menu to select "check CD for defects". This will scan the CD and ensure it has burnt correctly. Also I have found it will fail if you have a issue with your CD Drive.(this may take some time)When finished if CD has no problems a menu will say Integrity test successful. If this is the case use the enter key to confirm you want to continue the pc will then reboot and go back to the CD Install Menu.
  • Select "Install to the hard disc". There is an option to "Install a lamp server" but I have found for me
    1. I have learnt more by installing programmes myself.
    2. find it more interesting installing software I want and need (minimalist).
  • The next bit is very simple you will be asked to Choose Language, My preference is English, you will then be asked to select a language again depending on what you selected first time. I select United Kingdom. Then you will be asked about your keyboard layout if you selected English United Kingdom it will say your keyboard layout is British English. You can select this as your default keyboard but if it is not you can select one of the other options to select what keyboard layout you are using.
  • Next the system will start detecting your hardware etc. ect.
  • Once the system has finished doing all its checks it will try and detect the internet and setup DHCP if it cant find the internet it will ask you for a proxy. This is where you need to type in your proxy if you have on if not then you might have a little problem but don't worry about this yet. On the note of proxy as soon as your system has been installed you will need to set the apt-get proxy up as it resets as soon as you reboot.
  • Next it will as for hostname (what you want to call this machine). This should be a unique name on your network. After you have changed it and are happy press the tab key to select continue and then press enter.
  • The next stage we get to is the hard drive set-up. This is a basic setup so I will not go into Raid or any other unusual set-ups in this How-to for a more advanced set-up there are some good how-to's and this wiki might write one at a later stage so for the time being select erase entire hard disk. It will present you with a standard set for the disk select yes.
  • Next you will be asked if you want to set the computer clock to UTC select yes.
  • Next we need to set-up the default user and password First it will need to put in your full name and continue and then you need to put in username (This is your login name). Once this is done you will be asked for a password for user and then you will need to verify this password (this is also the password for SUDO on set-up) SUDO is the root admin. more about that later on.
  • The system will continue to install and download any updates it needs if you are connected to the internet.
  • After lots of installing and downloading the CD will eject and you will be told the system will now reboot
  • Remove the cd and let the pc reboot.

This is the end of how to install the basic system.

Finishing off

  1. Make sudo user permanent ie give me the ability to log on as su (root) user.This is not Compulsory but is helps
    1. Login as created user.
    2. Type sudo passwd root.
    3. Enter password for root.
    4. Retype password for root.
    5. Any root commands you can now log in via su and password.
  2. Update your system. If you have not done the above then you need to put sudo in front of all commands This is highly recomended
    1. we need to edit the aptitude sources list first. Type vi /etc/apt/sources.list
    2. Next we have got to choose what updates we like. You can use this site to generate a list for you I tend to use this it uses UK repository's
    3. ## Major bug fix updates produced after the final release of the
      ## distribution.
      deb http://gb.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
      deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
      ## Uncomment the following two lines to add software from the 'universe'
      ## repository.
      ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
      ## team, and may not be under a free licence. Please satisfy yourself as to
      ## your rights to use the software. Also, please note that software in
      ## universe WILL NOT receive any review or updates from the Ubuntu security
      ## team.
      deb http://gb.archive.ubuntu.com/ubuntu/ dapper universe
      deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper universe 
      ## Uncomment the following two lines to add software from the 'backports'
      ## repository.
      ## N.B. software from this repository may not have been tested as
      ## extensively as that contained in the main release, although it includes
      ## newer versions of some applications which may provide useful features.
      ## Also, please note that software in backports WILL NOT receive any review
      ## or updates from the Ubuntu security team.
      # deb http://gb.archive.ubuntu.com/ubuntu/ dapper-backports main restricted  universe multiverse
      # deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
      deb http://security.ubuntu.com/ubuntu dapper-security main restricted
      deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
      deb http://security.ubuntu.com/ubuntu dapper-security universe
      deb-src http://security.ubuntu.com/ubuntu dapper-security universe
    4. Edit by pressing the insert key and using arrow del to remove the # from the beginning of repository you wish to use. When finished press escape key and type :wq this will save and close the text editor
    5. Now for the update type apt-get update this will update the repository list
    6. Now to download and install type apt-get upgrade it will check for updates and the ask you if you are happy for it to continue and install type y
    7. When it has finished updating it will give you a report
    8. Reading package lists... Done
      Building dependency tree... Done
      The following packages have been kept back:
      0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
      Reading package lists... Done
      Building dependency tree... Done
      The following packages have been kept back:
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    9. if it is the first example you can do one of 2 things type agt-get dist upgrade or apt-get install linux-image-server the first example is the better way to do it but the second way will work. Don't worry dist-upgrade will not update distro from 6.06 to 6.10 or any other it just updates the kernel and all dependencies. If you have desktop it uses apt-get dist-upgrade
    10. That's it all updated and ready to run. There are many other things you can do like hostname and networking but I tend to use webmin to do this as it is a lot easer and not so much typing.
  3. Install ssh to give me the ability to control ubuntu from another machine window or linux usiing putty or ssh2 module in webmin.
    1. You need to give the server a static address log in as su
    2. Type vi /etc/network/interfaces
    3. change iface eth0 inet dhcp to
    4. iface eth0 inet static 
      address (machine ip address) 
      netmask (network netmask)
      network (network ip)
      broadcast (Network ip broadcast)
      gateway (gateway/router ip address)
    5. I if created root user type su and password if not you will need to put sudo in front of these commands.
    6. Type apt-get install openssh-server ssh.
    7. Thats it all done to make life easy you can edit network interface to make server ip static.
  4. I usually install webmin as it is a good tool to edit settings on server.

From here on in it is up to you. You can install a desktop or create a web server. I hope this helps.

Related Wiki pages

Other Related Web Pages