Changes

Jump to: navigation, search

OPS235 Lab 3 19

2,396 bytes added, 12:31, 24 September 2018
no edit summary
[[Category:OPS235]][[Category:OPS235 Labs]]
{{Admon/caution|THIS IS AN OLD VERSION OF THE LAB|'''This is an archived version. Do not use this in your OPS235 course.'''}}
=Logical Volume Management and Software Package Management=
 
==Introduction==
* Fedora 19 DESKTOP LIVE CD (Useful as a rescue disk)
* Fedora 19 x86_64 FULL INSTALLATION DVD(Required to access software to install on F19host)
* SATA Hard Disk (in removable disk tray)
* USB Memory Stick
== Investigation 2: How do you install and remove software with RPM? ==
# Boot up and log into your '''f19host''' machine. Remember to open a web-browser and connect to the Internet ( you will '''not'''<u></u> be reminded in future labs).# Insert your '''Fedora19 Full Install DVD''' into your DVD drive.# Use the graphical file manager called '''Nautilus''' (remember that you can click Activities, and type nautilus in the search box, then click the application icon to launch. {{Admon/tip|Pinning Applications to the Quick Launch Panel|You can quickly launch your favorite applications by pinning them to the quick launch panel. When you search for an application using the search tool (Nautiluslike ''terminal'' or ''nautilus'') , simply click and drag the application icon to the quick launch panel on the left-hand-side of the screen.}} <ol> <li value="4">In the ''Nautilus'' file manager window, within the "'''Devices'''" section, select your '''Fedora19x86_64''' full install DVD. change to the directory on your Installation DVD. Go to the sub-directory called '''Packages''' and then go to the sub-directory '''l''' (for files beginning with the letter l like the '''lynx''' package). You should see a file called: <code>'''lynx-2.8.78-80.1.dev15.fc19.x86_64.rpm'''</code># Open a shell terminal, and change to the directory: <code>'''/run/media/youruserid/Fedora\ 19\ x86_64/Packages/1'''</code># Execute the following command: <code>'''rpm -i lynx-2.8.78-80.1.dev15.fc19.x86_64.rpm'''</code># Issue an RPM query to check that lynx is application has been installed. Record this command in your lab log-book.# Issue the following command: <code>'''rpm -e lynx'''</code>. Notice that you only need the application name to remove the package, and not the full install package rpm filename.
# Issue an RPM query to verify that lynx is no longer installed. Record this command in your lab log-book.
# Move In your terminal, issue a command to move to the appropriate sub-directory for packages that begin with the letter '''bk'''.# Issue the following command: <code>'''rpm -i BackupPCkolourpaint-34.210.4-1-7.fc19.x86_64.rpm'''</code> and note # Was your installation successful? If there were errors, what do you think caused the resultproblem with that package installation? Record your findings in your lab log-book.
'''Answer the Investigation 2 observations / questions in your lab log book.'''
<ol>
<li value="2">Issue the command: <code>'''yum install BackupPCkolourpaint'''</code> and answer <code>y</code> to the question about installation.
<ol type="a">
<li>Where did ''yum'' get the BackupPC ''kolourpaint'' software?</li> <li>Why could ''yum'' install BackupPC ''kolourpaint'' when rpm couldn't?</li>
</ol>
</li>
<li>Issue an RPM query to verify that BackupPC is the Kolourpaint application has been installed. Record this command in your lab log-book.</li> <li>Issue the command: <code>yum remove BackupPCkolorpaint</code></li> <li>Issue an RPM query to verify that BackupPC kolourpaint is no longer installed. Issue an RPM query to show information that explains the purpose of the Kolourpaint application. Record this command in your lab log-book.</li> <li>Install <code>the '''nled</code> ''' application using '''yum'''. Record this command in your lab log-book.</li> <li>Issue this command: <code>'''yum info cups'''</code></li>
</ol>
 {{Admon/tip|Problems Encountered When Running Yum Command|Sometimes students may experience problems when performing updates when using the '''yum''' command. Sometimes there may other processes that are running the yum application::* Based on you can check for this by issuing the <code>'''ps aux'''</code> command, and kill the resultprocess. Also, do you think that cups it is highly recommended to issue the command: <code>'''yum clean all'''</code> to perform a useful package for your system? If not, try removing itreset and clean up repository data.}} 
<ol>
<li value="8">Based on the result, do you think that cups is a useful package for your system? If not, try removing it.</li> <li>Issue the command: <code>'''yum repolist'''</code> . What do you think this command does? Why would this type of information be important for you as a Linux administrator?</li> <li>Unused and unneeded software can present a security risk and ties up disk space needlessly. Find at least 4 other packages that you're not using on your system(like '''sound and video''' applications), and remove them. Be careful to ensure that removing those packages does not also remove other software that you do need.!</li>
</ol>
'''Answer the Investigation 3 observations / questions in your lab log book.'''
=Logical Volume Management (Introduction)=

Navigation menu