(Ubuntu:
Lesson 1)
{ Installing Ubuntu
Desktop 12.04 LTS }
Section 0. Background
Information |
- 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.
-
Lab Notes
- In this lab we will do the following:
- Download Ubuntu 12.04
- Install Ubuntu 12.04
- Install the Gnome Classic Interface
- Install and Test VMware Tools
- 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 |
- Open Firefox
- Instructions:
- Click the Start Button
- Type
firefox in the
search box
- Click the firefox icon
- Save Files Configuration Location
- Instructions:
- Click Tools
- Click Options
- Click the General Tab
- Click the radio button Always ask me
where to save files
- Start Kali 1.0.5 Download
- Instructions:
- Navigate to one of the
following download locations
- http://releases.ubuntu.com/12.04/
- Click on ubuntu-12.04.5-desktop-i386.iso
- Note the version number (.5)
is subject to change upon a new release.
- Select Save File Radio Button
- Click the OK Button
-
- Save ISO Location
- Instructions:
- Navigate to your desired
download directory
- File Name: Accept the Default
Name
- Save as type: ISO Image
File(*.iso)
- Click the Save Button
Section 2: Create a
New Virtual Machine |
- Open VMware Player on your windows machine.
- Instructions:
- Click the Start Button
- Type "vmware player" in the search box
- Click on VMware Player
-
- Create a New Virtual Machine. (See Below)
- Instructions:
- Click on Home
- Click on Create a New Virtual Machine
-
- Virtual Machine Wizard (Install from:)
- Instructions
- Select Installer disc image file (iso):
- Browse to the location that you saved
the ubuntu-12.04-desktop-i386.iso file.
- Click the Next Button
-
- Personalize Linux
- Instructions
- Full name: Student
- User name: student
- Password: <Whatever You Want>
- Confirm: <Same As Above>
- Click the Next Button
- Virtual Machine Name
- Instructions
- Virtual machine name:
Ubuntu 12.04
- Location: Select your location.
- In my case,
G:\VMs\Ubuntu 12.04
- Click the Next Button
- Specify Disk Capacity
- Instructions
- Maximum disk size (GB): 15.0
- Select Store virtual
disk as a single file
- Click the Next button
- Customize Hardware
- Instructions
- Click on the Customize Hardware button
- Configure Network Adapter
- Instructions
- Click on Network Adapter
- Click on the Bridged Radio Button
- Click on the Close Button
- Finish Customization
- Instructions
- Click the Finish Button
Section 3: Ubuntu
12.04 Installation |
- ISOLINUX Screen
- Note(FYI):
- This is the first screen
before the installation starts.
- Nothing is required from you.
- Continue to next step.
- Ubuntu 12.04 Screen
- Note(FYI):
- This is the second screen
you will see.
- Nothing is required from you.
- Continue to next step.
- Installation Screen
- Note(FYI):
- This is the third screen
you will see.
-
Note:
This will actually be a series of installation screens.
- This will take about 15 to 35 minutes
depending on your system and network resources.
- Continue to the next step after
installation completes.
- CD-ROM Lock Message
- Instructions
- This is the forth screen
you will see.
- Click on Yes.
- Continue to next step.
- VMware Tool Installation Screen
- Note(FYI):
- This is the fifth and
final screen you will see.
- This will take about 5 to 10 minutes
depending on your system and network resources.
- Continue to next step after
installation completes.
- Logging in for the first time
- Instructions
- Type in the password you created in
(Section 2, Step 4)
- Press <Enter>
Section 5: Start Up
Terminal Window |
- Ubuntu Dash
- Instructions
- Click on the Ubuntu Dash
- Terminal Windows Search
- Instructions
- Type "terminal" in the search box.
- Click on the terminal.
Section 6: Becoming
the root user |
- Becoming Root
- Instructions
- sudo su -
- Supply the student password
- grep sudo /etc/group
- 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
- Changing the Root Password
- Instructions
- passwd root
- Enter a new root password
- Re-Enter the new root password
- Note(FYI):
- Command #1, Use the passwd command
to reset root's password.
Section 7: Install
Gnome Classic |
- Determine IP Address
- Instructions:
- 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.
- Install the Gnome Classic Interface
- Instructions:
- apt-get install gnome-panel
- 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.
- Reboot Machine
- Instructions:
- reboot
- Change to Gnome Classic
- Instructions:
- Click on the Circle
- Select Gnome Classic
- Instructions:
- Double Click on GNOME Classic
- Login to Gnome Classic
- Instructions:
- Provide the student password
- Press <Enter>
Section 8: Basic
Gnome Classic Configuration |
- Place Terminal on Top Panel
- Note(FYI):
- In this step, we are going to drag the
terminal window to the top panel.
- Instructions:
- Click on Applications
- Click on Accessories
- Drag the Terminal to the Top Panel
- Place Firefox on Top Panel
- Note(FYI):
- In this step, we are going to drag the
Firefox to the top panel.
- Instructions:
- Click on Applications
- Click on Accessories
- Drag the Firefox to the Top Panel
Section 9:
Configuring Date and Time |
- Go to System Settings
- Instructions:
- Applications --> System Tools -->
System Settings
- Date and Time
- Instructions:
- Click on Date and Time
- Change Date and Time
- Instructions:
- Region: Set to your Region, in my case,
America.
- City: Set to a city in your Timezone,
in my case, I am in the central time zone.
- Network Time: Make sure ON is selected.
- By selecting ON, both your time and
date will automatically be sync'ed toward your timezone.
- Click on the X to close
Section 10: Post
VMware Configuration |
- Virtual Machine Settings
- Instructions:
- Player --> Virtual Machine --> Virtual Machine
Settings...
- Edit CD/DVD (IDE)
- Instructions:
- Select CD/DVD (IDE)
- Select the radio button "Use physical
drive:"
- Make sure Auto Detect is selected from
the down drop box.
- Click the OK Button
Section 11: Terminal
Window Color Configuration |
- Start up a Terminal Windows
- Instructions:
- Click on the Terminal Window
- Applications --> Accessories -->
Terminal
- Terminal Windows (Opening Profile Preferences)
- Instructions:
- Edit --> Profile Preferences
- Terminal Windows (Editing Profile)
- Instructions:
- Click the Colors Tab
- Uncheck Use colors from system theme
- Built-in schemes: Black on white
- Click the Close Button
-
- Start up a Terminal Windows
- Instructions:
- Click on the Terminal Window
- Note(FYI):
- Your can use your previous terminal
window.
- Proof of Lab
- Instructions:
- sudo su -
- Supply the student password
- ls --full-time
/boot/initrd.img-3.2.0-23-generic-pae
- grep student /etc/shadow
- date
- echo "Your Name"
- Replace the string "Your Name" with
your actual name.
- e.g., echo "John Gray"
-
Proof of Lab Instructions
- Press both the <Ctrl> and <Alt> keys at
the same time.
- Do a <PrtScn>
- Paste into a word document
- Upload to Moodle
-
|
 
|