Selasa, 26 Maret 2019

How to install php 5.6 remi on fedora 27

  Tidak ada komentar
Looking for yum config manager package name 
[root@itop ~]# dnf install http://rpms.remirepo.net/fedora/remi-release-27.rpm
Last metadata expiration check: 1:14:03 ago on Tue 26 Mar 2019 08:09:10 PM WIB.
remi-release-27.rpm                                                                                    12 kB/s |  20 kB     00:01
Dependencies resolved.
======================================================================================================================================
 Package                         Arch                      Version                              Repository                       Size
======================================================================================================================================
Installing:
 remi-release                    noarch                    27-5.fc27.remi                       @commandline                     20 k

Transaction Summary
======================================================================================================================================
Install  1 Package

Total size: 20 k
Installed size: 12 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                              1/1
  Installing       : remi-release-27-5.fc27.remi.noarch                                                                           1/1
  Verifying        : remi-release-27-5.fc27.remi.noarch                                                                           1/1

Installed:
  remi-release.noarch 27-5.fc27.remi

Complete!
[root@itop httpd]#
[root@itop httpd]# yum search yum-config-manager
Last metadata expiration check: 1:15:49 ago on Tue 26 Mar 2019 08:09:10 PM WIB.
============================================== Description Matched: yum-config-manager ===============================================
yum-utils.noarch : Utilities based around the yum package manager
[root@itop httpd]#
[root@itop httpd]# yum install yum-utils.noarch
Last metadata expiration check: 1:16:16 ago on Tue 26 Mar 2019 08:09:10 PM WIB.
Dependencies resolved.
======================================================================================================================================
 Package                                Arch                      Version                            Repository                  Size
======================================================================================================================================
Installing:
 yum-utils                              noarch                    1.1.31-514.fc27                    updates                    118 k
Installing dependencies:
 pyliblzma                              x86_64                    0.5.3-19.fc27                      fedora                      54 k
 python-urlgrabber                      noarch                    3.10.1-12.fc27                     fedora                     111 k
 python2-iniparse                       noarch                    0.4-26.fc27                        fedora                      46 k
 python2-kitchen                        noarch                    1.2.4-7.fc27                       fedora                     121 k
 python2-pycurl                         x86_64                    7.43.0-9.fc27                      fedora                     247 k
 python2-pygpgme                        x86_64                    0.3-25.fc27                        fedora                      92 k
 python2-rpm                            x86_64                    4.14.2.1-1.fc27                    updates                    118 k
 python2-six                            noarch                    1.11.0-1.fc27                      fedora                      36 k
 pyxattr                                x86_64                    0.5.3-12.fc27                      fedora                      34 k
 yum                                    noarch                    3.4.3-513.fc27                     fedora                     1.2 M
 yum-metadata-parser                    x86_64                    1.1.4-20.fc27                      fedora                      39 k

Transaction Summary
======================================================================================================================================
Install  12 Packages

Total download size: 2.2 M
Installed size: 8.7 M
Is this ok [y/N]: y
Downloading Packages:
(1/12): yum-utils-1.1.31-514.fc27.noarch.rpm                                                          712 kB/s | 118 kB     00:00
(2/12): python2-kitchen-1.2.4-7.fc27.noarch.rpm                                                       469 kB/s | 121 kB     00:00
(3/12): pyliblzma-0.5.3-19.fc27.x86_64.rpm                                                            386 kB/s |  54 kB     00:00
(4/12): python-urlgrabber-3.10.1-12.fc27.noarch.rpm                                                   1.7 MB/s | 111 kB     00:00
(5/12): python2-iniparse-0.4-26.fc27.noarch.rpm                                                       572 kB/s |  46 kB     00:00
(6/12): python2-pygpgme-0.3-25.fc27.x86_64.rpm                                                        885 kB/s |  92 kB     00:00
(7/12): pyxattr-0.5.3-12.fc27.x86_64.rpm                                                              610 kB/s |  34 kB     00:00
(8/12): yum-metadata-parser-1.1.4-20.fc27.x86_64.rpm                                                  1.4 MB/s |  39 kB     00:00
(9/12): python2-six-1.11.0-1.fc27.noarch.rpm                                                          1.3 MB/s |  36 kB     00:00
(10/12): yum-3.4.3-513.fc27.noarch.rpm                                                                2.3 MB/s | 1.2 MB     00:00
(11/12): python2-pycurl-7.43.0-9.fc27.x86_64.rpm                                                      1.8 MB/s | 247 kB     00:00
(12/12): python2-rpm-4.14.2.1-1.fc27.x86_64.rpm                                                       1.0 MB/s | 118 kB     00:00
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 841 kB/s | 2.2 MB     00:02
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                              1/1
  Installing       : python2-rpm-4.14.2.1-1.fc27.x86_64                                                                          1/12
  Installing       : python2-six-1.11.0-1.fc27.noarch                                                                            2/12
  Installing       : python2-iniparse-0.4-26.fc27.noarch                                                                         3/12
  Installing       : python2-pycurl-7.43.0-9.fc27.x86_64                                                                         4/12
  Installing       : python-urlgrabber-3.10.1-12.fc27.noarch                                                                     5/12
  Installing       : yum-metadata-parser-1.1.4-20.fc27.x86_64                                                                    6/12
  Installing       : pyxattr-0.5.3-12.fc27.x86_64                                                                                7/12
  Installing       : python2-pygpgme-0.3-25.fc27.x86_64                                                                          8/12
  Installing       : pyliblzma-0.5.3-19.fc27.x86_64                                                                              9/12
  Installing       : yum-3.4.3-513.fc27.noarch                                                                                  10/12
  Running scriptlet: yum-3.4.3-513.fc27.noarch                                                                                  10/12
  Installing       : python2-kitchen-1.2.4-7.fc27.noarch                                                                        11/12
  Installing       : yum-utils-1.1.31-514.fc27.noarch                                                                           12/12
  Running scriptlet: yum-utils-1.1.31-514.fc27.noarch                                                                           12/12
Running as unit: run-raa46ed1db21b47a99acd6ce5595de3b3.service
  Verifying        : yum-utils-1.1.31-514.fc27.noarch                                                                            1/12
  Verifying        : python2-kitchen-1.2.4-7.fc27.noarch                                                                         2/12
  Verifying        : yum-3.4.3-513.fc27.noarch                                                                                   3/12
  Verifying        : pyliblzma-0.5.3-19.fc27.x86_64                                                                              4/12
  Verifying        : python-urlgrabber-3.10.1-12.fc27.noarch                                                                     5/12
  Verifying        : python2-iniparse-0.4-26.fc27.noarch                                                                         6/12
  Verifying        : python2-pygpgme-0.3-25.fc27.x86_64                                                                          7/12
  Verifying        : pyxattr-0.5.3-12.fc27.x86_64                                                                                8/12
  Verifying        : yum-metadata-parser-1.1.4-20.fc27.x86_64                                                                    9/12
  Verifying        : python2-pycurl-7.43.0-9.fc27.x86_64                                                                        10/12
  Verifying        : python2-six-1.11.0-1.fc27.noarch                                                                           11/12
  Verifying        : python2-rpm-4.14.2.1-1.fc27.x86_64                                                                         12/12

Installed:
  yum-utils.noarch 1.1.31-514.fc27          pyliblzma.x86_64 0.5.3-19.fc27            python-urlgrabber.noarch 3.10.1-12.fc27
  python2-iniparse.noarch 0.4-26.fc27       python2-kitchen.noarch 1.2.4-7.fc27       python2-pycurl.x86_64 7.43.0-9.fc27
  python2-pygpgme.x86_64 0.3-25.fc27        python2-rpm.x86_64 4.14.2.1-1.fc27        python2-six.noarch 1.11.0-1.fc27
  pyxattr.x86_64 0.5.3-12.fc27              yum.noarch 3.4.3-513.fc27                 yum-metadata-parser.x86_64 1.1.4-20.fc27

Complete!
[root@itop ~]#

Perform package installation
[root@itop ~]# dnf --enablerepo=remi install php56
Last metadata expiration check: 0:00:00 ago on Tue 26 Mar 2019 09:40:47 PM WIB.
Dependencies resolved.
======================================================================================================================================
 Package                               Arch                    Version                                 Repository                Size
======================================================================================================================================
Installing:
 php56                                 x86_64                  3.0-1.fc27.remi                         remi                     8.1 k
Upgrading:
 libzip                                x86_64                  1.5.2-1.fc27.remi                       remi                      60 k
Installing dependencies:
 environment-modules                   x86_64                  3.2.10-23.fc27                          fedora                   118 k
 php56-php-cli                         x86_64                  5.6.40-5.fc27.remi                      remi                     2.7 M
 php56-php-common                      x86_64                  5.6.40-5.fc27.remi                      remi                     702 k
 php56-php-pear                        noarch                  1:1.10.9-1.fc27.remi                    remi                     363 k
 php56-php-pecl-jsonc                  x86_64                  1.3.10-2.fc27.remi                      remi                      50 k
 php56-php-pecl-zip                    x86_64                  1.15.4-1.fc27.remi                      remi                      47 k
 php56-php-process                     x86_64                  5.6.40-5.fc27.remi                      remi                      70 k
 php56-php-xml                         x86_64                  5.6.40-5.fc27.remi                      remi                     173 k
 php56-runtime                         x86_64                  3.0-1.fc27.remi                         remi                     1.1 M
 scl-utils                             x86_64                  1:2.0.2-7.fc27                          updates                   44 k
 tcl                                   x86_64                  1:8.6.8-1.fc27                          updates                  1.1 M

Transaction Summary
======================================================================================================================================
Install  12 Packages
Upgrade   1 Package

Total download size: 6.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/13): environment-modules-3.2.10-23.fc27.x86_64.rpm                                                  98 kB/s | 118 kB     00:01
(2/13): scl-utils-2.0.2-7.fc27.x86_64.rpm                                                              44 kB/s |  44 kB     00:01
(3/13): php56-3.0-1.fc27.remi.x86_64.rpm                                                              1.3 kB/s | 8.1 kB     00:06
[MIRROR] php56-runtime-3.0-1.fc27.remi.x86_64.rpm: Curl error (28): Timeout was reached for http://mirror.innosol.asia/remi/fedora/27/remi/x86_64/php56-runtime-3.0-1.fc27.remi.x86_64.rpm [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
(4/13): php56-runtime-3.0-1.fc27.remi.x86_64.rpm                                                       35 kB/s | 1.1 MB     00:33
(5/13): php56-php-pecl-jsonc-1.3.10-2.fc27.remi.x86_64.rpm                                             66 kB/s |  50 kB     00:00
(6/13): php56-php-pear-1.10.9-1.fc27.remi.noarch.rpm                                                  181 kB/s | 363 kB     00:02
(7/13): php56-php-process-5.6.40-5.fc27.remi.x86_64.rpm                                                70 kB/s |  70 kB     00:01
(8/13): php56-php-xml-5.6.40-5.fc27.remi.x86_64.rpm                                                   172 kB/s | 173 kB     00:01
(9/13): tcl-8.6.8-1.fc27.x86_64.rpm                                                                   375 kB/s | 1.1 MB     00:03
[MIRROR] php56-php-cli-5.6.40-5.fc27.remi.x86_64.rpm: Curl error (28): Timeout was reached for http://mirror.innosol.asia/remi/fedora/27/remi/x86_64/php56-php-cli-5.6.40-5.fc27.remi.x86_64.rpm [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
(10/13): php56-php-pecl-zip-1.15.4-1.fc27.remi.x86_64.rpm                                              14 kB/s |  47 kB     00:03
(11/13): libzip-1.5.2-1.fc27.remi.x86_64.rpm                                                           23 kB/s |  60 kB     00:02
(12/13): php56-php-cli-5.6.40-5.fc27.remi.x86_64.rpm                                                   53 kB/s | 2.7 MB     00:52
[MIRROR] php56-php-common-5.6.40-5.fc27.remi.x86_64.rpm: Curl error (28): Timeout was reached for http://mirror.innosol.asia/remi/fedora/27/remi/x86_64/php56-php-common-5.6.40-5.fc27.remi.x86_64.rpm [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
(13/13): php56-php-common-5.6.40-5.fc27.remi.x86_64.rpm                                                12 kB/s | 702 kB     00:56
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 102 kB/s | 6.6 MB     01:05
warning: /var/cache/dnf/remi-1daf60c4c11d9ff4/packages/php56-3.0-1.fc27.remi.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 0364b949: NOKEY
Importing GPG key 0x0364B949:
 Userid     : "Remi's RPM repository <[email protected]>"
 Fingerprint: 44E8 9CD5 B233 62C2 24CE 5A5D E080 F29F 0364 B949
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-remi-27
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                              1/1
  Upgrading        : libzip-1.5.2-1.fc27.remi.x86_64                                                                             1/14
  Running scriptlet: libzip-1.5.2-1.fc27.remi.x86_64                                                                             1/14
  Installing       : tcl-1:8.6.8-1.fc27.x86_64                                                                                   2/14
  Running scriptlet: tcl-1:8.6.8-1.fc27.x86_64                                                                                   2/14
  Installing       : environment-modules-3.2.10-23.fc27.x86_64                                                                   3/14
  Running scriptlet: environment-modules-3.2.10-23.fc27.x86_64                                                                   3/14
  Installing       : scl-utils-1:2.0.2-7.fc27.x86_64                                                                             4/14
  Installing       : php56-runtime-3.0-1.fc27.remi.x86_64                                                                        5/14
  Running scriptlet: php56-runtime-3.0-1.fc27.remi.x86_64                                                                        5/14
  Installing       : php56-php-pecl-jsonc-1.3.10-2.fc27.remi.x86_64                                                              6/14
  Installing       : php56-php-common-5.6.40-5.fc27.remi.x86_64                                                                  7/14
  Installing       : php56-php-pecl-zip-1.15.4-1.fc27.remi.x86_64                                                                8/14
  Installing       : php56-php-cli-5.6.40-5.fc27.remi.x86_64                                                                     9/14
  Installing       : php56-php-process-5.6.40-5.fc27.remi.x86_64                                                                10/14
  Installing       : php56-php-xml-5.6.40-5.fc27.remi.x86_64                                                                    11/14
  Installing       : php56-php-pear-1:1.10.9-1.fc27.remi.noarch                                                                 12/14
  Installing       : php56-3.0-1.fc27.remi.x86_64                                                                               13/14
  Cleanup          : libzip-1.3.2-1.fc27.x86_64                                                                                 14/14
  Running scriptlet: libzip-1.3.2-1.fc27.x86_64                                                                                 14/14
  Running scriptlet: php56-php-common-5.6.40-5.fc27.remi.x86_64                                                                 14/14
=====================================================================

  WARNING : PHP 5.6 have reached its "End of Life" in
  January 2019. Even, if this package includes some of
  the important security fix, backported from 7.1, the
  UPGRADE to a maintained version is very strongly RECOMMENDED.

  WARNING : Fedora 27 is now EOL :
  You should consider upgrading to a supported release
=====================================================================
  Running scriptlet: libzip-1.3.2-1.fc27.x86_64                                                                                 14/14
Running as unit: run-rcd6ed153e18a4d47a621a760d072112d.service
  Running scriptlet: php56-php-pear-1:1.10.9-1.fc27.remi.noarch                                                                 14/14
  Verifying        : php56-3.0-1.fc27.remi.x86_64                                                                                1/14
  Verifying        : php56-runtime-3.0-1.fc27.remi.x86_64                                                                        2/14
  Verifying        : environment-modules-3.2.10-23.fc27.x86_64                                                                   3/14
  Verifying        : scl-utils-1:2.0.2-7.fc27.x86_64                                                                             4/14
  Verifying        : php56-php-cli-5.6.40-5.fc27.remi.x86_64                                                                     5/14
  Verifying        : php56-php-common-5.6.40-5.fc27.remi.x86_64                                                                  6/14
  Verifying        : php56-php-pecl-jsonc-1.3.10-2.fc27.remi.x86_64                                                              7/14
  Verifying        : php56-php-pear-1:1.10.9-1.fc27.remi.noarch                                                                  8/14
  Verifying        : php56-php-process-5.6.40-5.fc27.remi.x86_64                                                                 9/14
  Verifying        : php56-php-xml-5.6.40-5.fc27.remi.x86_64                                                                    10/14
  Verifying        : tcl-1:8.6.8-1.fc27.x86_64                                                                                  11/14
  Verifying        : php56-php-pecl-zip-1.15.4-1.fc27.remi.x86_64                                                               12/14
  Verifying        : libzip-1.5.2-1.fc27.remi.x86_64                                                                            13/14
  Verifying        : libzip-1.3.2-1.fc27.x86_64                                                                                 14/14

Installed:
  php56.x86_64 3.0-1.fc27.remi                                     environment-modules.x86_64 3.2.10-23.fc27
  php56-php-cli.x86_64 5.6.40-5.fc27.remi                          php56-php-common.x86_64 5.6.40-5.fc27.remi
  php56-php-pear.noarch 1:1.10.9-1.fc27.remi                       php56-php-pecl-jsonc.x86_64 1.3.10-2.fc27.remi
  php56-php-pecl-zip.x86_64 1.15.4-1.fc27.remi                     php56-php-process.x86_64 5.6.40-5.fc27.remi
  php56-php-xml.x86_64 5.6.40-5.fc27.remi                          php56-runtime.x86_64 3.0-1.fc27.remi
  scl-utils.x86_64 1:2.0.2-7.fc27                                  tcl.x86_64 1:8.6.8-1.fc27

Upgraded:
  libzip.x86_64 1.5.2-1.fc27.remi

Complete!
[root@itop ~]#


Tidak ada komentar :

Posting Komentar