About upgrading apache in linux

Source: Internet
Author: User
About upgrading linux apache1: CheckwhetherApacheisalreadyinstalledrpm-qa | grep-ihttphttpd-tools-228-3i386httpd-228-3i386 [Note: ThisindicatesthatApache about upgrading linux apache 1: Check whether Apache is already installed. # rpm-qa | grep-I http httpd-tools-2.2.8-3.i386httpd-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 installa Tion using yum. yum check-update httpd Loaded plugins: refresh-packagekithttpd.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 httpdLoaded plugins: refresh-packagekitSetting up Update ProcessResolving 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 khttpd-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 MIs this OK [y/N]: yDownloading Packages :( 1/2): httpd-tools-2.2.9-1.fc9.i386.rpm | 69 kB (2/2): httpd-2.2. 9-1.fc9.i386.rpm | 975 kB 00: 00 Running Transaction TestFinished Transaction TestTransaction Test SucceededRunning TransactionUpdating: 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. fc9Complete! 4: Verify whether the Apache got upgraded successfully. # rpm-qa | grep-I http httpd-tools-2.2.9-1.fc9.i386httpd-2.2.9-1.fc9.i386 [Note: This indicates that Apache was upgraded to 2.2.9 successfully]
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.