Linux basic Services (i)

Source: Internet
Author: User
Tags geoip gpg xslt knowledge base

Job One: Nginx service
1. Binary Installation Nginx Package

[[email protected] yum.repos.d]# yum clean allloaded plugins:fastestmirror, langpackscleaning repos:base Epel extr  As updatescleaning up everythingcleaning up list of fastest mirrors[[email protected] yum.repos.d]# yum install Nginx                                                                                                                                            -yloaded Plugins:fastestmirror, Langpacksbase |                                                                                                                            3.6 KB 00:00:00 Epel/x86_64/metalink |                                                                                                                                            5.0 KB 00:00:00 Epel |                                                                                                                                          4.3 KB 00:00:00 Extras |                                       3.4 KB 00:00:00 Updates                                                                                                  |                                                                                                3.4 KB 00:00:00 epel/x86_64/primary_db FAILED    ] 0.0 b/S | 0 B--:--:--ETA http://mirror01.idc.hinet.net/EPEL/7/x86_64/repodata/ A30E4C232554FC53F8A7CDCAC17F531057813EBD07BD3BB376AA6B349BC10CB1-PRIMARY.SQLITE.XZ: [Errno] HTTP Error 404-not foundtrying other mirror. To address this issue refer to the below Knowledge Base article Https://access.redhat.com/articles/1320623If above                                                                                                                   Article doesn ' t help to resolve this issue please create a bug on https://bugs.centos.org/(1/7): Base/7/x86_64/group_gz |                                                                                                          155 KB 00:00:02 (2/7): extras/7/x86_64/primary_db     |                                                                                                                   139 KB 00:00:01 (3/7): Epel/x86_64/updateinfo |                                                                                                                 756 KB 00:00:21 (4/7): base/7/x86_64/primary_db | 5.6 MB 00:00:41 Epel/x86_64/group_gz FAILED ======================  ====================] 237 kb/s | MB 00:00:13 ETA http://sumberterbuka.beritagar.id/epel/7/x86_64/repodata/ 1EF1290202FB9E09F1AA15EFCCEA3456913DF8657CC0E23A1DF61D9EC18E5659-COMPS-EPEL7.XML.XZ: [Errno] Timeout on/HTTP sumberterbuka.beritagar.id/epel/7/x86_64/repodata/ 1EF1290202FB9E09F1AA15EFCCEA3456913DF8657CC0E23A1DF61D9EC18E5659-COMPS-EPEL7.XML.XZ: (Operation too slow. Less than-Bytes/sec transferred the last of seconds ') Trying other mirror.                                  (5/7): Epel/x86_64/group_gz                                                                                   |                                                                                                              KB 00:00:01 (6/7): updates/7/x86_64/primary_db |                                                                                                                   3.8 MB 00:00:50 (7/7): epel/x86_64/primary_db | 4.6 MB 00:01:17 determining fastest mirrors * base:mirrors.yun-idc.com * epel:mirrors.tuna.tsinghua.edu.cn * Extras : Mirrors.btte.net * updates:mirrors.sohu.comResolving dependencies--> Running Transaction Check---> Package  Nginx.x86_64 1:1.10.2-1.el7 is installed--> processing Dependency:nginx-filesystem = 1:1.10.2-1.el7 for package: 1:nginx-1.10.2-1.el7.x86_64--> processing dependency:nginx-all-modules = 1:1.10.2-1.el7 for package:1: nginx-1.10.2-1.el7.x86_64--> processing Dependency:nginx-filesystem for package:1:nginx-1.10.2-1.el7.x86_64--> Processing dependency:libprofiler.so.0 () (64bit) for package:1:nginx-1.10.2-1.el7.x86_64--> Running Transaction Check---> Package gperftools-libs.x86_64 0:2.4-8.el7 'll be installed--> processing Dependency: Libunwind.so.8 () (64bit) for package:gperftools-libs-2.4-8.el7.x86_64---> Package nginx-all-modules.noarch 1:1.10.2-1.el7 'll be installed--> processing dependency:nginx-mod-stream = 1:1.10.2-1.el7 for package:1:nginx-all- modules-1.10.2-1.el7.noarch--> processing dependency:nginx-mod-mail = 1:1.10.2-1.el7 for package:1: nginx-all-modules-1.10.2-1.el7.noarch--> processing dependency:nginx-mod-http-xslt-filter = 1:1.10.2-1.el7 for package:1:nginx-all-modules-1.10.2-1.el7.noarch--> Processing Dependency:nginx-mod-http-perl = 1:1.10.2-1.el7 For package:1:nginx-all-modules-1.10.2-1.el7.noarch--> processing Dependency:nginx-mod-http-image-filter = 1:1.10.2-1.EL7 for package:1:nginx-all-modules-1.10.2-1.el7.noarch--> processing dependency:ngInx-mod-http-geoip = 1:1.10.2-1.el7 for package:1:nginx-all-modules-1.10.2-1.el7.noarch---> Package Nginx-filesystem.noarch 1:1.10.2-1.el7 'll be installed--> Running transaction Check---> Package libunwind.x86_ 2:1.1-5.el7_2.2 'll be installed---> Package nginx-mod-http-geoip.x86_64 1:1.10.2-1.el7 'll be installed---> P Ackage nginx-mod-http-image-filter.x86_64 1:1.10.2-1.el7 'll be a installed---> Package nginx-mod-http-perl.x86_64 1:1.10.2-1.el7 'll be installed---> Package nginx-mod-http-xslt-filter.x86_64 1:1.10.2-1.el7 'll be installed--- > Package nginx-mod-mail.x86_64 1:1.10.2-1.EL7 is installed---> Package nginx-mod-stream.x86_64 1:1.10.2-1. El7 'll be installed--> finished Dependency resolutiondependencies resolved====================================== =============================================================================================================== ================== Package Arch                             Version Repository size=============== ===============================================================================================================                           =========================================installing:nginx x86_64 1:1.10.2-1.EL7 Epel 505 kinstalling for Dependencie                                 S:gperftools-libs x86_64 2.4-8.el7                           Base 272 k Libunwind x86_64                                     2:1.1-5.el7_2.2 Base, K nginx-all-modules                            Noarch 1:1.10.2-1.el7 Epel      K-Nginx-filesystem                                Noarch 1:1.10.2-1.el7 Epel K Nginx-mod-http-geoip x86_64 1:1.10.2-1.el 7 Epel k nginx-mod-http-image-filter x8 6_64 1:1.10.2-1.el7 Epel-K nginx-mod-ht                            Tp-perl x86_64 1:1.10.2-1.el7 Epel 1:1 k Nginx-mod-http-xslt-filter x86_64                                        .10.2-1.el7 Epel k Nginx-mod-mail x86_64 1:1.10.2-1.el7 Epel-K ng          Inx-mod-stream                            x86_64 1:1.10.2-1.el7 Epel Ktransaction summary====================================================================================== =================================================================================install 1 package (+10 Dependent                                                                                                      Packages) Total Download size:1.0 minstalled size:3.2 mdownloading Packages: (1/11): libunwind-1.1-5.el7_2.2.x86_64.rpm  |                                                                                                    00:00:00 KB (2/11): gperftools-libs-2.4-8.el7.x86_64.rpm | 272 KB 00:00:02 Warning:/rpm_bak/epel/packages/nginx-all-modules-1.10.2-1.el7.noarch.rpm:header V3 RSA/SHA256 Signa ture, Key ID 352c64e5:nokey] kb/s | 335 KB 00:00:09 ETA public key for nginx-all-modules-1.10.2-1.el7.noarch.rpm are not Installed (3/11): nginx-all-modules-1.10.2-1.el7.noarch.rpm  |                                                                                                           KB 00:00:04 (4/11): nginx-1.10.2-1.el7.x86_64.rpm |                                                                                                505 KB 00:00:15 (5/11): nginx-filesystem-1.10.2-1.el7.noarch.rpm  |                                                                                            00:00:00 KB (6/11): nginx-mod-http-geoip-1.10.2-1.el7.x86_64.rpm  |                                                                                     KB 00:00:00 (7/11): nginx-mod-http-image-filter-1.10.2-1.el7.x86_64.rpm  |                                                                                      KB 00:00:00 (8/11): nginx-mod-http-xslt-filter-1.10.2-1.el7.x86_64.rpm  | KB 00:00:00 (9/11): nginx-mod-http-perl-1.10.2-1.el7.x86_64.rpm  |                                                                                               KB 00:00:00 (10/11): nginx-mod-stream-1.10.2-1.el7.x86_64.rpm  |                                                                                                 KB 00:00:00 (11/11): nginx-mod-mail-1.10.2-1.el7.x86_64.rpm  | 00:00:00 KB--------------------------------------------------------------------------------------------------                                                                                                                                   ---------------------------------------------------------------------Total kb/s |     1.0 MB 00:00:18 Retrieving key from File:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7Importing GPG key 0x352c64e5:userid : "Fedora EPEL (7) <[email protected]>" Fingerprint:91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5 package:epel-release-7-9.noarch (@extras) from :/etc/pki/rpm-gpg/rpm-gpg-key-epel-7running transaction checkrunning Transaction testtransaction test                                                                                                                   Succeededrunning Transaction installing:2:libunwind-1.1-5.el7_2.2.x86_64                                                                                                                   1/11 installing:gperftools-libs-2.4-8.el7.x86_64 2/11 in                                                                                                             Stalling:1:nginx-filesystem-1.10.2-1.el7.noarch                                                                                                          3/11 installing:1:nginx-mod-http-perl-1.10.2-1.el7.x86_64 4/11 installing:1:nginx-mod-mail-1.10                            .2-1.el7.x86_64                                                                                   5/11 Installing:1:nginx-mod-http-ge                                                                                                         Oip-1.10.2-1.el7.x86_64                                                                                                  6/11 installing:1:nginx-mod-http-image-filter-1.10.2-1.el7.x86_64                                                                                                             7/11 installing:1:nginx-mod-stream-1.10.2-1.el7.x86_64 8/11 Installing:1:ngin                                                                                                                        X-1.10.2-1.el7.x86_64                                                                                                  9/11 installing:1:nginx-mod-http-xslt-filter-1.10.2-1.el7.x86_64 10/11 Installing:1:nginx-all-modules-1.10.2-1.el7.noarc                       H                                                                                    11/11 verifying:1:nginx-mod-http-                                                                                                   Xslt-filter-1.10.2-1.el7.x86_64                                                                                                          1/11 verifying:1:nginx-mod-http-perl-1.10.2-1.el7.x86_64                                                                                                               2/11 verifying:1:nginx-mod-mail-1.10.2-1.el7.x86_64 3/11 Verifying:gper                                                                                                                   Ftools-libs-2.4-8.el7.x86_64                                                                                                         4/11 verifying:1:nginx-mod-http-geoip-1.10.2-1.el7.x86_64 5/11 verifying:1:nginx-mod-http-image-filter-1.10.2           -1.el7.x86_64                                                                                       6/11 Verifying:1:nginx-mod-str                                                                                                             Eam-1.10.2-1.el7.x86_64                                                                                                            7/11 Verifying:1:nginx-all-modules-1.10.2-1.el7.noarch                                                                                                                        8/11 verifying:1:nginx-1.10.2-1.el7.x86_64 9/11 verifying:1:                                                                                                            Nginx-filesystem-1.10.2-1.el7.noarch                                                                                                                  10/11 verifying:2:libunwind-1.1-5.el7_2.2.x86_64                                  11/11 Installed:nginx.x86_64 1:1.10.2-1.el7                                                                                                        Dependency Install ed:gperftools-libs.x86_64 0:2.4-8.el7 libunwind.x86_64 2:1.1-5.el7_2.2 nginx-all- Modules.noarch 1:1.10.2-1.el7 nginx-filesystem.noarch 1:1.10.2-1.el7 nginx-mod-http-geoip.x8 6_64 1:1.10.2-1.el7 nginx-mod-http-image-filter.x86_64 1:1.10.2-1.el7 nginx-mod-http-perl.x86_64 1:                       1.10.2-1.el7 nginx-mod-http-xslt-filter.x86_64 1:1.10.2-1.el7 nginx-mod-mail.x86_64 1:1.10.2-1.el7 nginx-mod-stream.x86_64 1:1.10.2-1.el7 complete!

  

Linux basic Services (i)

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.