ComputerSecurityStudent (CSS) [Login] [Join Now]




|UNIX >> Ubuntu >> Ubuntu 12.04 Desktop >> Current Page |Views: 13100

(Ubuntu: Lesson 1)

{ Installing Ubuntu Desktop 12.04 LTS }


Section 0. Background Information
  1. What is Ubuntu?
    • Ubuntu is a computer operating system based on the Debian Linux distribution and distributed as free and open source software, using its own desktop environment. It is named after the Southern African philosophy of ubuntu ("humanity towards others")

    • Most coverage of Ubuntu focuses on its use on desktop personal computers but it is also used on servers and for cloud computing. 

    • Ubuntu is sponsored by the UK-based company Canonical Ltd., owned by South African entrepreneur Mark Shuttleworth.

  2. Lab Notes
    • In this lab we will do the following:
      1. Download Ubuntu 12.04
      2. Install Ubuntu 12.04
      3. Install the Gnome Classic Interface
      4. Install and Test VMware Tools
     
  3. Legal Disclaimer
    • As a condition of your use of this Web site, you warrant to computersecuritystudent.com that you will not use this Web site for any purpose that is unlawful or that is prohibited by these terms, conditions, and notices.
    • In accordance with UCC 2-316, this product is provided with "no warranties, either express or implied." The information contained is provided "as-is", with "no guarantee of merchantability."
    • In addition, this is a teaching website that does not condone malicious behavior of any kind.
    • You are on notice, that continuing and/or using this lab outside your "own" test environment is considered malicious and is against the law.
    • 2012 No content replication of any kind is allowed without express written permission.

 

Section 1: Download Ubuntu 12.04
  1. Open Firefox
    • Instructions:
      1. Click the Start Button
      2. Type firefox in the search box
      3. Click the firefox icon

     

  2. Save Files Configuration Location
    • Instructions:
      1. Click Tools
      2. Click Options
      3. Click the General Tab
      4. Click the radio button Always ask me where to save files

     

  3. Start Kali 1.0.5 Download
    • Instructions:
      1. Navigate to one of the following download locations
        • http://releases.ubuntu.com/12.04/
      2. Click on ubuntu-12.04.5-desktop-i386.iso
        1. Note the version number (.5) is subject to change upon a new release.
      3. Select Save File Radio Button
      4. Click the OK Button

     

  4. Save ISO Location
    • Instructions:
      1. Navigate to your desired download directory
        • In my case, G:\ISOs
      2. File Name: Accept the Default Name
      3. Save as type: ISO Image File(*.iso)
      4. Click the Save Button

 

Section 2: Create a New Virtual Machine
  1. Open VMware Player on your windows machine.
    • Instructions:
      1. Click the Start Button
      2. Type "vmware player" in the search box
      3. Click on VMware Player

     

  2. Create a New Virtual Machine. (See Below)
    • Instructions:
      1. Click on Home
      2. Click on Create a New Virtual Machine

     

  3. Virtual Machine Wizard (Install from:)
    • Instructions
      1. Select Installer disc image file (iso):
      2. Browse to the location that you saved the ubuntu-12.04-desktop-i386.iso file.
      3. Click the Next Button

     

  4. Personalize Linux
    • Instructions
      1. Full name: Student
      2. User name: student
      3. Password: <Whatever You Want>
      4. Confirm: <Same As Above>
      5. Click the Next Button

     

  5. Virtual Machine Name
    • Instructions
      1. Virtual machine name: Ubuntu 12.04
      2. Location: Select your location.
        • In my case, G:\VMs\Ubuntu 12.04
      3. Click the Next Button

     

  6. Specify Disk Capacity
    • Instructions
      1. Maximum disk size (GB): 15.0
      2. Select Store virtual disk as a single file
      3. Click the Next button

     

  7. Customize Hardware
    • Instructions
      1. Click on the Customize Hardware button

     

  8. Configure Network Adapter
    • Instructions
      1. Click on Network Adapter
      2. Click on the Bridged Radio Button
      3. Click on the Close Button

     

  9. Finish Customization
    • Instructions
      1. Click the Finish Button

 

Section 3: Ubuntu 12.04 Installation
  1. ISOLINUX Screen
    • Note(FYI):
      1. This is the first screen before the installation starts.
      2. Nothing is required from you.
      3. Continue to next step.

     

  2. Ubuntu 12.04 Screen
    • Note(FYI):
      1. This is the second screen you will see.
      2. Nothing is required from you.
      3. Continue to next step.

     

  3. Installation Screen
    • Note(FYI):
      1. This is the third screen you will see.
        • Note: This will actually be a series of installation screens.
      2. This will take about 15 to 35 minutes depending on your system and network resources.
      3. Continue to the next step after installation completes.

     

  4. CD-ROM Lock Message
    • Instructions
      1. This is the forth screen you will see.
      2. Click on Yes.
      3. Continue to next step.

     

  5. VMware Tool Installation Screen
    • Note(FYI):
      1. This is the fifth and final screen you will see.
      2. This will take about 5 to 10 minutes depending on your system and network resources.
      3. Continue to next step after installation completes.

 

Section 4: Initial Login
  1. Logging in for the first time
    • Instructions
      1. Type in the password you created in (Section 2, Step 4)
      2. Press <Enter>

 

Section 5: Start Up Terminal Window
  1. Ubuntu Dash
    • Instructions
      1. Click on the Ubuntu Dash

     

  2. Terminal Windows Search
    • Instructions
      1. Type "terminal" in the search box.
      2. Click on the terminal.

 

Section 6: Becoming the root user
  1. Becoming Root
    • Instructions
      1. sudo su -
      2. Supply the student password
      3. grep sudo /etc/group
      4. grep sudo /etc/sudoers | grep -i all
    • Note(FYI):
      • Command #1, sudo allows a permitted user to execute a command as the superuser or another user.  In this case we are using sudo to switch user (su) to root.
      • Command #3, Use grep to display the string sudo in the group file.  By default, the initial user created will be added to the sudo group.
      • Command #4, Use grep to display only lines that contain both the strings sudo and all in the group file. By default, the sudo group in the sudoers file can issue any command on the system.  For this reason, the student user can become root

     

  2. Changing the Root Password
    • Instructions
      1. passwd root
      2. Enter a new root password
      3. Re-Enter the new root password
    • Note(FYI):
      • Command #1, Use the passwd command to reset root's password.

 

Section 7: Install Gnome Classic
  1. Determine IP Address
    • Instructions:
      1. ifconfig -a
    • Note(FYI):
      • Command #1, Use the ifconfig command to display the IP Address.  Use the -a flag to display all the interfaces.
      • My IP Address is 192.168.1.123 and its' interface is eth0.

     

  2. Install the Gnome Classic Interface
    • Instructions:
      1. apt-get install gnome-panel
      2. Do you want to continue [Y/n]? Y
    • Note(FYI):
      • Command #1, Use apt-get to install gnome-panel.  GNOME Panel is a highly configurable launcher and taskbar for GNOME. Basically, we are installing the classic version of GNOME.

     

  3. Reboot Machine
    • Instructions:
      1. reboot

     

  4. Change to Gnome Classic
    • Instructions:
      1. Click on the Circle

     

  5. Select Gnome Classic
    • Instructions:
      1. Double Click on GNOME Classic

     

  6. Login to Gnome Classic
    • Instructions:
      1. Provide the student password
      2. Press <Enter>

 

Section 8: Basic Gnome Classic Configuration
  1. Place Terminal on Top Panel
    • Note(FYI):
      • In this step, we are going to drag the terminal window to the top panel.
    • Instructions:
      1. Click on Applications
      2. Click on Accessories
      3. Drag the Terminal to the Top Panel

     

  2. Place Firefox on Top Panel
    • Note(FYI):
      • In this step, we are going to drag the Firefox to the top panel.
    • Instructions:
      1. Click on Applications
      2. Click on Accessories
      3. Drag the Firefox to the Top Panel

 

Section 9: Configuring Date and Time
  1. Go to System Settings
    • Instructions:
      1. Applications --> System Tools --> System Settings

     

  2. Date and Time
    • Instructions:
      1. Click on Date and Time

     

  3. Change Date and Time
    • Instructions:
      1. Region: Set to your Region, in my case, America.
      2. City: Set to a city in your Timezone, in my case, I am in the central time zone.
      3. Network Time: Make sure ON is selected.
        • By selecting ON, both your time and date will automatically be sync'ed toward your timezone.
      4. Click on the X to close

 

Section 10: Post VMware Configuration
 
  1. Virtual Machine Settings
    • Instructions:
      1. Player --> Virtual Machine --> Virtual Machine Settings...

     

  2. Edit CD/DVD (IDE)
    • Instructions:
      1. Select CD/DVD (IDE)
      2. Select the radio button "Use physical drive:"
      3. Make sure Auto Detect is selected from the down drop box.
      4. Click the OK Button

     

Section 11: Terminal Window Color Configuration
 
  1. Start up a Terminal Windows
    • Instructions:
      1. Click on the Terminal Window
        • OR
      2. Applications --> Accessories --> Terminal

     

  2. Terminal Windows (Opening Profile Preferences)
    • Instructions:
      1. Edit --> Profile Preferences

     

  3. Terminal Windows (Editing Profile)
    • Instructions:
      1. Click the Colors Tab
      2. Uncheck Use colors from system theme
      3. Built-in schemes: Black on white
      4. Click the Close Button

 

Section 12: Proof of Lab
  1. Start up a Terminal Windows
    • Instructions:
      1. Click on the Terminal Window
    • Note(FYI):
      1. Your can use your previous terminal window.

     

  2. Proof of Lab
    • Instructions:
      1. sudo su -
      2. Supply the student password
      3. ls --full-time /boot/initrd.img-3.2.0-23-generic-pae
      4. grep student /etc/shadow
      5. date
      6. echo "Your Name"
        • Replace the string "Your Name" with your actual name.
        • e.g., echo "John Gray"
    • Proof of Lab Instructions
      1. Press both the <Ctrl> and <Alt> keys at the same time.
      2. Do a <PrtScn>
      3. Paste into a word document
      4. Upload to Moodle


Help ComputerSecurityStudent
pay for continued research,
resources & bandwidth