Linux Learning notes update yum install latest nginx+php

Source: Internet
Author: User

Yum install Nginx and PHP version is too low, online to find a new source, record!

Source text: https://webtatic.com/packages/php70/

Under Linux, execute the following command:

Centos/rhel 7.x:

RPM-UVH https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpmRPM-UVH https: // mirror.webtatic.com/yum/el7/webtatic-release.rpm

Centos/rhel 6.x:

RPM-UVH https://mirror.webtatic.com/yum/el6/latest.rpm

Now the can install PHP 7.0 (along with a opcode cache) by doing:

Yum Install php70w Php70w-opcache

Note

RPM is a "Add/Remove Program" in Windows like Redhat Package Manager (Redhat Packages management tool)

RPM Execution Installation package
Binary packages (binary) and source code packages (sources) are two types. Binary packages can be installed directly on the computer, and the source code package will be automatically compiled and installed by RPM. Source code packages often use src.rpm as the suffix name.

Common Command combinations:

-IVH: Installation shows installation progress--install--verbose--HASH-UVH: Upgrade Package --UPDATE;-QPL: Lists the file information in the RPM package [Query Packages list] ;-qpi: Lists description information for RPM packages [query package install package (s)];-QF: Find which rpm package the specified file belongs to [query File];-va: Verify all RPM packages to find missing files [ View LOST];-E: Deleting a package
Rpm-q Samba//whether the query program is installedrpm-ivh/media/cdrom/redhat/rpms/samba-3.0.Ten-1.4e.i386.rpm//install and show progress by PathRPM-IVH--relocate/=/opt/gaim gaim-1.3.0-1. fc4.i386.rpm//specifying the installation directoryrpm-IVH--test gaim-1.3.0-1. fc4.i386.rpm//used to check dependencies; not a real installation;RPM-UVH--oldpackage gaim-1.3.0-1. fc4.i386.rpm//new version downgraded to old versionrpm-qa | grep httpd #[Search Specifies whether RPM packages are installed]--all search *httpd*rpm-QL httpd #[Search RPM Package]--list all Files install directory rpm-qpi linux-1.4-6. i368.rpm #[View RPM Package]--query--package--Install package information rpm-QPF linux-1.4-6. i368.rpm #[View RPM Package]--filerpm-QpR file.rpm #[View Package] dependencies Rpm2cpio file.rpm|cpio-Div #[Extract File]rpm-IVH file.rpm #[Installing the new rpm]--install--verbose--hashrpm-ivhrpm-UVH file.rpm #[Upgrade a rpm]--upgraderpm-E file.rpm #[Delete an RPM package]--erase

Linux Learning notes update yum install latest nginx+php

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.