Linux kit upgrade

Source: Internet
Author: User
Tags ftp site
Article title: Linux kit upgrade. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Preface
Although RedHat provides useful things, Linux itself has been improving. of course ???? Milk? ? What is the accuracy of the cut word? Wu Yu? Too many? The ghost Web server should know that RedHat is a set of Apache software, which is called a suite! When do I need to update the suite? This usually depends on your needs. if you think your Linux is good enough, you do not need to upgrade it. but if you think there is an updated suite, the functions in this new suite are what you want, so you have to update the suite!
Update kits. The most common one is to directly update the software using rpm! Rpm is easy to use! Let's talk about how to update your RedHat 6.1 Kit with rpm!
In addition, in RedHat, the rpm program is used to install all the software suites. Therefore, it is best to select * when installing some software *. i386.rpm or *. src. rpm for installation. This will make subsequent upgrades or installation easier!
  
  
Upgrade Tool: rpm
To upgrade the suite, you must first know the version of your suite. how do you know? If you want to know the version of your Web Server (Apache software), enter:
   
Note that there are two ways to install it! This is because there are two rpm modes, one is already encoded (i386.rpm) and the other is not encoded (src. rpm) (usually src. the file with the rpm file name is called SRPM !), The two types of rpm installation are not the same! In addition, you can use -- rebuild to create your Linux rpm before installing it, the i386.rpm file encoded with -- rebuild will be stored in the/usr/src/redhat/RPMS/i386 Directory. for example, in the above example, the apache-1.3.9-4.i386.rpm will be made and placed in the/usr/src/redhat/RPMS/i386 directory, you just need to install it with ivh or Uvh.
Upgrade Your Suite:
What if you just want to upgrade your suite? How to upgrade? The first step is to download the new kit rpm from the network first? N, you can catch it on all major FTP sites, or you can catch it directly from the FTP site below:
RPM:
Ftp://linux.sinica.edu.tw/pub1/redhat/updates/6.2/en/ OS /i386/
Ftp://linux.cis.nctu.edu.tw/LINK/distributions/redhat/redhat/linux/7.1/en/ OS /i386/RedHat/RPMS/
SRPM:
Ftp://linux.cis.nctu.edu.tw/LINK/distributions/redhat/redhat/linux/7.1/en/ OS /i386/SRPMS/
On the FTP site above, you can see that the latest apache version is: apache-1.3.19-5.i386.rpm, it should be newer than your version! If you want to update it, let's catch it! Then, perform the upgrade in the following ways:
   
   
  
Upgrade rpm
But in fact, the biggest problem with rpm is that the old version of the rpm program cannot be upgraded or installed for the newer version of the. rpm file. then you must upgrade your rpm program! Generally, if you find that the following message appears when you want to install rpm, it means you need to upgrade your rpm program:
   
If you use Linux provided on this webpage as the installation system, the rpm Version 3.0.3-2 will appear! When we want to upgrade it to the newer version 4.0.2, you can download it as follows:
Ftp://linux.sinica.edu.tw/pub1/redhat/updates/6.2/en/ OS /i386/
However, it must be noted that, since the rpm upgrade requires the help of other kits, you cannot only download rpm-related files. basically, you should download these eight files:
· Db3-3.1.17-4.6x.i386.rpm
· Db3-devel-3.1.17-4.6x.i386.rpm
· Db3-utils-3.1.17-4.6x.i386.rpm
· Popt-1.6.2-6x. i386.rpm
· Rpm-4.0.2-6x. i386.rpm
Rpm-build-4.0.2-6x.i386.rpm
Rpm-devel-4.0.2-6x.i386.rpm
Rpm-python-4.0.2-6x.i386.rpm
You can click the above eight files and download them from here! How to install it? As mentioned above, since we have not installed the db3 suite, and popt needs to be upgraded, you can upgrade it in the following order!
  
  
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.