zoukankan      html  css  js  c++  java
  • 关于升级linux下apache

    1:Check whether Apache is already installed.
    
    # rpm -qa | grep -i http
    
    httpd-tools-2.2.8-3.i386
    httpd-2.2.8-3.i386
    [Note: This indicates that Apache 2.2.8 version is installed already]
    2:Check whether latest version of Apache is available for installation using yum.
    yum check-update httpd
    
    Loaded plugins: refresh-packagekit
    httpd.i386      2.2.9-1.fc9       updates
    [Note: This indicates that the latest Apache version 2.2.9
           is available for upgrade]
    3:Upgrade Apache to latest version using yum.
    # yum update httpd
    Loaded plugins: refresh-packagekit
    Setting up Update Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package httpd.i386 0:2.2.9-1.fc9 set to be updated
    --> Processing Dependency: httpd-tools = 2.2.9-1.fc9 for package: httpd
    --> Running transaction check
    ---> Package httpd-tools.i386 0:2.2.9-1.fc9 set to be updated
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    =============================================================================
    Package                 Arch       Version          Repository        Size
    =============================================================================
    Updating:
    httpd                   i386       2.2.9-1.fc9      updates           975 k
    httpd-tools             i386       2.2.9-1.fc9      updates            69 k
    
    Transaction Summary
    =============================================================================
    Install      0 Package(s)
    Update       2 Package(s)
    Remove       0 Package(s)
    
    Total download size: 1.0 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/2): httpd-tools-2.2.9-1.fc9.i386.rpm                  |  69 kB     00:00
    (2/2): httpd-2.2.9-1.fc9.i386.rpm                        | 975 kB     00:00
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Updating       : httpd-tools                                       [1/4]
    Updating       : httpd                                             [2/4]
    Cleanup        : httpd                                             [3/4]
    Cleanup        : httpd-tools                                       [4/4]
    
    Updated: httpd.i386 0:2.2.9-1.fc9 httpd-tools.i386 0:2.2.9-1.fc9
    Complete!
    4:Verify whether the Apache got upgraded successfully.
    # rpm -qa | grep -i http
    
    httpd-tools-2.2.9-1.fc9.i386
    httpd-2.2.9-1.fc9.i386
    [Note: This indicates that Apache was upgraded to 2.2.9 successfully]
  • 相关阅读:
    呵呵,今天偶然看到了我最早期的商业网站作品
    轻量级的Ajax解决方案——DynAjax:直接在客户端调用C#类的方法
    RegexDesigner.NET 正则表达式开源工具
    Asp.net页面的生命周期之通俗理解
    我设计的公司网站主页 截图
    没想到裴勇俊留了一头长发。
    一个very好的Javascript ajax库,jQuery!
    JQuery资源收集
    收藏:悟透JavaScript
    VS2008 F5不能调试情况一例
  • 原文地址:https://www.cnblogs.com/keanuyaoo/p/3359758.html
Copyright © 2011-2022 走看看