S12 - OS - Lab 1
S12 - OS - Lab 1
FPT UNIVERSITY
Lab 1 for Operating Systems
Learning outcome
Upon successful completion of this lab, you will be able
To install the VMware-workstation and how to use it to install and test the OS
software
To setup the Fedora Core 11 (RedHat Linux) on VMWare
To use, study, and manipulate some operations on this OS.
To use the C and C++ compiler, then compile them to the OS concept
Install VMware-workstation-8.x (current version is 8.0.0)
Requirement: setup.exe
Configure the VM to setup the OS Fedora 11 as following steps
Choose “Workstation x” in
the Hardware compatibility
to the appropriate parameter
appeared as below in
“Compatible Products” and
“Limitation”, then decide
the chosen workstation that
is corresponded
o Choose the “Create a new virtual disk” to create a new file on real machine
(as means that create a new disk on the virtual machine that is used for this
machine – don’t worry about that because the disk is a virtual – not real – that
is concept and remember that virtual machine is only a file on hard disk).
Then, Click Next Button to go next step
o Click Finish Button to finish all steps creating the new machine for the
purposed OS. You can see as below picture (otherwise, you have some
mistakes in one of above steps – checking and do it again )
First the WS allocating the disk file
o The application (the virtual machine) is started, then you can see the screen as
o Click (left) mouse into inside of the application, then use the arrow keys on
your keyboard to choose the option that you want to execute
o Choose the first option “Install or upgrade an existing system, then press Enter
o Use the right arrow (→) to choose the skip to save time and skip checking
some testing hardware component (it is not necessary)
o Choose the appropriate Language using. Then, click Next Button to go next
step
o The warning informs the virtual hard disk need to configure for setting up the
OS, thus the data on disk can be lost (don’t worry about that – your disk have
nothing). Click the “Re-initialize drive” to reset the default partition
following the OS’s requirement
o Choose the Reset button to delete the available partition (Click Yes button if
the warning is appeared).
Check the
component
package that you
want to install
Click the
“Customize now”
to select or
unselect the
package in needed
o Click Reboot Button to finish the Installation OS and start the OS first time
How to use the Fedora OS
Starting the OS in first time
o Click Forward Again to create the user that can access the OS
o Fill the Username, Full Name, Password, Confirm password. Then click
Forward Button to setup the time
o Click Finish
o Click the account, then type the password (press Enter or click Login) to
access the OS
Get the IP config of the VMnet1 that is used to type the “Server”
Item of “Connect to Server” in Fedora (using cmd, then type
ipconfig /all)
clean:
rm main.o hello.exe
hello.exe: main.o
g++ -g -o hello main.o
main.o:
g++ -c -g main.cpp
Submission
Upload the word or pdf file to cms describes some questions as
Capture the terminal screen when using the ifconfig command in Fedora and the
ipconfig command in command prompt in Windows
Capture the shared windows when connectting to the windows OS’s shared
folder/disk in your machine (using the File Browser with Bookmark). The
shared folder must have data files and sub folders
Capture the mc screen and give your explanation about the F7 function in mc
Submit the C/C++ files and objects (*.c and *.o) as the below content then
capture the result of the program, give your explanation the result of this
program
Requirement
All the capture must be combination with full the windows including your accounts on
the windows and the Linux OS (if it is not, you will be taken 0 mark). Should be use
the capture in windows with jpg format to reduce the file size with your submitting
END