RH253读书笔记(10)-Appendix A Installing Software
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的更多相关文章
- 强化学习读书笔记 - 10 - on-policy控制的近似方法
强化学习读书笔记 - 10 - on-policy控制的近似方法 学习笔记: Reinforcement Learning: An Introduction, Richard S. Sutton an ...
- 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 ...
- RH253读书笔记(1)-Lab 1 System Monitoring
Lab 1 System Monitoring Goal: To build skills to better assess system resources, performance and sec ...
- RH253读书笔记(3)-Lab 3 Securing Networking
Lab 3 Securing Networking Goal: To build skills with the Netfilter packet filter Sequence 1: Applyin ...
- RH133读书笔记(10)-Lab 10 Exploring Virtualization
Lab 10 Exploring Virtualization Goal: To explore the Xen virtualization environment and the creation ...
- 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 ...
- RH253读书笔记(7)-Lab 7 Electronic Mail
Lab 7 Electronic Mail Goal: To build common skills with MTA configuration Estimated Duration: 90 min ...
- 《Effective Java》读书笔记 - 10.并发
Chapter 10 Concurrency Item 66: Synchronize access to shared mutable data synchronized这个关键字不仅保证了同步,还 ...
- 『TCP/IP详解——卷一:协议』读书笔记——10
2013-08-22 22:57:17 3.8 ifconfig命令 这个命令在Linux系统下可以通过下面的指令阅读说明文档: ifconfig 由于书中作者用的系统比较早的某Unix系统,所以我的 ...
随机推荐
- 从零开始学Xamarin.Forms(一) 概述
原文:从零开始学Xamarin.Forms(一) 概述 Xamarin 读 "ˈzæmərin",是一个基于开源项目mono的能够使用C#开发的收费的跨平台(iOS.And ...
- Chrome应用技巧之代码整理。
我们有时候在看别人站点代码时往往是经过压缩的,代码都在一行上了,调试非常是困难,今天给大家介绍一种基本Chrome浏览器的代码整理方法.请看图:
- 我的CSDN之路
经营CSDN博客刚满一年,能够说CSDN给我们带来了非常大的帮助,这一年里CSDN见证了我们的成长.以下两篇博客就是我这一年在CSDN的缩影. 这篇是我一年前写的,那时候刚申请CSDN不久:http: ...
- php:修改NetBeans默认字体
在Netbeans中由于使用了Swing进行开发,所以其中界面的字体也是由Java虚拟机进行配置而不是随操作系统的.在安装完Netbeans后默认的字体大小是11px.而在Windows下的宋体最小支 ...
- add-apt-repository
也许你早已注意到,我们在介绍软件的时候,在安装这块一般都提供 PPA 源安装方式,这是一种快速方便的软件安装方法,但对于一些新手来说,对 PPA 并不是很熟悉,下面我们就详细介绍一下. # 我们先了解 ...
- sql语句中单引号嵌套问题
在sql语句中,我们难免会用到单引号嵌套的时候,但是直接嵌套肯定是不行的,java中用反斜杠做转义符也是不行的,在sql中是用单引号来做转义符的. 比如下面例子是存储过程里查询时的语句示例 exec ...
- 采用jqueryUI创建日期选择器
该公司的项目使用的插件时间选择,百度很长一段时间.没有找到合适的,而且,他们在看了jqueryUI.自己变成一个更好的集成日期选择器.为了以后遇到相同的问题是可以解决. 以下就贴出部分使用的代码,比較 ...
- DV工作流
- ps命令用法详解(转)
ps p 22763 -L -o pcpu,pid,tid,time,tname,cmd,pmem,rss --sort rss 按rss排序 ps p 26653 -L -o pcpu,tid ...
- Spring4.0MVC学习资料,ApplicationContext中的方法具体解释(三)
做为java开源的一部分,spring框架一直排在老大的位置.Spring4.0 是 Spring 推出的一个重大版本号升级,进一步加强了 Spring 作为 Java 领域第一开源平台的地位.Spr ...