Changes

Jump to: navigation, search

OPS235 Lab 3 - CentOS7

153 bytes added, 03:18, 3 April 2015
no edit summary
#*<b><code><span style="color:#3366CC;font-size:1.2em;">tar cvf /tmp/archive1.tar .</span></code></b>
{{Admon/important | Warning! | Don't miss the '''.''' at the end of the <code>tar</code> commands below! It specifies what should go into the archive: the contents of the current directory.}}
{| width="40%" align="right" cellpadding="10"
|- valign="top"
|colspan="2"|{{Admon/important | Warning! | Don't miss the '''.''' at the end of the <code>tar</code> commands below! It specifies what should go into the archive: the contents of the current directory.}}
 
|}
<ol>
<li value="4">What do the options c, v, and f mean?</li>
===Part 2: Restoring Files From an Archive===
{{Admon/note|Remain #This section is to be performed in your centos3 VM|Perform these steps in the '''centos3''' virtual machine.}}
#Create the directory <b><code><span style="color:#3366CC;font-size:1.2em;">/tmp/extract1</span></code></b>
#Change to the <b><code><span style="color:#3366CC;font-size:1.2em;">/tmp/extract1</span></code></b> directory.
Now that you know how to create and decompress "zipped tarball archives", we will demonstrate how to install applications from websites containing these types of archives. Although this method is not as "user-friendly" as using the yum or rpm command, this method is useful if the application is NOT contained in regular software repositories...
{{Admon/note|Use centos2|Perform these steps in the '''centos2''' virtual machine.}}
In order to build software from source code, you must have the appropriate software development tools (such as make and gcc) and libraries (such as GTK) installed. The required tools will vary depending on the computer languages used in the software being built.
# Part is to be performed in your centos2 VM.
# Issue the following command to install a basic set of development tools and libraries:<br /><code>yum groupinstall "Development Tools" "Development Libraries"</code>
{{Admon/note|Installing Development Libraries|In the future, remember the above procedure whenever installing software from source. Sometimes, you need to install additional tools or libraries in order to compile a particular software package}}
{| width="40%" align="right" cellpadding="10"
|- valign="top"
|colspan="2"|{{Admon/note|Installing Development Libraries|In the future, remember the above procedure whenever installing software from source. Sometimes, you need to install additional tools or libraries in order to compile a particular software package}}
 
|}
<ol>
<li value="3">Go to the directory <code>/tmp</code></li>
== Part 1: Install and Remove Software with Yum ==
{{Admon/note|Internet Connection|In order for yum to work you require a connection to the Internet. Establish this connection by using the browser to log into SeneNET}}
{| width="40%" align="right" cellpadding="10"
|- valign="top"
|colspan="2"|{{Admon/note|Internet Connection|In order for yum to work you require a connection to the Internet. Establish this connection by using the browser to log into SeneNET}}
 
|}
# Change to your home directory.
13,420
edits

Navigation menu