yum 安装 httpd、ftp

安装httpd

[root@centos01 centos01]# yum list httpd
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
已安装的软件包
httpd.x86_64                   2.4.6-80.el7.centos                     @anaconda
可安装的软件包
httpd.x86_64                   2.4.6-80.el7.centos.1                   updates  
[root@centos01 centos01]#
[root@centos01 centos01]# yum install httpd
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 httpd.x86_64.0.2.4.6-80.el7.centos 将被 升级
--> 正在处理依赖关系 httpd = 2.4.6-80.el7.centos,它被软件包 mod_session-2.4.6-80.el7.centos.x86_64 需要
---> 软件包 httpd.x86_64.0.2.4.6-80.el7.centos.1 将被 更新
--> 正在处理依赖关系 httpd-tools = 2.4.6-80.el7.centos.1,它被软件包 httpd-2.4.6-80.el7.centos.1.x86_64 需要
--> 正在检查事务
---> 软件包 httpd-tools.x86_64.0.2.4.6-80.el7.centos 将被 升级
---> 软件包 httpd-tools.x86_64.0.2.4.6-80.el7.centos.1 将被 更新
---> 软件包 mod_session.x86_64.0.2.4.6-80.el7.centos 将被 升级
---> 软件包 mod_session.x86_64.0.2.4.6-80.el7.centos.1 将被 更新
--> 解决依赖关系完成

依赖关系解决

================================================================================
 Package           架构         版本                         源             大小
================================================================================
正在更新:
 httpd             x86_64       2.4.6-80.el7.centos.1       updates       2.7 M
为依赖而更新:
 httpd-tools       x86_64       2.4.6-80.el7.centos.1       updates        90 k
 mod_session       x86_64       2.4.6-80.el7.centos.1       updates        60 k

事务概要
================================================================================
升级  1 软件包 (+2 依赖软件包)

总计:2.9 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在更新    : httpd-tools-2.4.6-80.el7.centos.1.x86_64                               1/6 
  正在更新    : httpd-2.4.6-80.el7.centos.1.x86_64                                     2/6 
  正在更新    : mod_session-2.4.6-80.el7.centos.1.x86_64                               3/6 
  清理       : mod_session-2.4.6-80.el7.centos.x86_64                                 4/6 
  清理       : httpd-2.4.6-80.el7.centos.x86_64                                       5/6 
  清理       : httpd-tools-2.4.6-80.el7.centos.x86_64                                 6/6 
  验证中      : mod_session-2.4.6-80.el7.centos.1.x86_64                               1/6 
  验证中      : httpd-tools-2.4.6-80.el7.centos.1.x86_64                               2/6 
  验证中      : httpd-2.4.6-80.el7.centos.1.x86_64                                     3/6 
  验证中      : mod_session-2.4.6-80.el7.centos.x86_64                                 4/6 
  验证中      : httpd-2.4.6-80.el7.centos.x86_64                                       5/6 
  验证中      : httpd-tools-2.4.6-80.el7.centos.x86_64                                 6/6 

更新完毕:
  httpd.x86_64 0:2.4.6-80.el7.centos.1                                                                                                                                                 

作为依赖被升级:
  httpd-tools.x86_64 0:2.4.6-80.el7.centos.1           mod_session.x86_64 0:2.4.6-80.el7.centos.1    

完毕!
[root@centos01 centos01]# 

 

安装ftp

[root@centos01 centos01]# yum list ftp
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
可安装的软件包
ftp.x86_64                                  0.17-67.el7                               base
[root@centos01 centos01]# yum install ftp
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 ftp.x86_64.0.0.17-67.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

===========================================================================================================
 Package                   架构                    版本                         源                      大小
===========================================================================================================
正在安装:
 ftp                       x86_64                 0.17-67.el7                  base                   61 k

事务概要
===========================================================================================================
安装  1 软件包

总下载量:61 k
安装大小:96 k
Is this ok [y/d/N]: y
Downloading packages:
ftp-0.17-67.el7.x86_64.rpm                                                              |  61 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : ftp-0.17-67.el7.x86_64                                                                  1/1 
  验证中      : ftp-0.17-67.el7.x86_64                                                                  1/1 

已安装:
  ftp.x86_64 0:0.17-67.el7                                                                                                                                                             

完毕!
[root@centos01 centos01]# 

 

posted @ 2018-08-23 00:20  茗::流  阅读(326)  评论(0)    收藏  举报
如有雷同,纯属参考。如有侵犯你的版权,请联系我。