Kamis, 12 September 2019

How to install Haproxy 1.8 using yum on Linux Centos 7

  Tidak ada komentar
Running following command
[[email protected] ~]# wget http://www.nosuchhost.net/~cheese/fedora/packages/epel-7/x86_64/cheese-release-7-1.noarch.rpm
--2019-09-12 15:27:29--  http://www.nosuchhost.net/~cheese/fedora/packages/epel-7/x86_64/cheese-release-7-1.noarch.rpm
Resolving www.nosuchhost.net (www.nosuchhost.net)...
78.46.40.125
Connecting to www.nosuchhost.net (www.nosuchhost.net)|78.46.40.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6104 (6.0K) [application/x-rpm]
Saving to: ‘cheese-release-7-1.noarch.rpm’

100%[============================================================================================>] 6,104       29.9KB/s   in 0.2s

2019-09-12 15:27:40 (29.9 KB/s) - ‘cheese-release-7-1.noarch.rpm’ saved [6104/6104]

[[email protected] ~]#
[[email protected] ~]#
[[email protected] ~]# ls
anaconda-ks.cfg  cheese-release-7-1.noarch.rpm  haproxy-1.8.14-1.el7.x86_64.rpm
[[email protected] ~]#
[[email protected] ~]# yum install cheese-release-7-1.noarch.rpm
Loaded plugins: fastestmirror
Examining cheese-release-7-1.noarch.rpm: cheese-release-7-1.noarch
Marking cheese-release-7-1.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package cheese-release.noarch 0:7-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                          Arch                     Version                 Repository                                    Size
======================================================================================================================================
Installing:
 cheese-release                   noarch                   7-1                     /cheese-release-7-1.noarch                   2.3 k

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

Total size: 2.3 k
Installed size: 2.3 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : cheese-release-7-1.noarch                                                                                          1/1
  Verifying  : cheese-release-7-1.noarch                                                                                          1/1

Installed:
  cheese-release.noarch 0:7-1

Complete!
[[email protected] ~]#
[[email protected] ~]#
[[email protected] ~]# ls
anaconda-ks.cfg  cheese-release-7-1.noarch.rpm 
[[email protected] ~]#
[[email protected] ~]# yum install haproxy -y
Loaded plugins: fastestmirror
Resolving Dependencies
--> Running transaction check
--> Package haproxy.x86_64 0:1.8.14-1.el7 will be installed
--> Processing Dependency: liblua-5.3.so()(64bit) for package: haproxy-1.8.14-1.el7.x86_64
Loading mirror speeds from cached hostfile
 * base: repo.apiknet.co.id
 * epel: kartolo.sby.datautama.net.id
 * extras: repo.apiknet.co.id
 * updates: repo.apiknet.co.id
cheese                                                                                                         | 3.4 kB  00:00:00
cheese/7/x86_64/primary_db                                                                                     | 530 kB  00:00:04
--> Running transaction check
---> Package lua.x86_64 0:5.1.4-15.el7 will be updated
--> Processing Dependency: liblua-5.1.so()(64bit) for package: rpm-python-4.11.3-35.el7.x86_64
--> Processing Dependency: liblua-5.1.so()(64bit) for package: rpm-build-libs-4.11.3-35.el7.x86_64
--> Processing Dependency: liblua-5.1.so()(64bit) for package: rpm-4.11.3-35.el7.x86_64
--> Processing Dependency: liblua-5.1.so()(64bit) for package: rpm-libs-4.11.3-35.el7.x86_64
---> Package lua.x86_64 0:5.3.0-2.el7 will be an update
--> Running transaction check
---> Package compat-lua-libs.x86_64 0:5.1.5-3.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                        Arch                  Version                       Repository                                   Size
======================================================================================================================================
Installing:
 haproxy                        x86_64                1.8.14-1.el7                  /haproxy-1.8.14-1.el7.x86_64                4.0 M
Installing for dependencies:
 compat-lua-libs                x86_64                5.1.5-3.el7                   cheese                                      160 k
Updating for dependencies:
 lua                            x86_64                5.3.0-2.el7                   cheese                                      269 k

Transaction Summary
======================================================================================================================================
Install  1 Package  (+1 Dependent package)
Upgrade             ( 1 Dependent package)

Total size: 4.4 M
Total download size: 428 k
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
warning: /var/cache/yum/x86_64/7/cheese/packages/compat-lua-libs-5.1.5-3.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 3c3ebe43: NOKEY
Public key for compat-lua-libs-5.1.5-3.el7.x86_64.rpm is not installed
(1/2): compat-lua-libs-5.1.5-3.el7.x86_64.rpm                                                                  | 160 kB  00:00:02
(2/2): lua-5.3.0-2.el7.x86_64.rpm                                                                              | 269 kB  00:00:03
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 130 kB/s | 428 kB  00:00:03
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cheese-epel-7-x86_64
Importing GPG key 0x3C3EBE43:
 Userid     : "package system nosuchhost.net <[email protected]>"
 Fingerprint: f24a 6130 de8b a0c1 0ba3 1652 fb35 7108 3c3e be43
 Package    : cheese-release-7-1.noarch (installed)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-cheese-epel-7-x86_64
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : lua-5.3.0-2.el7.x86_64                                                                                             1/4
  Installing : haproxy-1.8.14-1.el7.x86_64                                                                                        2/4
  Installing : compat-lua-libs-5.1.5-3.el7.x86_64                                                                                 3/4
  Cleanup    : lua-5.1.4-15.el7.x86_64                                                                                            4/4
  Verifying  : lua-5.3.0-2.el7.x86_64                                                                                             1/4
  Verifying  : compat-lua-libs-5.1.5-3.el7.x86_64                                                                                 2/4
  Verifying  : haproxy-1.8.14-1.el7.x86_64                                                                                        3/4
  Verifying  : lua-5.1.4-15.el7.x86_64                                                                                            4/4

Installed:
  haproxy.x86_64 0:1.8.14-1.el7

Dependency Installed:
  compat-lua-libs.x86_64 0:5.1.5-3.el7

Dependency Updated:
  lua.x86_64 0:5.3.0-2.el7

Complete!
[[email protected] ~]#
Running following command

Tidak ada komentar :

Posting Komentar