Fedora 22 in VirtualBox Set up

From Foss2Serve
(Difference between revisions)
Jump to: navigation, search
 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
{| border="1"
 
|-
 
|'''Title''' ||'''Setting up Environment ''' 
 
|-   
 
|'''Overview''' ||'''Our lab work is to understand the code of an open source module and make any necessary changes to them. For this purpose, we use a Linux operating system installed on a Virtual Machine. We carry out all subsequent lab work in this software environment. ''' 
 
|-
 
|'''Prerequisite Knowledge''' ||'''Familiarity with Virtual Environments such as VMware or Virtual Box and Linux Operating System'''
 
|-
 
|'''Learning Objectives''' ||'''1. Building a Fedora Machine inside a Virtual Environment;  2. Getting Familiar with Fedora 22 Machine  '''
 
|}
 
  
=== Background: ===
+
{{Learning Activity Overview
Virtual Machine:
+
|title=
A virtual machine (VM) is a software-based emulation of a computer system. It is comprised of a set of specification and configuration files and is backed by the physical resources of a host. One important use of a VM (also known as guest) is to run another operating system that is not native on your hardware. The end user has the same experience as they would have on dedicated hardware.  
+
Setting up Fedora 22 inside VirtualBox
In this lab we will be using VirtualBox virtual machine.
+
|overview=
 +
Setting up Linux Fedora 22 inside VirtualBox requires few steps. In this lab, you learn how to do that.
 +
|prerequisites=
 +
Familiarity with Virtual Environment and Virtual Machines
 +
|objectives=
 +
# Set up VirtualBox   
 +
# Set up Fedora 22 inside VirtualBox.  
 +
|process skills=
 +
}}
  
=== Directions: ===
+
=== Background ===
'''1. Download VirtualBox:''' To begin your installation process, go to https://www.virtualbox.org/wiki/Downloads and download the respective binary file native to your host operating system.
+
  
'''2. Install VirtualBox:''' Once you have the binary downloaded, execute the file and follow the instructions to install.
+
For this lab, you willl install Fedora 22 inside VirtualBox.  
 +
The Fedora Project is sponsored by Red Hat.
 +
VirtualBox is a general-purpose virtual environment to set up different operating systems such as servers, desktop and embedded systems inside x86 hardware.
 +
This project is sponsored by Oracle.
 +
The latest version is VirtualBox 5.0.10 available for different platforms.
  
• For Mac OS X hosts, double-click on the file and follow instructions. This will create a VirtualBox icon in your Applications folder.
+
=== Directions ===
  
• For Window hosts, double-click on the file and follow instructions. A VirtualBox group will be created on the Start menu.
+
'''1. Download VirtualBox:'''
 +
Goto https://www.virtualbox.org/wiki/Downloads  and download the proper version of VirtualBox. Refer the user manual for VirtualBox if you run into any trouble.
  
'''3. Start VirtualBox:''' After starting VirtualBox, you would see a screen that shows the VirtualBox Environment with "Welcome to VirtualBox" message in it.
 
 
Refer the user manual http://download.virtualbox.org/virtualbox/4.3.28/UserManual.pdf if you run into any trouble.
 
 
Now that we have the VM program installed, we will need to get the Fedora operating system so you can add it as a host OS in the VM.
 
Now that we have the VM program installed, we will need to get the Fedora operating system so you can add it as a host OS in the VM.
  
'''4. Installing Fedora 22 inside VirtualBox:'''
+
'''2. Installing Fedora 22 inside VirtualBox:'''
  
a) Go to https://getfedora.org/en/workstation/download/ and download the ISO image of fedora 22 Workstation (Desktop) edition by clicking on “Download” button.
+
a) Go to https://getfedora.org/en/workstation/download/ and download the ISO image of fedora 22 Workstation (Desktop) edition by clicking on “Download” button.
  
 
b) Once you have the ISO image file, you are ready to install it on to the VM. Open your VM application if it is not already open. On the top of the window, click the “New” button.
 
b) Once you have the ISO image file, you are ready to install it on to the VM. Open your VM application if it is not already open. On the top of the window, click the “New” button.
Line 38: Line 37:
 
c) This will open a virtual machine wizard for creating a new virtual machine. Fill in with the details as shown below and click “Next”.
 
c) This will open a virtual machine wizard for creating a new virtual machine. Fill in with the details as shown below and click “Next”.
  
Name         : Fedora 22
+
Name         : Fedora 22
 
Type         : Linux
 
Type         : Linux
 
Version            : Fedora (64 bit)
 
Version            : Fedora (64 bit)
Line 48: Line 47:
  
 
Hard drive file type : VDI
 
Hard drive file type : VDI
Storage on Physical HD : Fixed size
+
Storage on Physical HD : Fixed size
  
 
f) Select appropriate location for saving virtual disk image (VD), set the size of VD and click “Create”.
 
f) Select appropriate location for saving virtual disk image (VD), set the size of VD and click “Create”.
Line 54: Line 53:
 
g) Once it is complete, you can see the screen with Fedora 22 listed.
 
g) Once it is complete, you can see the screen with Fedora 22 listed.
  
5. Now that the space for installing fedora 22 has been created, but there is still no Operating system associated with it. To install the downloaded fedora into this virtual space, select Fedora 22 in the left pane and click on “Start” button.
+
'''5. Start the Fedora 22 Installation:'''
6. A wizard will be prompted to select the start-up disk. Browse to the Fedora 22 ISO image downloaded and click on “Start”.
+
 
7. After a while, you will see the screen with welcome window as shown below.
+
Now that the space for installing fedora 22 has been created, but there is still no Operating system associated with it.  
8. Click on “Install to Hard Drive” button to proceed.
+
 
9. Select Language as “English” and click “Continue”.
+
To install the downloaded fedora into this virtual space, select Fedora 22 in the left pane and click on “Start” button.
10. Click on “INSTALLATION DESTINATION” and select the 25GB hard drive that we just created.
+
 
11. Select the option of "Automatically Configure Partitioning" and click on “Done”.
+
'''6. Find Fedora 22 ISO:'''
12. Now click on “Begin Installation” button in the right bottom corner.
+
 
13. While the installation is in progress, create a root password and a new user by clicking on respective buttons.
+
A wizard will be prompted to select the start-up disk. Browse to the Fedora 22 ISO image downloaded and click on “Start”. After a while, you will see the screen with welcome window.
14. And once the installation is completed, click on “Quit” button on the bottom right.
+
Click on “Install to Hard Drive” button to proceed.
15. You should now see the fedora Home screen and be able to play around with the new interface of the Operating System.
+
Select Language as “English” and click “Continue”.
 +
Click on “INSTALLATION DESTINATION” and select the 25GB hard drive that we just created.
 +
Select the option of "Automatically Configure Partitioning" and click on “Done”.
 +
 
 +
'''7. Begin Fedora 22 Installation:'''
 +
 
 +
Now click on “Begin Installation” button in the right bottom corner. While the installation is in progress, create a root password and a new user by clicking on respective buttons.
 +
 
 +
'''8. Successful Installation:'''
 +
 
 +
And once the installation is completed, click on “Quit” button on the bottom right. You should now see the fedora Home screen and be able to play around with the new interface of the Operating System.
 +
 
 +
'''9. Documentation:'''
 +
 
 +
Create a file in your favorite editor. Add all your screenshots and then answer the following questions in the next section in your file.
 +
Also, review the following rubric for generating and submitting your work.  Once you are satisfied that your lab is complete, create a pdf file and name it FossLab1_yourlastnamefirstinitial.pdf. Upload to your course management system.
 +
 
 
=== Deliverables: ===
 
=== Deliverables: ===
 +
Create a word document and include screenshots of different stages of installations in it. In addition, answer the questions.
  
=== Assessment: ===
 
  
=== Comments: ===
+
'''Lab 1 Rubric (100 points)'''
  
=== Additional Information: ===
+
Screenshots (50 points) including Virtual Box Icon (10 points); ISO (10 points); VirtualBox Manager (10 points); Welcome Window (10 points); Fedora Desktop Window (10 points)
{| border="1"
+
|-
+
|'''Knowledge Area/Knowledge Unit''' || 
+
|-
+
|'''Topic''' || 
+
|-
+
|'''Level of Difficulty''' ||
+
|-
+
|'''Estimated Time to Completion''' ||2 hours
+
|-
+
|'''Materials/Environment''' ||
+
|-
+
|'''Author''' ||  Mohsen Dorodchi
+
|-
+
|'''Source''' ||
+
|-
+
|'''License''' ||
+
|}
+
  
 +
Lab Questions (50 points) • What is Virtual Environment and Virtual Machine? (5 points) • Name three benefits of using virtual machines vs. real machines. (10 points) • Name two disadvantages of using a virtual machine. (10 points) • What is an ISO file? (10 points) • What is your root password and your user login information? (10 points) • Grammar, Spelling and Neatness (5 points) – named file correctly and uploaded properly on time.
  
--------------------
+
=== Additional Information ===
  
 +
{{Learning Activity Info
 +
|acm unit=
 +
OS - Operating Systems
 +
|acm topic=
 +
Virtualization, OS Set up
 +
|difficulty=
 +
easy
 +
|time=
 +
2 hours
 +
|environment=
 +
Virtual Box
 +
|author=
 +
Mohsen Dorodchi
 +
|source=
 +
|license=
 +
}
  
 
[[Category: Learning_Activity]]
 
[[Category: Learning_Activity]]
[[Category: Subcategory:Install Fedora 22 In VirtualBox]]
+
[[Category: Good Draft]]

Latest revision as of 22:10, 7 September 2018


Title

Setting up Fedora 22 inside VirtualBox

Overview

Setting up Linux Fedora 22 inside VirtualBox requires few steps. In this lab, you learn how to do that.

Prerequisites

Familiarity with Virtual Environment and Virtual Machines

Learning
Objectives
After successfully completing this activity, the learner should be able to:
  1. Set up VirtualBox
  2. Set up Fedora 22 inside VirtualBox.
Process Skills
Practiced


Background

For this lab, you willl install Fedora 22 inside VirtualBox. The Fedora Project is sponsored by Red Hat. VirtualBox is a general-purpose virtual environment to set up different operating systems such as servers, desktop and embedded systems inside x86 hardware. This project is sponsored by Oracle. The latest version is VirtualBox 5.0.10 available for different platforms.

Directions

1. Download VirtualBox: Goto https://www.virtualbox.org/wiki/Downloads and download the proper version of VirtualBox. Refer the user manual for VirtualBox if you run into any trouble.

Now that we have the VM program installed, we will need to get the Fedora operating system so you can add it as a host OS in the VM.

2. Installing Fedora 22 inside VirtualBox:

a) Go to https://getfedora.org/en/workstation/download/ and download the ISO image of fedora 22 Workstation (Desktop) edition by clicking on “Download” button.

b) Once you have the ISO image file, you are ready to install it on to the VM. Open your VM application if it is not already open. On the top of the window, click the “New” button.

c) This will open a virtual machine wizard for creating a new virtual machine. Fill in with the details as shown below and click “Next”.

Name  : Fedora 22 Type  : Linux Version  : Fedora (64 bit) Memory size : 2048 (This can vary based on system configuration).

d) Select “Create a virtual hard drive now” and click on “Create”

e) Create a new Virtual Hard Drive as shown below and click on “Next”:

Hard drive file type : VDI Storage on Physical HD : Fixed size

f) Select appropriate location for saving virtual disk image (VD), set the size of VD and click “Create”.

g) Once it is complete, you can see the screen with Fedora 22 listed.

5. Start the Fedora 22 Installation:

Now that the space for installing fedora 22 has been created, but there is still no Operating system associated with it. 

To install the downloaded fedora into this virtual space, select Fedora 22 in the left pane and click on “Start” button.

6. Find Fedora 22 ISO:

A wizard will be prompted to select the start-up disk. Browse to the Fedora 22 ISO image downloaded and click on “Start”. After a while, you will see the screen with welcome window. Click on “Install to Hard Drive” button to proceed. Select Language as “English” and click “Continue”. Click on “INSTALLATION DESTINATION” and select the 25GB hard drive that we just created. Select the option of "Automatically Configure Partitioning" and click on “Done”.

7. Begin Fedora 22 Installation:

Now click on “Begin Installation” button in the right bottom corner. While the installation is in progress, create a root password and a new user by clicking on respective buttons.

8. Successful Installation:

And once the installation is completed, click on “Quit” button on the bottom right. You should now see the fedora Home screen and be able to play around with the new interface of the Operating System.

9. Documentation:

Create a file in your favorite editor. Add all your screenshots and then answer the following questions in the next section in your file. Also, review the following rubric for generating and submitting your work. Once you are satisfied that your lab is complete, create a pdf file and name it FossLab1_yourlastnamefirstinitial.pdf. Upload to your course management system.

Deliverables:

Create a word document and include screenshots of different stages of installations in it. In addition, answer the questions.


Lab 1 Rubric (100 points)

Screenshots (50 points) including Virtual Box Icon (10 points); ISO (10 points); VirtualBox Manager (10 points); Welcome Window (10 points); Fedora Desktop Window (10 points)

Lab Questions (50 points) • What is Virtual Environment and Virtual Machine? (5 points) • Name three benefits of using virtual machines vs. real machines. (10 points) • Name two disadvantages of using a virtual machine. (10 points) • What is an ISO file? (10 points) • What is your root password and your user login information? (10 points) • Grammar, Spelling and Neatness (5 points) – named file correctly and uploaded properly on time.

Additional Information

{{Learning Activity Info |acm unit= OS - Operating Systems |acm topic= Virtualization, OS Set up |difficulty= easy |time= 2 hours |environment= Virtual Box |author= Mohsen Dorodchi |source= |license= }

Personal tools
Namespaces
Variants
Actions
Events
Learning Resources
HFOSS Projects
Evaluation
Navigation
Toolbox