Supplement to CentOSRedHatYUM source extension

Source: Internet
Author: User
Tags mcrypt
In general, we strongly recommend that you use YUM configuration to install the LAMP environment under CentOS6. some brothers also like to use the compilation method. I personally think that if you do not customize the server, the yum installation is stable and simple. why download & amp; make & amp; makeinstall. Configure the rpmforge and epel sources for centos. The official centos source is actually enough, but some extensions like php, such as php-mcrypt, are not available in official sources.

In general, we strongly recommend that you use YUM configuration to install the LAMP environment under CentOS6. some brothers also like to use the compilation method. I personally think that if you do not customize the server, the yum installation is stable and simple. why download & make install.

Configure the rpmforge and epel sources for centos. The official centos source is actually enough, but some extensions like php, such as php-mcrypt, are not available in official sources.
You can find the latest version of rpmforge source in release-*. i686.rpm or rpmforge-release-*. x86_64.rpm.
The epel source can be found in the http://download.fedoraproject.org/pub/epel/6/, 32 systems in the i386 folder, 64-bit in the x86_64 folder, named epel-release-6-*. noarch. rpm, to find the latest version
Here we use a 32-bit system as an example,
# If The system prompts The requested URL returned error: 404, replace it with The latest version.
Rpm-ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Rpm-ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm


Operations: ========================================================== ===
Follow the steps below:


Switch the default centos source to the 163 image (this step is not required)
Http://mirrors.163.com/.help/centos.html

Perform operations as prompted

Then add the yum source and run the following command:
32-bit rpm-ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
Rpm-ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
64-bit rpm-ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
Rpm-ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
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.