1,885
edits
Changes
no edit summary
===Investigation 1: How do you install Fedora?===
{{Admon/note important | Please take note! Logical Volume Management | Fedora uses a type of partition management called Logical Volume Management (LVM). In LVM, disk partitions are called Physical Volumes (PVs) and provide storage to a Volume Group (VG). This storage is then split into various Logical Volumes (LVs). The advantage to this scheme is that you can change LV size and you can add and remove PVs after installation. For example, you can add a new disk to your system and then increase the size of your existing filesystems using that extra disk space. ''Please be careful to enter all LVM information accurately, including the VG and LV names. '' We will investigate and manipulate LVM in future labs.}}
At the Welcome Screen choose "Install or upgrade an existing system" to launch the Graphical installation program and select the following options (you can use the media test to verify that your DVD burned correctly; --It will take some time-- otherwise, skip it):
# Accept Office and Productivity and repository defaults.
{{Admon/note | Please take note! Installation Time | The installation process will take about 15 minutes to complete on the P4 CPU system when using DVD. Click the Reboot button on the screen to reboot the system after the installation is complete. There is a post installation setup after boot.}}
# Reboot
Answer the Investigation 1 question in your lab log book.
===Investigation 2: How many files packages and files are installed on the system?===
Record the commands used and the output generated in each of the following steps:
# To find all the mount points, enter the command: ''<code>mount''</code>
#* Study the output and record all the mount points in your log book.
# The name of the installation log file is ''<code>/root/install.log'' </code> -- It is an ASCII file (how can you be sure?) and can be viewed with the ''<code>less'' </code> command.
# You can make use of this file to determine how many packages have been installed: complete the following command to count the number of packages listed in the installation log file:
#* ''<code>grep ________________ /root/install.log | wc -l''</code># Using the ''<code>rpm'' </code> command: you can also use the following commands to list all the installed packages, and the total number of packages installed:#* ''<code>rpm -q -a''</code>#* ''<code>rpm -q -a | wc -l''</code>#* ''<code>rpm -qa | wc -l'' </code># The <code>-q </code> option means query, and the <code>-a </code> option means all (in other words, query all installed software packages). Did you get the same number of packages from the above two methods?# Some of the files on your system were installed with the software packages, and some were created by system activity (for example, by creating your Learn account and by logging in). If you know the package name (from the <code>install.log</code>), you can list all the files that were installed from the package by using the following command:#* ''<code>rpm -q -l package_name''</code># This combines the <code>-q </code> (query) option with the <code>-l </code> (list filenames) option.# You can pipe the outupt through <code>wc -l </code> to count the number of lines:#* ''<code>rpm -ql package_name| wc -l''</code>
# Using what you learned in steps 3 and 4, get a count of the total number of files installed by all of the software packages on your system.
# To find out the name that you have assigned to your Linux system, enter the command: ''<code>hostname''</code># To find out the kernel version of your GNU/Linux workstation and the date it was created, enter the command: ''<code>uname -r''</code># To find out all the system processes running on your GNU/Linux workstation, enter the command: ''<code>ps -ef''</code># To capture the list of all the system processes to a file called ''<code>ps.lst''</code>, enter the command: ''<code>ps -ef > ps.lst''</code># Copy the installation log file <code>/root/install.log </code> and the file ps.lst to a USB memory key, or scp to your matrix account as a backup.
{{Admon/tip |Updating Fedora| You need to complete a system update. Start the Firefox web browser, turn off popup window blocking (select ''Edit>Preferences'', then select the Content tab and uncheck the box to Block Popups), then login to SeneNET. Open a terminal and <code>su -</code> to start a shell as root. Enter the command <code>yum update</code> This will download and install all of the packages that have been updated since the installation DVD image was created. If you complete this command at Seneca it should run quite fast as Seneca College hosts a Fedora Repository mirror.}}