Appendix A Installing Software

Below are a few methods to locate and install required packages. You may use any one of theses methods as necessary.

Always verify that intended installations were successful, especially when using the wildcard character!

Using yum

1. Ensure the file /etc/yum.repos.d/server1.repo exists on your system. If does not, download the file from server1:

[root@stationX]# cd /etc/yum.repos.d/
[root@stationX]# wget http://server1/pub/gls/server1.repo

It should contain the following content:

[Server]
name=Server
enable=1
gpgcheck=1
baseurl=http://192.168.0.254/pub/Server

2. After writing the file to disk, and returned to your prompt, enter the following command. You should see output similar to that listed below.

# yum list redhat-release
This system is not registered with RHN.
RHN support will be disabled.
Setting up repositories
Server 100% |=========================| 0000 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 0000 kB 00:00
######################################################### 0000/0000
Installed packages
redhat-release.i386 5.##Server-# installed

3. If your results are similar, you must now install the public GPG keys(note the asterisk):

# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat*

4. You may now use the command listed below to install software:

# yum -y install packagename

Using NFS (may use the "*" wildcard in RPM name)

1. You may use the following commands to access and install software via NFS.

2. # mkdir /mnt/server1

3. # mount -t nfs -o ro server1:/var/ftp/pub/ /mnt/server1

4. # rpm -Uvh /mnt/server1/Server/packagename

Using FTP (may use the "*" wildcard in RPM name)

1. You may use the following command to access and install software via FTP.

2. # rpm -Uvh ftp://server1/pub/Server/packagename

Using HTTP (may NOT use the "*" wildcard in RPM name)

1. You may use the following command to access and install software via HTTP.

2. # rpm -Uvh http://server1/pub/Server/packagename

RH253读书笔记(10)-Appendix A Installing Software的更多相关文章

  1. 强化学习读书笔记 - 10 - on-policy控制的近似方法

    强化学习读书笔记 - 10 - on-policy控制的近似方法 学习笔记: Reinforcement Learning: An Introduction, Richard S. Sutton an ...

  2. RH253读书笔记(5)-Lab 5 Network File Sharing Services

    Lab 5 Network File Sharing Services Goal: Share file or printer resources with FTP, NFS and Samba Se ...

  3. RH253读书笔记(1)-Lab 1 System Monitoring

    Lab 1 System Monitoring Goal: To build skills to better assess system resources, performance and sec ...

  4. RH253读书笔记(3)-Lab 3 Securing Networking

    Lab 3 Securing Networking Goal: To build skills with the Netfilter packet filter Sequence 1: Applyin ...

  5. RH133读书笔记(10)-Lab 10 Exploring Virtualization

    Lab 10 Exploring Virtualization Goal: To explore the Xen virtualization environment and the creation ...

  6. RH253读书笔记(4)-Lab 4 The Domain Name System

    Lab 4 The Domain Name System Goal: To install and configure a DNS server System Setup: Throughout th ...

  7. RH253读书笔记(7)-Lab 7 Electronic Mail

    Lab 7 Electronic Mail Goal: To build common skills with MTA configuration Estimated Duration: 90 min ...

  8. 《Effective Java》读书笔记 - 10.并发

    Chapter 10 Concurrency Item 66: Synchronize access to shared mutable data synchronized这个关键字不仅保证了同步,还 ...

  9. 『TCP/IP详解——卷一:协议』读书笔记——10

    2013-08-22 22:57:17 3.8 ifconfig命令 这个命令在Linux系统下可以通过下面的指令阅读说明文档: ifconfig 由于书中作者用的系统比较早的某Unix系统,所以我的 ...

随机推荐

  1. HGE引擎 - 绘制,声音,碰撞处理

    原帖地址:http://blog.csdn.net/i_dovelemon/article/details/8818037 另外,年代久远,该引擎官网早已上不去了!!! 1.库的安装和下载 从官网上h ...

  2. 如何在 Windows Phone 8 中获取手机的当前位置

    原文 如何在 Windows Phone 8 中获取手机的当前位置 适用于:仅限于 Windows Phone 8. 本主题演示如何使用 Windows Phone 位置 API 确定手机的当前位置. ...

  3. 你真的了解try{ return }finally{}中的return?(转)

    今天去逛论坛 时发现了一个很有趣的问题: 谁能给我我解释一下这段程序的结果为什么是:2.而不是:3 代码如下: class Test { public int aaa() { int x = 1; t ...

  4. LeetCode: Unique Binary Search Trees [095]

    [题目] Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For ...

  5. vs2012 它已停止工作 - 解决方案

    最近学习<Windows多媒体编程>本课程, 蛋疼, 学校原来是MFC... 然后安装vs2012.   后来又在几个插件.. 在这个问题. 开业,提示 vs2012 它已停止工作. wa ...

  6. BZOJ 3172([Tjoi2013]单词-后缀数组第一题+RMQ)

    3172: [Tjoi2013]单词 Time Limit: 10 Sec   Memory Limit: 512 MB Submit: 268   Solved: 145 [ Submit][ St ...

  7. Hibernate Tomcat JNDI数据源配置(转)

    简述: 配置JNDI 查找Tomcat 中server.xml中定义的数据源 步骤: 1. 修改elipse的数据源server.xml 主要修改如下, 1. 添加下面这段Context文本 其中St ...

  8. Android TextView里直接显示图片的三种方法

    方法一:重写TextView的onDraw方法,也挺直观就是不太好控制显示完图片后再显示字体所占空间的位置关系.一般假设字体是在图片上重叠的推荐这样写.时间关系,这个不付源代码了. 方法二:利用Tex ...

  9. asp.net在用户控件中使用ClientScript

    在用户空间中调用ClientScript.RegisterClientScriptBlock方法 ClientScript的命名空间是System.Web.UI.Page,并且要实例化之后的Page才 ...

  10. 密码 hdu

    Time Limit : 2000/1000ms (Java/Other)   Memory Limit : 65536/32768K (Java/Other) Total Submission(s) ...