Changes

Jump to: navigation, search

OPS235 Lab 3 19

1,164 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.
# 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.
# In your terminal, issue a command to move to the appropriate sub-directory for packages that begin with the letter '''sk'''.# Issue the following command: <code>'''rpm -i seahorsekolourpaint-34.810.24-1.fc19.x86_64.rpm'''</code># Use an rpm query to display information regarding the seahorse application. What is Was your installation successful? If there were errors, what do you think caused the purpose of this applicationproblem 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 seahorsekolourpaint'''</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