Lesson 2

Date: 1/29/2014
Linux installation and upgrade
Linux for Engineering and IT Applications


Ubuntu Interactive Installation (Exercise)

  • Click onto kvm1 in the KVM manager. It will bring up a virtual console for the VM with the installer running. Press F4, which stands for "Modes" in the installer bottom menu line, and scroll down to "Install a minimal virtual machine" selection, press ENTER:

    1. 2.

  • Choose "Install Ubuntu Server", and press ENTER.

  • Choose language: English, United States. Choose 'No' for detecting keyboard layout, USA for the origin of the keyboard, USA for keyboard layout. In 'Configure the network' menu, set 'kvm1':

    1. 2. 3. 4. 5. 6.



  • When the installer prompts you, set a new user account,
                      name: hostadm
                      passwd: unisys 
    
    1. 2. 3.

  • In 'Configure the clock', choose Eastern in the time zone list.

  • In the partition disks menu, select 'Guided - use entire disk' partitioning method.
    1. 2. 3.

  • Choose no encryption for home directory.

  • Select "No automatic updates".

  • Do not select any additional software to install. Keep everything in the list unchecked:



  • When prompted to Install the GRUB boot loader, choose the default option, "Install the GRUB boot loader to the master boot record" .

  • Accept setting the system clock to UTC.

  • Click on 'continue' when the installation completes.

  • After the system reboots, login as user hostadm

  • Install SSH server by using apt
    sudo -s
    apt-get install openssh-server
    

  • Install Linux kernel optimized to run on a virtual machine:
    apt-get install linux-image-3.2.0-58-virtual
    

  • Edit file /etc/default/grub and comment out the line with GRUB_HIDDEN_TIMEOUT=0:
    #GRUB_HIDDEN_TIMEOUT=0
    
    Note: you can use one of the available editors, for example nano or vi.

  • Run the commands to update the boot loader configuration, then reboot:
     
    update-grub
    reboot
    
    You should be able to see the boot loader prompt when the system boots up.

  • After you are done with the exercise, shutdown the virtual machine by issuing shutdown in its command prompt:
    shutdown now -h
    


    References
    Ubuntu Installation Guide


  • Take me to the Course Website