Install Linux, nginx, MySQL, PHP (LEMP) stack on CentOS 6

[root@server2 html]# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
Retrieving http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
warning: /var/tmp/rpm-tmp.E0T3tz: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing...                ########################################### [100%]
   1:epel-release           ########################################### [100%]

Retrieving http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
warning: /var/tmp/rpm-tmp.xd9I2b: Header V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
Preparing...                ########################################### [100%]
   1:remi-release           ########################################### [100%]

[root@server2 html]# yum install nginx*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink                                                                                                                                              |  14 kB     00:00    
 * base: centos-distro.cavecreek.net
 * epel: fedora-epel.mirror.lstn.net
 * extras: dist1.800hosting.com
 * updates: mirror.oss.ou.edu
epel                                                                                                                                                       | 4.2 kB     00:00    
epel/primary_db                                                                                                                                            | 5.6 MB     00:00    
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 0:1.0.15-5.el6 will be installed
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.18)(64bit) for package: nginx-1.0.15-5.el6.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) for package: nginx-1.0.15-5.el6.x86_64
--> Processing Dependency: gd for package: nginx-1.0.15-5.el6.x86_64
--> Processing Dependency: GeoIP for package: nginx-1.0.15-5.el6.x86_64
--> Processing Dependency: libxslt.so.1()(64bit) for package: nginx-1.0.15-5.el6.x86_64
--> Processing Dependency: libgd.so.2()(64bit) for package: nginx-1.0.15-5.el6.x86_64
--> Processing Dependency: libexslt.so.0()(64bit) for package: nginx-1.0.15-5.el6.x86_64
--> Processing Dependency: libGeoIP.so.1()(64bit) for package: nginx-1.0.15-5.el6.x86_64
--> Running transaction check
---> Package GeoIP.x86_64 0:1.4.8-1.el6 will be installed
---> Package gd.x86_64 0:2.0.35-11.el6 will be installed
--> Processing Dependency: libfreetype.so.6()(64bit) for package: gd-2.0.35-11.el6.x86_64
--> Processing Dependency: libfontconfig.so.1()(64bit) for package: gd-2.0.35-11.el6.x86_64
--> Processing Dependency: libXpm.so.4()(64bit) for package: gd-2.0.35-11.el6.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: gd-2.0.35-11.el6.x86_64
---> Package libxslt.x86_64 0:1.1.26-2.el6_3.1 will be installed
--> Running transaction check
---> Package fontconfig.x86_64 0:2.8.0-3.el6 will be installed
---> Package freetype.x86_64 0:2.3.11-14.el6_3.1 will be installed
---> Package libX11.x86_64 0:1.5.0-4.el6 will be installed
--> Processing Dependency: libX11-common = 1.5.0-4.el6 for package: libX11-1.5.0-4.el6.x86_64
--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.5.0-4.el6.x86_64
---> Package libXpm.x86_64 0:3.5.10-2.el6 will be installed
--> Running transaction check
---> Package libX11-common.noarch 0:1.5.0-4.el6 will be installed
---> Package libxcb.x86_64 0:1.8.1-1.el6 will be installed
--> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.8.1-1.el6.x86_64
--> Running transaction check
---> Package libXau.x86_64 0:1.0.6-4.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================
 Package                                      Arch                                  Version                                          Repository                              Size
========================================================================
Installing:
 nginx                                        x86_64                                1.0.15-5.el6                                     epel                                   397 k
Installing for dependencies:
 GeoIP                                        x86_64                                1.4.8-1.el6                                      epel                                   620 k
 fontconfig                                x86_64                                2.8.0-3.el6                                      base                                   186 k
 freetype                                   x86_64                                2.3.11-14.el6_3.1                          updates                            359 k
 gd                                              x86_64                                2.0.35-11.el6                                  base                                 142 k
 libX11                                      x86_64                                1.5.0-4.el6                                      base                                   584 k
 libX11-common                    noarch                                1.5.0-4.el6                                      base                                   192 k
 libXau                                      x86_64                                1.0.6-4.el6                                      base                                    24 k
 libXpm                                     x86_64                                3.5.10-2.el6                                   base                                    51 k
 libxcb                                       x86_64                                1.8.1-1.el6                                      base                                   110 k
 libxslt                                      x86_64                                1.1.26-2.el6_3.1                                 base                                   452 k
Transaction Summary
========================================================================
Install      11 Package(s)
Total download size: 3.0 M
Installed size: 9.9 M
Is this ok [y/N]: y
Downloading Packages:
(1/11): GeoIP-1.4.8-1.el6.x86_64.rpm                                                                                    | 620 kB     00:00    
(2/11): fontconfig-2.8.0-3.el6.x86_64.rpm                                                                             | 186 kB     00:00    
(3/11): freetype-2.3.11-14.el6_3.1.x86_64.rpm                                                                      | 359 kB     00:00    
(4/11): gd-2.0.35-11.el6.x86_64.rpm                                                                                        | 142 kB     00:00    
(5/11): libX11-1.5.0-4.el6.x86_64.rpm                                                                                     | 584 kB     00:00    
(6/11): libX11-common-1.5.0-4.el6.noarch.rpm                                                                   | 192 kB     00:00    
(7/11): libXau-1.0.6-4.el6.x86_64.rpm                                                                                      |  24 kB     00:00    
(8/11): libXpm-3.5.10-2.el6.x86_64.rpm                                                                                  |  51 kB     00:00    
(9/11): libxcb-1.8.1-1.el6.x86_64.rpm                                                                                       110 kB     00:00    
(10/11): libxslt-1.1.26-2.el6_3.1.x86_64.rpm                                                                      | 452 kB     00:00    
(11/11): nginx-1.0.15-5.el6.x86_64.rpm                                                                             | 397 kB     00:00    
------------------------------------------------------------------------------------------------------------
Total                                                                                                                                             1.3 MB/s | 3.0 MB     00:02    
Warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Importing GPG key 0x0608B895:
 Userid : EPEL (6) <epel@fedoraproject.org>
 Package: epel-release-6-8.noarch (installed)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : freetype-2.3.11-14.el6_3.1.x86_64                                                                                    1/11
  Installing : fontconfig-2.8.0-3.el6.x86_64                                                                                               2/11
  Installing : GeoIP-1.4.8-1.el6.x86_64                                                                                                     3/11
  Installing : libxslt-1.1.26-2.el6_3.1.x86_64                                                                                             4/11
  Installing : libX11-common-1.5.0-4.el6.noarch                                                                                     5/11
  Installing : libXau-1.0.6-4.el6.x86_64                                                                                                     6/11
  Installing : libxcb-1.8.1-1.el6.x86_64                                                                                                        7/11
  Installing : libX11-1.5.0-4.el6.x86_64                                                                                                        8/11
  Installing : libXpm-3.5.10-2.el6.x86_64                                                                                                     9/11
  Installing : gd-2.0.35-11.el6.x86_64                                                                                                         10/11
  Installing : nginx-1.0.15-5.el6.x86_64                                                                                                      11/11
  Verifying  : libXau-1.0.6-4.el6.x86_64                                                                                                       1/11
  Verifying  : libXpm-3.5.10-2.el6.x86_64                                                                                                     2/11
  Verifying  : freetype-2.3.11-14.el6_3.1.x86_64                                                                                       3/11
  Verifying  : nginx-1.0.15-5.el6.x86_64                                                                                                    4/11
  Verifying  : libX11-common-1.5.0-4.el6.noarch                                                                                       5/11
  Verifying  : libX11-1.5.0-4.el6.x86_64                                                                                                         6/11
  Verifying  : fontconfig-2.8.0-3.el6.x86_64                                                                                                   7/11
  Verifying  : libxcb-1.8.1-1.el6.x86_64                                                                                                            8/11
  Verifying  : libxslt-1.1.26-2.el6_3.1.x86_64                                                                                                 9/11
  Verifying  : GeoIP-1.4.8-1.el6.x86_64                                                                                                         10/11
  Verifying  : gd-2.0.35-11.el6.x86_64                                                                                                                11/11
Installed:
  nginx.x86_64 0:1.0.15-5.el6                                                                                                                                                     
Dependency Installed:
  GeoIP.x86_64 0:1.4.8-1.el6           fontconfig.x86_64 0:2.8.0-3.el6   freetype.x86_64 0:2.3.11-14.el6_3.1   gd.x86_64 0:2.0.35-11.el6     libX11.x86_64 0:1.5.0-4.el6       
  libX11-common.noarch 0:1.5.0-4.el6   libXau.x86_64 0:1.0.6-4.el6       libXpm.x86_64 0:3.5.10-2.el6          libxcb.x86_64 0:1.8.1-1.el6   libxslt.x86_64 0:1.1.26-2.el6_3.1 
Complete!
[root@server2 html]#


Comments

Popular Posts

Install and configure rsyslog Centralized logging server in CentOS

How to fix postfix/smtp Network is unreachable error

Could not join realm: Necessary packages are not installed: sssd-tools sssd libnss-sss libpam-sss adcli