Minggu, 29 September 2019

How to Add swap memory on Linux Debian 8

  Tidak ada komentar
How to Add swap memory on Linux Debian 8
myuser@openvpn ~$ cat /etc/*ease
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
myuser@openvpn ~$
myuser@openvpn ~$ swapon -s
Filename                                Type            Size    Used    Priority
/dev/dm-1                               partition       524284  188     -1
myuser@openvpn ~$
myuser@openvpn ~$ free -m
             total       used       free     shared    buffers     cached
Mem:          2010       1841        168         40        151       1180
-/+ buffers/cache:        508       1501
Swap:          511          0        511
myuser@openvpn ~$
myuser@openvpn ~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/dm-0        17G  6.0G  9.9G  38% /
udev             10M     0   10M   0% /dev
tmpfs           403M   41M  362M  11% /run
tmpfs          1006M     0 1006M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs          1006M     0 1006M   0% /sys/fs/cgroup
/dev/sda1       415M  158M  236M  41% /boot
myuser@openvpn ~$
myuser@openvpn ~$ sudo fallocate -l 2G /swapfile
[sudo] password for ecpa:
ecpa@openvpn ~$ ls -lh /swapfile
-rw-r--r-- 1 root root 2.0G Sep 26 14:18 /swapfile
myuser@openvpn ~$
myuser@openvpn ~$ sudo mkswap /swapfile
Setting up swapspace version 1, size = 2097148 KiB
no label, UUID=0282a4d7-26ab-42f9-a3ac-3ca3ad3cdce4
myuser@openvpn ~$
myuser@openvpn ~$ sudo swapon /swapfile
swapon: /swapfile: insecure permissions 0644, 0600 suggested.
myuser@openvpn ~$
myuser@openvpn ~$ sudo chmod 0600 /swapfile
myuser@openvpn ~$
myuser@openvpn ~$ sudo swapon /swapfile
swapon: /swapfile: swapon failed: Device or resource busy
myuser@openvpn ~$
myuser@openvpn ~$ swapon -s
Filename                                Type            Size    Used    Priority
/dev/dm-1                               partition       524284  188     -1
/swapfile                               file            2097148 0       -2
myuser@openvpn ~$
myuser@openvpn ~$ free -m
             total       used       free     shared    buffers     cached
Mem:          2010       1829        180         40        152       1181
-/+ buffers/cache:        495       1514
Swap:         2559          0       2559
myuser@openvpn ~$
myuser@openvpn ~$ sudo vi /etc/fstab
myuser@openvpn ~$
myuser@openvpn ~$ cat /etc/fstab
proc                    /proc   proc    nodev,noexec,nosuid     0       0
/dev/mapper/turnkey-root        /       ext4    errors=remount-ro       0      1
UUID=7b23edb7-a066-4135-b0e7-c7ca87d09d8a       /boot   ext2    defaults       02
/dev/mapper/turnkey-swap_1      none    swap    sw      0       0
/swapfile                                       swap    swap    sw  0   0
myuser@openvpn ~$
myuser@openvpn ~$ cat /proc/sys/vm/swappiness
60
myuser@openvpn ~$

How to install php 7.2 on Linux Centos 8

  Tidak ada komentar
Install php with yum install php command
[root@analytic ~]# yum install php
LiteSpeed Tech Repository for CentOS 8 - x86_64                                                       761  B/s | 1.1 kB     00:01
LiteSpeed Tech Repository for CentOS 8 - x86_64                                                       731  B/s | 1.1 kB     00:01
Failed to synchronize cache for repo 'litespeed', ignoring this repo.
Failed to synchronize cache for repo 'litespeed-update', ignoring this repo.
Last metadata expiration check: 1:23:21 ago on Fri 27 Sep 2019 02:16:23 PM WIB.
Dependencies resolved.
======================================================================================================================================
 Package                        Arch                 Version                                            Repository               Size
======================================================================================================================================
Installing:
 php                            x86_64               7.2.11-1.module_el8.0.0+56+d1ca79aa                AppStream               1.5 M
Installing dependencies:
 nginx-filesystem               noarch               1:1.14.1-8.module_el8.0.0+5+258f653c               AppStream                24 k
 php-cli                        x86_64               7.2.11-1.module_el8.0.0+56+d1ca79aa                AppStream               3.1 M
 php-common                     x86_64               7.2.11-1.module_el8.0.0+56+d1ca79aa                AppStream               653 k
Installing weak dependencies:
 php-fpm                        x86_64               7.2.11-1.module_el8.0.0+56+d1ca79aa                AppStream               1.6 M
Enabling module streams:
 nginx                                               1.14
 php                                                 7.2

Transaction Summary
======================================================================================================================================
Install  5 Packages

Total download size: 6.9 M
Installed size: 26 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): nginx-filesystem-1.14.1-8.module_el8.0.0+5+258f653c.noarch.rpm                                 9.9 kB/s |  24 kB     00:02
(2/5): php-common-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64.rpm                                      312 kB/s | 653 kB     00:02
(3/5): php-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64.rpm                                             273 kB/s | 1.5 MB     00:05
(4/5): php-fpm-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64.rpm                                         842 kB/s | 1.6 MB     00:01
(5/5): php-cli-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64.rpm                                         477 kB/s | 3.1 MB     00:06
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 881 kB/s | 6.9 MB     00:08
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                              1/1
  Installing       : php-common-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64                                                        1/5
  Installing       : php-cli-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64                                                           2/5
  Running scriptlet: nginx-filesystem-1:1.14.1-8.module_el8.0.0+5+258f653c.noarch                                                 3/5
  Installing       : nginx-filesystem-1:1.14.1-8.module_el8.0.0+5+258f653c.noarch                                                 3/5
  Installing       : php-fpm-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64                                                           4/5
  Running scriptlet: php-fpm-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64                                                           4/5
  Installing       : php-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64                                                               5/5
  Running scriptlet: php-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64                                                               5/5
  Running scriptlet: php-fpm-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64                                                           5/5
  Verifying        : nginx-filesystem-1:1.14.1-8.module_el8.0.0+5+258f653c.noarch                                                 1/5
  Verifying        : php-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64                                                               2/5
  Verifying        : php-cli-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64                                                           3/5
  Verifying        : php-common-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64                                                        4/5
  Verifying        : php-fpm-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64                                                           5/5

Installed:
  php-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64                         php-fpm-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64
  nginx-filesystem-1:1.14.1-8.module_el8.0.0+5+258f653c.noarch           php-cli-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64
  php-common-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64

Complete!
[root@analytic ~]#
[root@analytic ~]#
Check the php version
[root@analytic ~]# php -v
PHP 7.2.11 (cli) (built: Oct  9 2018 15:09:36) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
[root@analytic ~]#

How to install MySql MariaDb server on linux centos 8

  Tidak ada komentar
Install mariadb with dnf module install command
[root@analytic ~]# sudo dnf module install mariadb
LiteSpeed Tech Repository for CentOS 8 - x86_64                                                       747  B/s | 1.1 kB     00:01
LiteSpeed Tech Repository for CentOS 8 - x86_64                                                       768  B/s | 1.1 kB     00:01
Failed to synchronize cache for repo 'litespeed', ignoring this repo.
Failed to synchronize cache for repo 'litespeed-update', ignoring this repo.
Last metadata expiration check: 1:18:02 ago on Fri 27 Sep 2019 02:16:23 PM WIB.
Dependencies resolved.
======================================================================================================================================
 Package                               Arch              Version                                           Repository            Size
======================================================================================================================================
Installing group/module packages:
 mariadb-server                        x86_64            3:10.3.11-2.module_el8.0.0+35+6f2527ed            AppStream             16 M
Installing dependencies:
 mariadb                               x86_64            3:10.3.11-2.module_el8.0.0+35+6f2527ed            AppStream            6.2 M
 mariadb-common                        x86_64            3:10.3.11-2.module_el8.0.0+35+6f2527ed            AppStream             62 k
 mariadb-connector-c                   x86_64            3.0.7-1.el8                                       AppStream            148 k
 mariadb-connector-c-config            noarch            3.0.7-1.el8                                       AppStream             13 k
 mariadb-errmsg                        x86_64            3:10.3.11-2.module_el8.0.0+35+6f2527ed            AppStream            232 k
 perl-DBD-MySQL                        x86_64            4.046-2.module_el8.0.0+72+668237d8                AppStream            156 k
 perl-DBI                              x86_64            1.641-2.module_el8.0.0+66+fe1eca09                AppStream            740 k
 perl-Digest                           noarch            1.17-395.el8                                      AppStream             27 k
 perl-Digest-MD5                       x86_64            2.55-396.el8                                      AppStream             37 k
 perl-Net-SSLeay                       x86_64            1.85-6.el8                                        AppStream            358 k
 perl-URI                              noarch            1.73-3.el8                                        AppStream            116 k
 perl-libnet                           noarch            3.11-3.el8                                        AppStream            121 k
 perl-Carp                             noarch            1.42-396.el8                                      BaseOS                30 k
 perl-Data-Dumper                      x86_64            2.167-399.el8                                     BaseOS                58 k
 perl-Encode                           x86_64            4:2.97-3.el8                                      BaseOS               1.5 M
 perl-Errno                            x86_64            1.28-416.el8                                      BaseOS                76 k
 perl-Exporter                         noarch            5.72-396.el8                                      BaseOS                34 k
 perl-File-Path                        noarch            2.15-2.el8                                        BaseOS                38 k
 perl-File-Temp                        noarch            0.230.600-1.el8                                   BaseOS                63 k
 perl-Getopt-Long                      noarch            1:2.50-4.el8                                      BaseOS                63 k
 perl-HTTP-Tiny                        noarch            0.074-1.el8                                       BaseOS                58 k
 perl-IO                               x86_64            1.38-416.el8                                      BaseOS               141 k
 perl-MIME-Base64                      x86_64            3.15-396.el8                                      BaseOS                31 k
 perl-Math-BigInt                      noarch            1:1.9998.11-5.el8                                 BaseOS               195 k
 perl-Math-Complex                     noarch            1.59-416.el8                                      BaseOS               108 k
 perl-PathTools                        x86_64            3.74-1.el8                                        BaseOS                90 k
 perl-Pod-Escapes                      noarch            1:1.07-395.el8                                    BaseOS                20 k
 perl-Pod-Perldoc                      noarch            3.28-396.el8                                      BaseOS                86 k
 perl-Pod-Simple                       noarch            1:3.35-395.el8                                    BaseOS               213 k
 perl-Pod-Usage                        noarch            4:1.69-395.el8                                    BaseOS                34 k
 perl-Scalar-List-Utils                x86_64            3:1.49-2.el8                                      BaseOS                68 k
 perl-Socket                           x86_64            4:2.027-2.el8                                     BaseOS                59 k
 perl-Storable                         x86_64            1:3.11-3.el8                                      BaseOS                98 k
 perl-Term-ANSIColor                   noarch            4.06-396.el8                                      BaseOS                46 k
 perl-Term-Cap                         noarch            1.17-395.el8                                      BaseOS                23 k
 perl-Text-ParseWords                  noarch            3.30-395.el8                                      BaseOS                18 k
 perl-Text-Tabs+Wrap                   noarch            2013.0523-395.el8                                 BaseOS                24 k
 perl-Time-Local                       noarch            1:1.280-1.el8                                     BaseOS                34 k
 perl-Unicode-Normalize                x86_64            1.25-396.el8                                      BaseOS                82 k
 perl-constant                         noarch            1.33-396.el8                                      BaseOS                25 k
 perl-interpreter                      x86_64            4:5.26.3-416.el8                                  BaseOS               6.3 M
 perl-libs                             x86_64            4:5.26.3-416.el8                                  BaseOS               1.6 M
 perl-macros                           x86_64            4:5.26.3-416.el8                                  BaseOS                72 k
 perl-parent                           noarch            1:0.237-1.el8                                     BaseOS                20 k
 perl-podlators                        noarch            4.11-1.el8                                        BaseOS               118 k
 perl-threads                          x86_64            1:2.21-2.el8                                      BaseOS                61 k
 perl-threads-shared                   x86_64            1.58-2.el8                                        BaseOS                48 k
 psmisc                                x86_64            23.1-3.el8                                        BaseOS               151 k
Installing weak dependencies:
 mariadb-backup                        x86_64            3:10.3.11-2.module_el8.0.0+35+6f2527ed            AppStream            6.2 M
 mariadb-gssapi-server                 x86_64            3:10.3.11-2.module_el8.0.0+35+6f2527ed            AppStream             49 k
 mariadb-server-utils                  x86_64            3:10.3.11-2.module_el8.0.0+35+6f2527ed            AppStream            1.6 M
 perl-IO-Socket-IP                     noarch            0.39-5.el8                                        AppStream             47 k
 perl-IO-Socket-SSL                    noarch            2.060-2.el8                                       AppStream            289 k
 perl-Mozilla-CA                       noarch            20160104-7.el8                                    AppStream             15 k
Installing module profiles:
 mariadb/server
Enabling module streams:
 mariadb                                                 10.3
 perl-DBD-MySQL                                          4.046
 perl-DBI                                                1.641

Transaction Summary
======================================================================================================================================
Install  55 Packages

Total download size: 44 M
Installed size: 201 M
Is this ok [y/N]: ^COperation aborted.
[root@analytic ~]# sudo dnf module install mariadb galera
LiteSpeed Tech Repository for CentOS 8 - x86_64                                                       201  B/s | 1.1 kB     00:05
LiteSpeed Tech Repository for CentOS 8 - x86_64                                                       107  B/s | 1.1 kB     00:10
Failed to synchronize cache for repo 'litespeed', ignoring this repo.
Failed to synchronize cache for repo 'litespeed-update', ignoring this repo.
Last metadata expiration check: 1:19:34 ago on Fri 27 Sep 2019 02:16:23 PM WIB.
Error: Problems in request:
missing groups or modules: galera
[root@analytic ~]# sudo dnf module install mariadb
LiteSpeed Tech Repository for CentOS 8 - x86_64                                                       755  B/s | 1.1 kB     00:01
LiteSpeed Tech Repository for CentOS 8 - x86_64                                                       740  B/s | 1.1 kB     00:01
Failed to synchronize cache for repo 'litespeed', ignoring this repo.
Failed to synchronize cache for repo 'litespeed-update', ignoring this repo.
Last metadata expiration check: 1:20:28 ago on Fri 27 Sep 2019 02:16:23 PM WIB.
Dependencies resolved.
======================================================================================================================================
 Package                               Arch              Version                                           Repository            Size
======================================================================================================================================
Installing group/module packages:
 mariadb-server                        x86_64            3:10.3.11-2.module_el8.0.0+35+6f2527ed            AppStream             16 M
Installing dependencies:
 mariadb                               x86_64            3:10.3.11-2.module_el8.0.0+35+6f2527ed            AppStream            6.2 M
 mariadb-common                        x86_64            3:10.3.11-2.module_el8.0.0+35+6f2527ed            AppStream             62 k
 mariadb-connector-c                   x86_64            3.0.7-1.el8                                       AppStream            148 k
 mariadb-connector-c-config            noarch            3.0.7-1.el8                                       AppStream             13 k
 mariadb-errmsg                        x86_64            3:10.3.11-2.module_el8.0.0+35+6f2527ed            AppStream            232 k
 perl-DBD-MySQL                        x86_64            4.046-2.module_el8.0.0+72+668237d8                AppStream            156 k
 perl-DBI                              x86_64            1.641-2.module_el8.0.0+66+fe1eca09                AppStream            740 k
 perl-Digest                           noarch            1.17-395.el8                                      AppStream             27 k
 perl-Digest-MD5                       x86_64            2.55-396.el8                                      AppStream             37 k
 perl-Net-SSLeay                       x86_64            1.85-6.el8                                        AppStream            358 k
 perl-URI                              noarch            1.73-3.el8                                        AppStream            116 k
 perl-libnet                           noarch            3.11-3.el8                                        AppStream            121 k
 perl-Carp                             noarch            1.42-396.el8                                      BaseOS                30 k
 perl-Data-Dumper                      x86_64            2.167-399.el8                                     BaseOS                58 k
 perl-Encode                           x86_64            4:2.97-3.el8                                      BaseOS               1.5 M
 perl-Errno                            x86_64            1.28-416.el8                                      BaseOS                76 k
 perl-Exporter                         noarch            5.72-396.el8                                      BaseOS                34 k
 perl-File-Path                        noarch            2.15-2.el8                                        BaseOS                38 k
 perl-File-Temp                        noarch            0.230.600-1.el8                                   BaseOS                63 k
 perl-Getopt-Long                      noarch            1:2.50-4.el8                                      BaseOS                63 k
 perl-HTTP-Tiny                        noarch            0.074-1.el8                                       BaseOS                58 k
 perl-IO                               x86_64            1.38-416.el8                                      BaseOS               141 k
 perl-MIME-Base64                      x86_64            3.15-396.el8                                      BaseOS                31 k
 perl-Math-BigInt                      noarch            1:1.9998.11-5.el8                                 BaseOS               195 k
 perl-Math-Complex                     noarch            1.59-416.el8                                      BaseOS               108 k
 perl-PathTools                        x86_64            3.74-1.el8                                        BaseOS                90 k
 perl-Pod-Escapes                      noarch            1:1.07-395.el8                                    BaseOS                20 k
 perl-Pod-Perldoc                      noarch            3.28-396.el8                                      BaseOS                86 k
 perl-Pod-Simple                       noarch            1:3.35-395.el8                                    BaseOS               213 k
 perl-Pod-Usage                        noarch            4:1.69-395.el8                                    BaseOS                34 k
 perl-Scalar-List-Utils                x86_64            3:1.49-2.el8                                      BaseOS                68 k
 perl-Socket                           x86_64            4:2.027-2.el8                                     BaseOS                59 k
 perl-Storable                         x86_64            1:3.11-3.el8                                      BaseOS                98 k
 perl-Term-ANSIColor                   noarch            4.06-396.el8                                      BaseOS                46 k
 perl-Term-Cap                         noarch            1.17-395.el8                                      BaseOS                23 k
 perl-Text-ParseWords                  noarch            3.30-395.el8                                      BaseOS                18 k
 perl-Text-Tabs+Wrap                   noarch            2013.0523-395.el8                                 BaseOS                24 k
 perl-Time-Local                       noarch            1:1.280-1.el8                                     BaseOS                34 k
 perl-Unicode-Normalize                x86_64            1.25-396.el8                                      BaseOS                82 k
 perl-constant                         noarch            1.33-396.el8                                      BaseOS                25 k
 perl-interpreter                      x86_64            4:5.26.3-416.el8                                  BaseOS               6.3 M
 perl-libs                             x86_64            4:5.26.3-416.el8                                  BaseOS               1.6 M
 perl-macros                           x86_64            4:5.26.3-416.el8                                  BaseOS                72 k
 perl-parent                           noarch            1:0.237-1.el8                                     BaseOS                20 k
 perl-podlators                        noarch            4.11-1.el8                                        BaseOS               118 k
 perl-threads                          x86_64            1:2.21-2.el8                                      BaseOS                61 k
 perl-threads-shared                   x86_64            1.58-2.el8                                        BaseOS                48 k
 psmisc                                x86_64            23.1-3.el8                                        BaseOS               151 k
Installing weak dependencies:
 mariadb-backup                        x86_64            3:10.3.11-2.module_el8.0.0+35+6f2527ed            AppStream            6.2 M
 mariadb-gssapi-server                 x86_64            3:10.3.11-2.module_el8.0.0+35+6f2527ed            AppStream             49 k
 mariadb-server-utils                  x86_64            3:10.3.11-2.module_el8.0.0+35+6f2527ed            AppStream            1.6 M
 perl-IO-Socket-IP                     noarch            0.39-5.el8                                        AppStream             47 k
 perl-IO-Socket-SSL                    noarch            2.060-2.el8                                       AppStream            289 k
 perl-Mozilla-CA                       noarch            20160104-7.el8                                    AppStream             15 k
Installing module profiles:
 mariadb/server
Enabling module streams:
 mariadb                                                 10.3
 perl-DBD-MySQL                                          4.046
 perl-DBI                                                1.641

Transaction Summary
======================================================================================================================================
Install  55 Packages

Total download size: 44 M
Installed size: 201 M
Is this ok [y/N]: y
Downloading Packages:
(1/55): mariadb-common-10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64.rpm                                 31 kB/s |  62 kB     00:01
(2/55): mariadb-connector-c-3.0.7-1.el8.x86_64.rpm                                                    346 kB/s | 148 kB     00:00
(3/55): mariadb-connector-c-config-3.0.7-1.el8.noarch.rpm                                             209 kB/s |  13 kB     00:00
(4/55): mariadb-errmsg-10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64.rpm                                321 kB/s | 232 kB     00:00
(5/55): mariadb-gssapi-server-10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64.rpm                         280 kB/s |  49 kB     00:00
(6/55): mariadb-backup-10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64.rpm                                408 kB/s | 6.2 MB     00:15
(7/55): mariadb-10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64.rpm                                       395 kB/s | 6.2 MB     00:16
(8/55): perl-DBD-MySQL-4.046-2.module_el8.0.0+72+668237d8.x86_64.rpm                                  166 kB/s | 156 kB     00:00
(9/55): perl-DBI-1.641-2.module_el8.0.0+66+fe1eca09.x86_64.rpm                                        168 kB/s | 740 kB     00:04
(10/55): perl-Digest-1.17-395.el8.noarch.rpm                                                           95 kB/s |  27 kB     00:00
(11/55): perl-Digest-MD5-2.55-396.el8.x86_64.rpm                                                      142 kB/s |  37 kB     00:00
(12/55): perl-IO-Socket-IP-0.39-5.el8.noarch.rpm                                                      190 kB/s |  47 kB     00:00
(13/55): mariadb-server-utils-10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64.rpm                         230 kB/s | 1.6 MB     00:07
(14/55): perl-Mozilla-CA-20160104-7.el8.noarch.rpm                                                    182 kB/s |  15 kB     00:00
(15/55): perl-IO-Socket-SSL-2.060-2.el8.noarch.rpm                                                    221 kB/s | 289 kB     00:01
(16/55): perl-Net-SSLeay-1.85-6.el8.x86_64.rpm                                                        432 kB/s | 358 kB     00:00
(17/55): perl-URI-1.73-3.el8.noarch.rpm                                                               375 kB/s | 116 kB     00:00
(18/55): perl-libnet-3.11-3.el8.noarch.rpm                                                            511 kB/s | 121 kB     00:00
(19/55): perl-Carp-1.42-396.el8.noarch.rpm                                                            155 kB/s |  30 kB     00:00
(20/55): perl-Data-Dumper-2.167-399.el8.x86_64.rpm                                                    535 kB/s |  58 kB     00:00
(21/55): perl-Errno-1.28-416.el8.x86_64.rpm                                                           708 kB/s |  76 kB     00:00
(22/55): perl-Exporter-5.72-396.el8.noarch.rpm                                                        638 kB/s |  34 kB     00:00
(23/55): perl-File-Path-2.15-2.el8.noarch.rpm                                                         443 kB/s |  38 kB     00:00
(24/55): perl-File-Temp-0.230.600-1.el8.noarch.rpm                                                    579 kB/s |  63 kB     00:00
(25/55): perl-Getopt-Long-2.50-4.el8.noarch.rpm                                                       473 kB/s |  63 kB     00:00
(26/55): perl-HTTP-Tiny-0.074-1.el8.noarch.rpm                                                        682 kB/s |  58 kB     00:00
(27/55): perl-IO-1.38-416.el8.x86_64.rpm                                                              665 kB/s | 141 kB     00:00
(28/55): perl-MIME-Base64-3.15-396.el8.x86_64.rpm                                                     427 kB/s |  31 kB     00:00
(29/55): perl-Math-BigInt-1.9998.11-5.el8.noarch.rpm                                                  971 kB/s | 195 kB     00:00
(30/55): perl-Encode-2.97-3.el8.x86_64.rpm                                                            1.2 MB/s | 1.5 MB     00:01
(31/55): perl-Math-Complex-1.59-416.el8.noarch.rpm                                                    919 kB/s | 108 kB     00:00
(32/55): perl-Pod-Escapes-1.07-395.el8.noarch.rpm                                                     295 kB/s |  20 kB     00:00
(33/55): perl-PathTools-3.74-1.el8.x86_64.rpm                                                         599 kB/s |  90 kB     00:00
(34/55): perl-Pod-Perldoc-3.28-396.el8.noarch.rpm                                                     948 kB/s |  86 kB     00:00
(35/55): perl-Pod-Usage-1.69-395.el8.noarch.rpm                                                       489 kB/s |  34 kB     00:00
(36/55): perl-Scalar-List-Utils-1.49-2.el8.x86_64.rpm                                                 516 kB/s |  68 kB     00:00
(37/55): perl-Pod-Simple-3.35-395.el8.noarch.rpm                                                      757 kB/s | 213 kB     00:00
(38/55): perl-Socket-2.027-2.el8.x86_64.rpm                                                           735 kB/s |  59 kB     00:00
(39/55): perl-Storable-3.11-3.el8.x86_64.rpm                                                          504 kB/s |  98 kB     00:00
(40/55): perl-Term-Cap-1.17-395.el8.noarch.rpm                                                        480 kB/s |  23 kB     00:00
(41/55): perl-Text-ParseWords-3.30-395.el8.noarch.rpm                                                 344 kB/s |  18 kB     00:00
(42/55): perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch.rpm                                             402 kB/s |  24 kB     00:00
(43/55): perl-Time-Local-1.280-1.el8.noarch.rpm                                                       520 kB/s |  34 kB     00:00
(44/55): perl-Term-ANSIColor-4.06-396.el8.noarch.rpm                                                  123 kB/s |  46 kB     00:00
(45/55): perl-constant-1.33-396.el8.noarch.rpm                                                        686 kB/s |  25 kB     00:00
(46/55): perl-Unicode-Normalize-1.25-396.el8.x86_64.rpm                                               937 kB/s |  82 kB     00:00
(47/55): mariadb-server-10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64.rpm                               722 kB/s |  16 MB     00:23
(48/55): perl-macros-5.26.3-416.el8.x86_64.rpm                                                        1.4 MB/s |  72 kB     00:00
(49/55): perl-parent-0.237-1.el8.noarch.rpm                                                           1.1 MB/s |  20 kB     00:00
(50/55): perl-podlators-4.11-1.el8.noarch.rpm                                                         2.2 MB/s | 118 kB     00:00
(51/55): perl-threads-2.21-2.el8.x86_64.rpm                                                           2.0 MB/s |  61 kB     00:00
(52/55): perl-threads-shared-1.58-2.el8.x86_64.rpm                                                    2.1 MB/s |  48 kB     00:00
(53/55): psmisc-23.1-3.el8.x86_64.rpm                                                                 1.8 MB/s | 151 kB     00:00
(54/55): perl-libs-5.26.3-416.el8.x86_64.rpm                                                          1.5 MB/s | 1.6 MB     00:01
(55/55): perl-interpreter-5.26.3-416.el8.x86_64.rpm                                                   1.7 MB/s | 6.3 MB     00:03
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 1.1 MB/s |  44 MB     00:41
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Running scriptlet: mariadb-connector-c-3.0.7-1.el8.x86_64                                                                       1/1
  Preparing        :                                                                                                              1/1
  Installing       : perl-Exporter-5.72-396.el8.noarch                                                                           1/55
  Installing       : perl-libs-4:5.26.3-416.el8.x86_64                                                                           2/55
  Installing       : perl-Carp-1.42-396.el8.noarch                                                                               3/55
  Installing       : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64                                                                  4/55
  Installing       : perl-parent-1:0.237-1.el8.noarch                                                                            5/55
  Installing       : mariadb-connector-c-config-3.0.7-1.el8.noarch                                                               6/55
  Installing       : mariadb-common-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64                                                7/55
  Installing       : mariadb-connector-c-3.0.7-1.el8.x86_64                                                                      8/55
  Installing       : perl-Text-ParseWords-3.30-395.el8.noarch                                                                    9/55
  Installing       : mariadb-errmsg-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64                                               10/55
  Installing       : perl-Term-ANSIColor-4.06-396.el8.noarch                                                                    11/55
  Installing       : perl-macros-4:5.26.3-416.el8.x86_64                                                                        12/55
  Installing       : perl-Errno-1.28-416.el8.x86_64                                                                             13/55
  Installing       : perl-Socket-4:2.027-2.el8.x86_64                                                                           14/55
  Installing       : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch                                                               15/55
  Installing       : perl-Unicode-Normalize-1.25-396.el8.x86_64                                                                 16/55
  Installing       : perl-File-Path-2.15-2.el8.noarch                                                                           17/55
  Installing       : perl-IO-1.38-416.el8.x86_64                                                                                18/55
  Installing       : perl-PathTools-3.74-1.el8.x86_64                                                                           19/55
  Installing       : perl-constant-1.33-396.el8.noarch                                                                          20/55
  Installing       : perl-threads-1:2.21-2.el8.x86_64                                                                           21/55
  Installing       : perl-threads-shared-1.58-2.el8.x86_64                                                                      22/55
  Installing       : perl-interpreter-4:5.26.3-416.el8.x86_64                                                                   23/55
  Installing       : perl-MIME-Base64-3.15-396.el8.x86_64                                                                       24/55
  Installing       : perl-IO-Socket-IP-0.39-5.el8.noarch                                                                        25/55
  Installing       : perl-Data-Dumper-2.167-399.el8.x86_64                                                                      26/55
  Installing       : perl-File-Temp-0.230.600-1.el8.noarch                                                                      27/55
  Installing       : perl-Storable-1:3.11-3.el8.x86_64                                                                          28/55
  Installing       : perl-Time-Local-1:1.280-1.el8.noarch                                                                       29/55
  Installing       : perl-Digest-1.17-395.el8.noarch                                                                            30/55
  Installing       : perl-Digest-MD5-2.55-396.el8.x86_64                                                                        31/55
  Installing       : perl-Net-SSLeay-1.85-6.el8.x86_64                                                                          32/55
  Installing       : perl-Math-Complex-1.59-416.el8.noarch                                                                      33/55
  Installing       : perl-Math-BigInt-1:1.9998.11-5.el8.noarch                                                                  34/55
  Installing       : perl-Pod-Escapes-1:1.07-395.el8.noarch                                                                     35/55
  Installing       : perl-Term-Cap-1.17-395.el8.noarch                                                                          36/55
  Installing       : perl-Mozilla-CA-20160104-7.el8.noarch                                                                      37/55
  Installing       : perl-Encode-4:2.97-3.el8.x86_64                                                                            38/55
  Installing       : perl-Pod-Simple-1:3.35-395.el8.noarch                                                                      39/55
  Installing       : perl-Getopt-Long-1:2.50-4.el8.noarch                                                                       40/55
  Installing       : perl-podlators-4.11-1.el8.noarch                                                                           41/55
  Installing       : perl-Pod-Usage-4:1.69-395.el8.noarch                                                                       42/55
  Installing       : perl-Pod-Perldoc-3.28-396.el8.noarch                                                                       43/55
  Installing       : perl-HTTP-Tiny-0.074-1.el8.noarch                                                                          44/55
  Installing       : perl-IO-Socket-SSL-2.060-2.el8.noarch                                                                      45/55
  Installing       : perl-libnet-3.11-3.el8.noarch                                                                              46/55
  Installing       : perl-URI-1.73-3.el8.noarch                                                                                 47/55
  Installing       : perl-DBI-1.641-2.module_el8.0.0+66+fe1eca09.x86_64                                                         48/55
  Installing       : perl-DBD-MySQL-4.046-2.module_el8.0.0+72+668237d8.x86_64                                                   49/55
  Installing       : psmisc-23.1-3.el8.x86_64                                                                                   50/55
  Installing       : mariadb-backup-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64                                               51/55
  Installing       : mariadb-gssapi-server-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64                                        52/55
  Installing       : mariadb-server-utils-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64                                         53/55
  Running scriptlet: mariadb-server-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64                                               54/55
  Installing       : mariadb-server-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64                                               54/55
  Running scriptlet: mariadb-server-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64                                               54/55
  Installing       : mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64                                                      55/55
  Running scriptlet: mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64                                                      55/55
  Verifying        : mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64                                                       1/55
  Verifying        : mariadb-backup-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64                                                2/55
  Verifying        : mariadb-common-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64                                                3/55
  Verifying        : mariadb-connector-c-3.0.7-1.el8.x86_64                                                                      4/55
  Verifying        : mariadb-connector-c-config-3.0.7-1.el8.noarch                                                               5/55
  Verifying        : mariadb-errmsg-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64                                                6/55
  Verifying        : mariadb-gssapi-server-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64                                         7/55
  Verifying        : mariadb-server-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64                                                8/55
  Verifying        : mariadb-server-utils-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64                                          9/55
  Verifying        : perl-DBD-MySQL-4.046-2.module_el8.0.0+72+668237d8.x86_64                                                   10/55
  Verifying        : perl-DBI-1.641-2.module_el8.0.0+66+fe1eca09.x86_64                                                         11/55
  Verifying        : perl-Digest-1.17-395.el8.noarch                                                                            12/55
  Verifying        : perl-Digest-MD5-2.55-396.el8.x86_64                                                                        13/55
  Verifying        : perl-IO-Socket-IP-0.39-5.el8.noarch                                                                        14/55
  Verifying        : perl-IO-Socket-SSL-2.060-2.el8.noarch                                                                      15/55
  Verifying        : perl-Mozilla-CA-20160104-7.el8.noarch                                                                      16/55
  Verifying        : perl-Net-SSLeay-1.85-6.el8.x86_64                                                                          17/55
  Verifying        : perl-URI-1.73-3.el8.noarch                                                                                 18/55
  Verifying        : perl-libnet-3.11-3.el8.noarch                                                                              19/55
  Verifying        : perl-Carp-1.42-396.el8.noarch                                                                              20/55
  Verifying        : perl-Data-Dumper-2.167-399.el8.x86_64                                                                      21/55
  Verifying        : perl-Encode-4:2.97-3.el8.x86_64                                                                            22/55
  Verifying        : perl-Errno-1.28-416.el8.x86_64                                                                             23/55
  Verifying        : perl-Exporter-5.72-396.el8.noarch                                                                          24/55
  Verifying        : perl-File-Path-2.15-2.el8.noarch                                                                           25/55
  Verifying        : perl-File-Temp-0.230.600-1.el8.noarch                                                                      26/55
  Verifying        : perl-Getopt-Long-1:2.50-4.el8.noarch                                                                       27/55
  Verifying        : perl-HTTP-Tiny-0.074-1.el8.noarch                                                                          28/55
  Verifying        : perl-IO-1.38-416.el8.x86_64                                                                                29/55
  Verifying        : perl-MIME-Base64-3.15-396.el8.x86_64                                                                       30/55
  Verifying        : perl-Math-BigInt-1:1.9998.11-5.el8.noarch                                                                  31/55
  Verifying        : perl-Math-Complex-1.59-416.el8.noarch                                                                      32/55
  Verifying        : perl-PathTools-3.74-1.el8.x86_64                                                                           33/55
  Verifying        : perl-Pod-Escapes-1:1.07-395.el8.noarch                                                                     34/55
  Verifying        : perl-Pod-Perldoc-3.28-396.el8.noarch                                                                       35/55
  Verifying        : perl-Pod-Simple-1:3.35-395.el8.noarch                                                                      36/55
  Verifying        : perl-Pod-Usage-4:1.69-395.el8.noarch                                                                       37/55
  Verifying        : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64                                                                 38/55
  Verifying        : perl-Socket-4:2.027-2.el8.x86_64                                                                           39/55
  Verifying        : perl-Storable-1:3.11-3.el8.x86_64                                                                          40/55
  Verifying        : perl-Term-ANSIColor-4.06-396.el8.noarch                                                                    41/55
  Verifying        : perl-Term-Cap-1.17-395.el8.noarch                                                                          42/55
  Verifying        : perl-Text-ParseWords-3.30-395.el8.noarch                                                                   43/55
  Verifying        : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch                                                               44/55
  Verifying        : perl-Time-Local-1:1.280-1.el8.noarch                                                                       45/55
  Verifying        : perl-Unicode-Normalize-1.25-396.el8.x86_64                                                                 46/55
  Verifying        : perl-constant-1.33-396.el8.noarch                                                                          47/55
  Verifying        : perl-interpreter-4:5.26.3-416.el8.x86_64                                                                   48/55
  Verifying        : perl-libs-4:5.26.3-416.el8.x86_64                                                                          49/55
  Verifying        : perl-macros-4:5.26.3-416.el8.x86_64                                                                        50/55
  Verifying        : perl-parent-1:0.237-1.el8.noarch                                                                           51/55
  Verifying        : perl-podlators-4.11-1.el8.noarch                                                                           52/55
  Verifying        : perl-threads-1:2.21-2.el8.x86_64                                                                           53/55
  Verifying        : perl-threads-shared-1.58-2.el8.x86_64                                                                      54/55
  Verifying        : psmisc-23.1-3.el8.x86_64                                                                                   55/55

Installed:
  mariadb-server-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64
  mariadb-backup-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64
  mariadb-gssapi-server-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64
  mariadb-server-utils-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64
  perl-IO-Socket-IP-0.39-5.el8.noarch
  perl-IO-Socket-SSL-2.060-2.el8.noarch
  perl-Mozilla-CA-20160104-7.el8.noarch
  mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64
  mariadb-common-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64
  mariadb-connector-c-3.0.7-1.el8.x86_64
  mariadb-connector-c-config-3.0.7-1.el8.noarch
  mariadb-errmsg-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64
  perl-DBD-MySQL-4.046-2.module_el8.0.0+72+668237d8.x86_64
  perl-DBI-1.641-2.module_el8.0.0+66+fe1eca09.x86_64
  perl-Digest-1.17-395.el8.noarch
  perl-Digest-MD5-2.55-396.el8.x86_64
  perl-Net-SSLeay-1.85-6.el8.x86_64
  perl-URI-1.73-3.el8.noarch
  perl-libnet-3.11-3.el8.noarch
  perl-Carp-1.42-396.el8.noarch
  perl-Data-Dumper-2.167-399.el8.x86_64
  perl-Encode-4:2.97-3.el8.x86_64
  perl-Errno-1.28-416.el8.x86_64
  perl-Exporter-5.72-396.el8.noarch
  perl-File-Path-2.15-2.el8.noarch
  perl-File-Temp-0.230.600-1.el8.noarch
  perl-Getopt-Long-1:2.50-4.el8.noarch
  perl-HTTP-Tiny-0.074-1.el8.noarch
  perl-IO-1.38-416.el8.x86_64
  perl-MIME-Base64-3.15-396.el8.x86_64
  perl-Math-BigInt-1:1.9998.11-5.el8.noarch
  perl-Math-Complex-1.59-416.el8.noarch
  perl-PathTools-3.74-1.el8.x86_64
  perl-Pod-Escapes-1:1.07-395.el8.noarch
  perl-Pod-Perldoc-3.28-396.el8.noarch
  perl-Pod-Simple-1:3.35-395.el8.noarch
  perl-Pod-Usage-4:1.69-395.el8.noarch
  perl-Scalar-List-Utils-3:1.49-2.el8.x86_64
  perl-Socket-4:2.027-2.el8.x86_64
  perl-Storable-1:3.11-3.el8.x86_64
  perl-Term-ANSIColor-4.06-396.el8.noarch
  perl-Term-Cap-1.17-395.el8.noarch
  perl-Text-ParseWords-3.30-395.el8.noarch
  perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch
  perl-Time-Local-1:1.280-1.el8.noarch
  perl-Unicode-Normalize-1.25-396.el8.x86_64
  perl-constant-1.33-396.el8.noarch
  perl-interpreter-4:5.26.3-416.el8.x86_64
  perl-libs-4:5.26.3-416.el8.x86_64
  perl-macros-4:5.26.3-416.el8.x86_64
  perl-parent-1:0.237-1.el8.noarch
  perl-podlators-4.11-1.el8.noarch
  perl-threads-1:2.21-2.el8.x86_64
  perl-threads-shared-1.58-2.el8.x86_64
  psmisc-23.1-3.el8.x86_64

Complete!
[root@analytic ~]#
[root@analytic ~]# mysql_secure_installation

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!

In order to log into MariaDB to secure it, we'll need the current
password for the root user.  If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Enter current password for root (enter for none):
Aborting!

Cleaning up...
[root@analytic ~]#
[root@analytic ~]# service mysql start
Redirecting to /bin/systemctl start mysql.service
Failed to start mysql.service: Unit mysql.service not found.
[root@analytic ~]#
[root@analytic ~]# service mysqld start
Redirecting to /bin/systemctl start mysqld.service
Failed to start mysqld.service: Unit mysqld.service not found.
[root@analytic ~]# sudo systemctl enable --now mariadb
Created symlink /etc/systemd/system/mysql.service → /usr/lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/mysqld.service → /usr/lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /usr/lib/systemd/system/mariadb.service.
[root@analytic ~]#
[root@analytic ~]# service mysqld status
Redirecting to /bin/systemctl status mysqld.service
● mariadb.service - MariaDB 10.3 database server
   Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2019-09-27 15:38:54 WIB; 4s ago
     Docs: man:mysqld(8)
           https://mariadb.com/kb/en/library/systemd/
  Process: 18416 ExecStartPost=/usr/libexec/mysql-check-upgrade (code=exited, status=0/SUCCESS)
  Process: 18283 ExecStartPre=/usr/libexec/mysql-prepare-db-dir mariadb.service (code=exited, status=0/SUCCESS)
  Process: 18258 ExecStartPre=/usr/libexec/mysql-check-socket (code=exited, status=0/SUCCESS)
 Main PID: 18385 (mysqld)
   Status: "Taking your SQL requests now..."
    Tasks: 30 (limit: 26213)
   Memory: 87.2M
   CGroup: /system.slice/mariadb.service
           └─18385 /usr/libexec/mysqld --basedir=/usr

Sep 27 15:38:54 analytic mysql-prepare-db-dir[18283]: Please report any problems at http://mariadb.org/jira
Sep 27 15:38:54 analytic mysql-prepare-db-dir[18283]: The latest information about MariaDB is available at http://mariadb.org/.
Sep 27 15:38:54 analytic mysql-prepare-db-dir[18283]: You can find additional information about the MySQL part at:
Sep 27 15:38:54 analytic mysql-prepare-db-dir[18283]: http://dev.mysql.com
Sep 27 15:38:54 analytic mysql-prepare-db-dir[18283]: Consider joining MariaDB's strong and vibrant community:
Sep 27 15:38:54 analytic mysql-prepare-db-dir[18283]: https://mariadb.org/get-involved/
Sep 27 15:38:54 analytic mysqld[18385]: 2019-09-27 15:38:54 0 [Note] /usr/libexec/mysqld (mysqld 10.3.11-MariaDB) starting as process>
Sep 27 15:38:54 analytic mysqld[18385]: 2019-09-27 15:38:54 0 [Warning] Could not increase number of max_open_files to more than 1024>
Sep 27 15:38:54 analytic mysqld[18385]: 2019-09-27 15:38:54 0 [Warning] Changed limits: max_open_files: 1024  max_connections: 151 (w>
Sep 27 15:38:54 analytic systemd[1]: Started MariaDB 10.3 database server.

[root@analytic ~]#
[root@analytic ~]# mysql_secure_installation

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!

In order to log into MariaDB to secure it, we'll need the current
password for the root user.  If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.

Set root password? [Y/n] Y
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
 ... Success!


By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them.  This is intended only for testing, and to make the installation
go a bit smoother.  You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] Y
 ... Success!

Normally, root should only be allowed to connect from 'localhost'.  This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] Y
 ... Success!

By default, MariaDB comes with a database named 'test' that anyone can
access.  This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n] Y
 - Dropping test database...
 ... Success!
 - Removing privileges on test database...
 ... Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n] Y
 ... Success!

Cleaning up...

All done!  If you've completed all of the above steps, your MariaDB
installation should now be secure.

Thanks for using MariaDB!
[root@analytic ~]#
       

How to install apache httpd on Linux Centos 8

  Tidak ada komentar
Install httpd with yum install httpd command
[root@analytic ~]# yum install httpd
Last metadata expiration check: 1:12:22 ago on Fri 27 Sep 2019 02:16:23 PM WIB.
Dependencies resolved.
======================================================================================================================================
 Package                         Arch                Version                                             Repository              Size
======================================================================================================================================
Installing:
 httpd                           x86_64              2.4.37-11.module_el8.0.0+172+85fc1f40               AppStream              1.7 M
Installing dependencies:
 apr                             x86_64              1.6.3-9.el8                                         AppStream              125 k
 apr-util                        x86_64              1.6.1-6.el8                                         AppStream              105 k
 centos-logos-httpd              noarch              80.5-2.el8                                          AppStream               24 k
 httpd-filesystem                noarch              2.4.37-11.module_el8.0.0+172+85fc1f40               AppStream               34 k
 httpd-tools                     x86_64              2.4.37-11.module_el8.0.0+172+85fc1f40               AppStream              102 k
 mod_http2                       x86_64              1.11.3-2.module_el8.0.0+10+abf51267                 AppStream              156 k
 mailcap                         noarch              2.1.48-3.el8                                        BaseOS                  39 k
Installing weak dependencies:
 apr-util-bdb                    x86_64              1.6.1-6.el8                                         AppStream               25 k
 apr-util-openssl                x86_64              1.6.1-6.el8                                         AppStream               27 k
Enabling module streams:
 httpd                                               2.4

Transaction Summary
======================================================================================================================================
Install  10 Packages

Total download size: 2.3 M
Installed size: 6.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/10): apr-util-bdb-1.6.1-6.el8.x86_64.rpm                                                            23 kB/s |  25 kB     00:01
(2/10): apr-util-openssl-1.6.1-6.el8.x86_64.rpm                                                       546 kB/s |  27 kB     00:00
(3/10): apr-util-1.6.1-6.el8.x86_64.rpm                                                                95 kB/s | 105 kB     00:01
(4/10): apr-1.6.3-9.el8.x86_64.rpm                                                                    111 kB/s | 125 kB     00:01
(5/10): centos-logos-httpd-80.5-2.el8.noarch.rpm                                                      842 kB/s |  24 kB     00:00
(6/10): httpd-filesystem-2.4.37-11.module_el8.0.0+172+85fc1f40.noarch.rpm                             1.1 MB/s |  34 kB     00:00
(7/10): httpd-tools-2.4.37-11.module_el8.0.0+172+85fc1f40.x86_64.rpm                                  1.3 MB/s | 102 kB     00:00
(8/10): mod_http2-1.11.3-2.module_el8.0.0+10+abf51267.x86_64.rpm                                      1.4 MB/s | 156 kB     00:00
(9/10): mailcap-2.1.48-3.el8.noarch.rpm                                                                77 kB/s |  39 kB     00:00
(10/10): httpd-2.4.37-11.module_el8.0.0+172+85fc1f40.x86_64.rpm                                       2.4 MB/s | 1.7 MB     00:00
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 497 kB/s | 2.3 MB     00:04
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                              1/1
  Installing       : apr-1.6.3-9.el8.x86_64                                                                                      1/10
  Running scriptlet: apr-1.6.3-9.el8.x86_64                                                                                      1/10
  Installing       : apr-util-bdb-1.6.1-6.el8.x86_64                                                                             2/10
  Installing       : apr-util-openssl-1.6.1-6.el8.x86_64                                                                         3/10
  Installing       : apr-util-1.6.1-6.el8.x86_64                                                                                 4/10
  Running scriptlet: apr-util-1.6.1-6.el8.x86_64                                                                                 4/10
  Installing       : httpd-tools-2.4.37-11.module_el8.0.0+172+85fc1f40.x86_64                                                    5/10
  Installing       : mailcap-2.1.48-3.el8.noarch                                                                                 6/10
  Running scriptlet: httpd-filesystem-2.4.37-11.module_el8.0.0+172+85fc1f40.noarch                                               7/10
  Installing       : httpd-filesystem-2.4.37-11.module_el8.0.0+172+85fc1f40.noarch                                               7/10
  Installing       : centos-logos-httpd-80.5-2.el8.noarch                                                                        8/10
  Installing       : mod_http2-1.11.3-2.module_el8.0.0+10+abf51267.x86_64                                                        9/10
  Installing       : httpd-2.4.37-11.module_el8.0.0+172+85fc1f40.x86_64                                                         10/10
  Running scriptlet: httpd-2.4.37-11.module_el8.0.0+172+85fc1f40.x86_64                                                         10/10
  Verifying        : apr-1.6.3-9.el8.x86_64                                                                                      1/10
  Verifying        : apr-util-1.6.1-6.el8.x86_64                                                                                 2/10
  Verifying        : apr-util-bdb-1.6.1-6.el8.x86_64                                                                             3/10
  Verifying        : apr-util-openssl-1.6.1-6.el8.x86_64                                                                         4/10
  Verifying        : centos-logos-httpd-80.5-2.el8.noarch                                                                        5/10
  Verifying        : httpd-2.4.37-11.module_el8.0.0+172+85fc1f40.x86_64                                                          6/10
  Verifying        : httpd-filesystem-2.4.37-11.module_el8.0.0+172+85fc1f40.noarch                                               7/10
  Verifying        : httpd-tools-2.4.37-11.module_el8.0.0+172+85fc1f40.x86_64                                                    8/10
  Verifying        : mod_http2-1.11.3-2.module_el8.0.0+10+abf51267.x86_64                                                        9/10
  Verifying        : mailcap-2.1.48-3.el8.noarch                                                                                10/10

Installed:
  httpd-2.4.37-11.module_el8.0.0+172+85fc1f40.x86_64                   apr-util-bdb-1.6.1-6.el8.x86_64
  apr-util-openssl-1.6.1-6.el8.x86_64                                  apr-1.6.3-9.el8.x86_64
  apr-util-1.6.1-6.el8.x86_64                                          centos-logos-httpd-80.5-2.el8.noarch
  httpd-filesystem-2.4.37-11.module_el8.0.0+172+85fc1f40.noarch        httpd-tools-2.4.37-11.module_el8.0.0+172+85fc1f40.x86_64
  mod_http2-1.11.3-2.module_el8.0.0+10+abf51267.x86_64                 mailcap-2.1.48-3.el8.noarch

Complete!
[root@analytic ~]#
Check httpd version and start the service
[root@analytic ~]# httpd -v
Server version: Apache/2.4.37 (centos)
Server built:   Jul 30 2019 19:56:12
[root@analytic ~]#
[root@analytic ~]# service httpd restart
Redirecting to /bin/systemctl restart httpd.service
[root@analytic ~]#
[root@analytic ~]# service httpd status
Redirecting to /bin/systemctl status httpd.service
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
  Drop-In: /usr/lib/systemd/system/httpd.service.d
           └─php-fpm.conf
   Active: active (running) since Fri 2019-09-27 15:40:27 WIB; 3s ago
     Docs: man:httpd.service(8)
 Main PID: 18866 (httpd)
   Status: "Started, listening on: port 80"
    Tasks: 213 (limit: 26213)
   Memory: 38.0M
   CGroup: /system.slice/httpd.service
           ├─18866 /usr/sbin/httpd -DFOREGROUND
           ├─18873 /usr/sbin/httpd -DFOREGROUND
           ├─18874 /usr/sbin/httpd -DFOREGROUND
           ├─18875 /usr/sbin/httpd -DFOREGROUND
           └─18876 /usr/sbin/httpd -DFOREGROUND

Sep 27 15:40:27 analytic systemd[1]: Starting The Apache HTTP Server...
Sep 27 15:40:27 analytic httpd[18866]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using f>
Sep 27 15:40:27 analytic httpd[18866]: Server configured, listening on: port 80
Sep 27 15:40:27 analytic systemd[1]: Started The Apache HTTP Server.

[root@analytic ~]#



How to install PHP 5.6 from remi repo on Centos 7

  Tidak ada komentar
Install repo release repository
[root@myapp ~]# yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
Loaded plugins: fastestmirror
remi-release-7.rpm                                                                                             |  16 kB  00:00:00
Examining /var/tmp/yum-root-bLzN2F/remi-release-7.rpm: remi-release-7.6-2.el7.remi.noarch
Marking /var/tmp/yum-root-bLzN2F/remi-release-7.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package remi-release.noarch 0:7.6-2.el7.remi will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                         Arch                      Version                           Repository                          Size
======================================================================================================================================
Installing:
 remi-release                    noarch                    7.6-2.el7.remi                    /remi-release-7                     19 k

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

Total size: 19 k
Installed size: 19 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : remi-release-7.6-2.el7.remi.noarch                                                                                 1/1
  Verifying  : remi-release-7.6-2.el7.remi.noarch                                                                                 1/1

Installed:
  remi-release.noarch 0:7.6-2.el7.remi

Complete!
Install yum utils
[root@myapp ~]# yum install yum-utils
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                                                           | 3.3 kB  00:00:00
 * base: mirror.buana.web.id
 * epel: epel.dionipe.id
 * extras: centos.mirror.angkasa.id
 * remi-safe: mirror.innosol.asia
 * updates: centos.mirror.angkasa.id
base                                                                                                           | 3.6 kB  00:00:00
epel                                                                                                           | 5.3 kB  00:00:00
extras                                                                                                         | 3.4 kB  00:00:00
remi-safe                                                                                                      | 3.0 kB  00:00:00
updates                                                                                                        | 3.4 kB  00:00:00
remi-safe/primary_db                                                                                           | 1.6 MB  00:00:01
Resolving Dependencies
--> Running transaction check
---> Package yum-utils.noarch 0:1.1.31-50.el7 will be installed
--> Processing Dependency: python-kitchen for package: yum-utils-1.1.31-50.el7.noarch
--> Processing Dependency: libxml2-python for package: yum-utils-1.1.31-50.el7.noarch
--> Running transaction check
---> Package libxml2-python.x86_64 0:2.9.1-6.el7_2.3 will be installed
---> Package python-kitchen.noarch 0:1.1.1-5.el7 will be installed
--> Processing Dependency: python-chardet for package: python-kitchen-1.1.1-5.el7.noarch
--> Running transaction check
---> Package python-chardet.noarch 0:2.2.1-1.el7_1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                             Arch                        Version                              Repository                 Size
======================================================================================================================================
Installing:
 yum-utils                           noarch                      1.1.31-50.el7                        base                      121 k
Installing for dependencies:
 libxml2-python                      x86_64                      2.9.1-6.el7_2.3                      base                      247 k
 python-chardet                      noarch                      2.2.1-1.el7_1                        base                      227 k
 python-kitchen                      noarch                      1.1.1-5.el7                          base                      267 k

Transaction Summary
======================================================================================================================================
Install  1 Package (+3 Dependent packages)

Total download size: 861 k
Installed size: 4.3 M
Is this ok [y/d/N]: y
Downloading packages:
(1/4): python-chardet-2.2.1-1.el7_1.noarch.rpm                                                                 | 227 kB  00:00:00
(2/4): python-kitchen-1.1.1-5.el7.noarch.rpm                                                                   | 267 kB  00:00:00
(3/4): libxml2-python-2.9.1-6.el7_2.3.x86_64.rpm                                                               | 247 kB  00:00:00
(4/4): yum-utils-1.1.31-50.el7.noarch.rpm                                                                      | 121 kB  00:00:00
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 2.2 MB/s | 861 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python-chardet-2.2.1-1.el7_1.noarch                                                                                1/4
  Installing : python-kitchen-1.1.1-5.el7.noarch                                                                                  2/4
  Installing : libxml2-python-2.9.1-6.el7_2.3.x86_64                                                                              3/4
  Installing : yum-utils-1.1.31-50.el7.noarch                                                                                     4/4
  Verifying  : libxml2-python-2.9.1-6.el7_2.3.x86_64                                                                              1/4
  Verifying  : python-kitchen-1.1.1-5.el7.noarch                                                                                  2/4
  Verifying  : yum-utils-1.1.31-50.el7.noarch                                                                                     3/4
  Verifying  : python-chardet-2.2.1-1.el7_1.noarch                                                                                4/4

Installed:
  yum-utils.noarch 0:1.1.31-50.el7

Dependency Installed:
  libxml2-python.x86_64 0:2.9.1-6.el7_2.3       python-chardet.noarch 0:2.2.1-1.el7_1       python-kitchen.noarch 0:1.1.1-5.el7

Complete!
[root@myapp ~]#
Enable remi-php56 repository with yum config manager
[root@myapp ~]# yum-config-manager --enable remi-php56
Loaded plugins: fastestmirror
========================================================== repo: remi-php56 ==========================================================
[remi-php56]
async = True
bandwidth = 0
base_persistdir = /var/lib/yum/repos/x86_64/7
baseurl =
cache = 0
cachedir = /var/cache/yum/x86_64/7/remi-php56
check_config_file_age = True
compare_providers_priority = 80
cost = 1000
deltarpm_metadata_percentage = 100
deltarpm_percentage =
enabled = 1
enablegroups = True
exclude =
failovermethod = priority
ftp_disable_epsv = False
gpgcadir = /var/lib/yum/repos/x86_64/7/remi-php56/gpgcadir
gpgcakey =
gpgcheck = True
gpgdir = /var/lib/yum/repos/x86_64/7/remi-php56/gpgdir
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
hdrdir = /var/cache/yum/x86_64/7/remi-php56/headers
http_caching = all
includepkgs =
ip_resolve =
keepalive = True
keepcache = False
mddownloadpolicy = sqlite
mdpolicy = group:small
mediaid =
metadata_expire = 21600
metadata_expire_filter = read-only:present
metalink =
minrate = 0
mirrorlist = http://cdn.remirepo.net/enterprise/7/php56/mirror
mirrorlist_expire = 86400
name = Remi's PHP 5.6 RPM repository for Enterprise Linux 7 - x86_64
old_base_cache_dir =
password =
persistdir = /var/lib/yum/repos/x86_64/7/remi-php56
pkgdir = /var/cache/yum/x86_64/7/remi-php56/packages
proxy = False
proxy_dict =
proxy_password =
proxy_username =
repo_gpgcheck = False
retries = 10
skip_if_unavailable = False
ssl_check_cert_permissions = True
sslcacert =
sslclientcert =
sslclientkey =
sslverify = True
throttle = 0
timeout = 30.0
ui_id = remi-php56
ui_repoid_vars = releasever,
   basearch
username =

[root@myapp ~]#
Install php, dependency and plugins
[root@myapp ~]# yum install php php-mcrypt php-cli php-gd php-curl php-mysql php-ldap php-zip php-fileinfo
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.buana.web.id
 * epel: epel.dionipe.id
 * extras: centos.mirror.angkasa.id
 * remi-php56: mirror.innosol.asia
 * remi-safe: mirror.innosol.asia
 * updates: centos.mirror.angkasa.id
remi-php56                                                                                                     | 3.0 kB  00:00:00
remi-php56/primary_db                                                                                          | 247 kB  00:00:00
Package php-mysql is obsoleted by php-mysqlnd, trying to install php-mysqlnd-5.6.40-12.el7.remi.x86_64 instead
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.6.40-12.el7.remi will be installed
---> Package php-cli.x86_64 0:5.6.40-12.el7.remi will be installed
---> Package php-common.x86_64 0:5.6.40-12.el7.remi will be installed
--> Processing Dependency: php-pecl-jsonc(x86-64) for package: php-common-5.6.40-12.el7.remi.x86_64
---> Package php-gd.x86_64 0:5.6.40-12.el7.remi will be installed
--> Processing Dependency: gd-last(x86-64) >= 2.1.1 for package: php-gd-5.6.40-12.el7.remi.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: php-gd-5.6.40-12.el7.remi.x86_64
--> Processing Dependency: libXpm.so.4()(64bit) for package: php-gd-5.6.40-12.el7.remi.x86_64
--> Processing Dependency: libgd.so.3()(64bit) for package: php-gd-5.6.40-12.el7.remi.x86_64
--> Processing Dependency: libt1.so.5()(64bit) for package: php-gd-5.6.40-12.el7.remi.x86_64
---> Package php-ldap.x86_64 0:5.6.40-12.el7.remi will be installed
---> Package php-mcrypt.x86_64 0:5.6.40-12.el7.remi will be installed
---> Package php-mysqlnd.x86_64 0:5.6.40-12.el7.remi will be installed
--> Processing Dependency: php-pdo(x86-64) = 5.6.40-12.el7.remi for package: php-mysqlnd-5.6.40-12.el7.remi.x86_64
---> Package php-pecl-zip.x86_64 0:1.15.4-1.el7.remi.5.6 will be installed
--> Processing Dependency: libzip5(x86-64) >= 1.5.1 for package: php-pecl-zip-1.15.4-1.el7.remi.5.6.x86_64
--> Processing Dependency: libzip.so.5()(64bit) for package: php-pecl-zip-1.15.4-1.el7.remi.5.6.x86_64
--> Running transaction check
---> Package gd-last.x86_64 0:2.2.5-8.el7.remi will be installed
--> Processing Dependency: libtiff.so.5(LIBTIFF_4.0)(64bit) for package: gd-last-2.2.5-8.el7.remi.x86_64
--> Processing Dependency: libfontconfig.so.1()(64bit) for package: gd-last-2.2.5-8.el7.remi.x86_64
--> Processing Dependency: libtiff.so.5()(64bit) for package: gd-last-2.2.5-8.el7.remi.x86_64
--> Processing Dependency: libwebp.so.7()(64bit) for package: gd-last-2.2.5-8.el7.remi.x86_64
---> Package libX11.x86_64 0:1.6.5-2.el7 will be installed
--> Processing Dependency: libX11-common >= 1.6.5-2.el7 for package: libX11-1.6.5-2.el7.x86_64
--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.5-2.el7.x86_64
---> Package libXpm.x86_64 0:3.5.12-1.el7 will be installed
---> Package libzip5.x86_64 0:1.5.2-1.el7.remi will be installed
---> Package php-pdo.x86_64 0:5.6.40-12.el7.remi will be installed
---> Package php-pecl-jsonc.x86_64 0:1.3.10-2.el7.remi.5.6 will be installed
---> Package t1lib.x86_64 0:5.1.2-14.el7 will be installed
--> Running transaction check
---> Package fontconfig.x86_64 0:2.13.0-4.3.el7 will be installed
--> Processing Dependency: fontpackages-filesystem for package: fontconfig-2.13.0-4.3.el7.x86_64
--> Processing Dependency: dejavu-sans-fonts for package: fontconfig-2.13.0-4.3.el7.x86_64
---> Package libX11-common.noarch 0:1.6.5-2.el7 will be installed
---> Package libtiff.x86_64 0:4.0.3-27.el7_3 will be installed
--> Processing Dependency: libjbig.so.2.0()(64bit) for package: libtiff-4.0.3-27.el7_3.x86_64
---> Package libwebp7.x86_64 0:1.0.2-1.el7.remi will be installed
---> Package libxcb.x86_64 0:1.13-1.el7 will be installed
--> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.13-1.el7.x86_64
--> Running transaction check
---> Package dejavu-sans-fonts.noarch 0:2.33-6.el7 will be installed
--> Processing Dependency: dejavu-fonts-common = 2.33-6.el7 for package: dejavu-sans-fonts-2.33-6.el7.noarch
---> Package fontpackages-filesystem.noarch 0:1.44-8.el7 will be installed
---> Package jbigkit-libs.x86_64 0:2.0-11.el7 will be installed
---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed
--> Running transaction check
---> Package dejavu-fonts-common.noarch 0:2.33-6.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                                Arch                  Version                                 Repository                 Size
======================================================================================================================================
Installing:
 php                                    x86_64                5.6.40-12.el7.remi                      remi-php56                2.6 M
 php-cli                                x86_64                5.6.40-12.el7.remi                      remi-php56                4.0 M
 php-common                             x86_64                5.6.40-12.el7.remi                      remi-php56                1.1 M
 php-gd                                 x86_64                5.6.40-12.el7.remi                      remi-php56                 88 k
 php-ldap                               x86_64                5.6.40-12.el7.remi                      remi-php56                 68 k
 php-mcrypt                             x86_64                5.6.40-12.el7.remi                      remi-php56                 56 k
 php-mysqlnd                            x86_64                5.6.40-12.el7.remi                      remi-php56                300 k
 php-pecl-zip                           x86_64                1.15.4-1.el7.remi.5.6                   remi-php56                 58 k
Installing for dependencies:
 dejavu-fonts-common                    noarch                2.33-6.el7                              base                       64 k
 dejavu-sans-fonts                      noarch                2.33-6.el7                              base                      1.4 M
 fontconfig                             x86_64                2.13.0-4.3.el7                          base                      254 k
 fontpackages-filesystem                noarch                1.44-8.el7                              base                      9.9 k
 gd-last                                x86_64                2.2.5-8.el7.remi                        remi-safe                 134 k
 jbigkit-libs                           x86_64                2.0-11.el7                              base                       46 k
 libX11                                 x86_64                1.6.5-2.el7                             base                      606 k
 libX11-common                          noarch                1.6.5-2.el7                             base                      164 k
 libXau                                 x86_64                1.0.8-2.1.el7                           base                       29 k
 libXpm                                 x86_64                3.5.12-1.el7                            base                       55 k
 libtiff                                x86_64                4.0.3-27.el7_3                          base                      170 k
 libwebp7                               x86_64                1.0.2-1.el7.remi                        remi-safe                 265 k
 libxcb                                 x86_64                1.13-1.el7                              base                      214 k
 libzip5                                x86_64                1.5.2-1.el7.remi                        remi-safe                  56 k
 php-pdo                                x86_64                5.6.40-12.el7.remi                      remi-php56                142 k
 php-pecl-jsonc                         x86_64                1.3.10-2.el7.remi.5.6                   remi-php56                 57 k
 t1lib                                  x86_64                5.1.2-14.el7                            base                      166 k

Transaction Summary
======================================================================================================================================
Install  8 Packages (+17 Dependent packages)

Total download size: 12 M
Installed size: 43 M
Is this ok [y/d/N]: y
Downloading packages:
(1/25): dejavu-fonts-common-2.33-6.el7.noarch.rpm                                                              |  64 kB  00:00:00
(2/25): jbigkit-libs-2.0-11.el7.x86_64.rpm                                                                     |  46 kB  00:00:00
(3/25): fontpackages-filesystem-1.44-8.el7.noarch.rpm                                                          | 9.9 kB  00:00:00
(4/25): fontconfig-2.13.0-4.3.el7.x86_64.rpm                                                                   | 254 kB  00:00:00
(5/25): libX11-common-1.6.5-2.el7.noarch.rpm                                                                   | 164 kB  00:00:00
(6/25): libXau-1.0.8-2.1.el7.x86_64.rpm                                                                        |  29 kB  00:00:00
(7/25): libXpm-3.5.12-1.el7.x86_64.rpm                                                                         |  55 kB  00:00:00
(8/25): libtiff-4.0.3-27.el7_3.x86_64.rpm                                                                      | 170 kB  00:00:00
(9/25): libX11-1.6.5-2.el7.x86_64.rpm                                                                          | 606 kB  00:00:00
(10/25): dejavu-sans-fonts-2.33-6.el7.noarch.rpm                                                               | 1.4 MB  00:00:00
(11/25): libxcb-1.13-1.el7.x86_64.rpm                                                                          | 214 kB  00:00:00
warning: /var/cache/yum/x86_64/7/remi-safe/packages/gd-last-2.2.5-8.el7.remi.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
Public key for gd-last-2.2.5-8.el7.remi.x86_64.rpm is not installed
(12/25): gd-last-2.2.5-8.el7.remi.x86_64.rpm                                                                   | 134 kB  00:00:00
(13/25): libwebp7-1.0.2-1.el7.remi.x86_64.rpm                                                                  | 265 kB  00:00:00
Public key for php-gd-5.6.40-12.el7.remi.x86_64.rpm is not installed========                        ] 2.1 MB/s | 5.2 MB  00:00:03 ETA
(14/25): php-gd-5.6.40-12.el7.remi.x86_64.rpm                                                                  |  88 kB  00:00:00
(15/25): php-5.6.40-12.el7.remi.x86_64.rpm                                                                     | 2.6 MB  00:00:01
(16/25): php-mcrypt-5.6.40-12.el7.remi.x86_64.rpm                                                              |  56 kB  00:00:00
(17/25): php-ldap-5.6.40-12.el7.remi.x86_64.rpm                                                                |  68 kB  00:00:00
(18/25): php-mysqlnd-5.6.40-12.el7.remi.x86_64.rpm                                                             | 300 kB  00:00:00
(19/25): php-pecl-jsonc-1.3.10-2.el7.remi.5.6.x86_64.rpm                                                       |  57 kB  00:00:00
(20/25): php-pecl-zip-1.15.4-1.el7.remi.5.6.x86_64.rpm                                                         |  58 kB  00:00:00
(21/25): t1lib-5.1.2-14.el7.x86_64.rpm                                                                         | 166 kB  00:00:00
(22/25): libzip5-1.5.2-1.el7.remi.x86_64.rpm                                                                   |  56 kB  00:00:02
(23/25): php-pdo-5.6.40-12.el7.remi.x86_64.rpm                                                                 | 142 kB  00:00:00
(24/25): php-cli-5.6.40-12.el7.remi.x86_64.rpm                                                                 | 4.0 MB  00:00:03
(25/25): php-common-5.6.40-12.el7.remi.x86_64.rpm                                                              | 1.1 MB  00:00:27
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 439 kB/s |  12 MB  00:00:28
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
Importing GPG key 0x00F97F56:
 Userid     : "Remi Collet <[email protected]>"
 Fingerprint: 1ee0 4cce 88a4 ae4a a29a 5df5 004e 6f47 00f9 7f56
 Package    : remi-release-7.6-2.el7.remi.noarch (installed)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-remi
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : fontpackages-filesystem-1.44-8.el7.noarch                                                                         1/25
  Installing : dejavu-fonts-common-2.33-6.el7.noarch                                                                             2/25
  Installing : dejavu-sans-fonts-2.33-6.el7.noarch                                                                               3/25
  Installing : fontconfig-2.13.0-4.3.el7.x86_64                                                                                  4/25
  Installing : libX11-common-1.6.5-2.el7.noarch                                                                                  5/25
  Installing : libXau-1.0.8-2.1.el7.x86_64                                                                                       6/25
  Installing : libxcb-1.13-1.el7.x86_64                                                                                          7/25
  Installing : libX11-1.6.5-2.el7.x86_64                                                                                         8/25
  Installing : libXpm-3.5.12-1.el7.x86_64                                                                                        9/25
  Installing : t1lib-5.1.2-14.el7.x86_64                                                                                        10/25
  Installing : libwebp7-1.0.2-1.el7.remi.x86_64                                                                                 11/25
  Installing : libzip5-1.5.2-1.el7.remi.x86_64                                                                                  12/25
  Installing : php-pecl-zip-1.15.4-1.el7.remi.5.6.x86_64                                                                        13/25
  Installing : php-common-5.6.40-12.el7.remi.x86_64                                                                             14/25
warning: /etc/php.ini created as /etc/php.ini.rpmnew
  Installing : php-pecl-jsonc-1.3.10-2.el7.remi.5.6.x86_64                                                                      15/25
  Installing : php-cli-5.6.40-12.el7.remi.x86_64                                                                                16/25
  Installing : php-pdo-5.6.40-12.el7.remi.x86_64                                                                                17/25
  Installing : jbigkit-libs-2.0-11.el7.x86_64                                                                                   18/25
  Installing : libtiff-4.0.3-27.el7_3.x86_64                                                                                    19/25
  Installing : gd-last-2.2.5-8.el7.remi.x86_64                                                                                  20/25
  Installing : php-gd-5.6.40-12.el7.remi.x86_64                                                                                 21/25
  Installing : php-mysqlnd-5.6.40-12.el7.remi.x86_64                                                                            22/25
  Installing : php-5.6.40-12.el7.remi.x86_64                                                                                    23/25
warning: /etc/httpd/conf.d/php.conf created as /etc/httpd/conf.d/php.conf.rpmnew
  Installing : php-mcrypt-5.6.40-12.el7.remi.x86_64                                                                             24/25
  Installing : php-ldap-5.6.40-12.el7.remi.x86_64                                                                               25/25
=====================================================================

  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.

=====================================================================
  Verifying  : php-mysqlnd-5.6.40-12.el7.remi.x86_64                                                                             1/25
  Verifying  : php-5.6.40-12.el7.remi.x86_64                                                                                     2/25
  Verifying  : libtiff-4.0.3-27.el7_3.x86_64                                                                                     3/25
  Verifying  : fontconfig-2.13.0-4.3.el7.x86_64                                                                                  4/25
  Verifying  : php-cli-5.6.40-12.el7.remi.x86_64                                                                                 5/25
  Verifying  : php-pecl-jsonc-1.3.10-2.el7.remi.5.6.x86_64                                                                       6/25
  Verifying  : fontpackages-filesystem-1.44-8.el7.noarch                                                                         7/25
  Verifying  : php-pecl-zip-1.15.4-1.el7.remi.5.6.x86_64                                                                         8/25
  Verifying  : jbigkit-libs-2.0-11.el7.x86_64                                                                                    9/25
  Verifying  : php-mcrypt-5.6.40-12.el7.remi.x86_64                                                                             10/25
  Verifying  : dejavu-fonts-common-2.33-6.el7.noarch                                                                            11/25
  Verifying  : php-ldap-5.6.40-12.el7.remi.x86_64                                                                               12/25
  Verifying  : libzip5-1.5.2-1.el7.remi.x86_64                                                                                  13/25
  Verifying  : libxcb-1.13-1.el7.x86_64                                                                                         14/25
  Verifying  : libXpm-3.5.12-1.el7.x86_64                                                                                       15/25
  Verifying  : t1lib-5.1.2-14.el7.x86_64                                                                                        16/25
  Verifying  : php-pdo-5.6.40-12.el7.remi.x86_64                                                                                17/25
  Verifying  : libX11-1.6.5-2.el7.x86_64                                                                                        18/25
  Verifying  : dejavu-sans-fonts-2.33-6.el7.noarch                                                                              19/25
  Verifying  : gd-last-2.2.5-8.el7.remi.x86_64                                                                                  20/25
  Verifying  : libwebp7-1.0.2-1.el7.remi.x86_64                                                                                 21/25
  Verifying  : php-gd-5.6.40-12.el7.remi.x86_64                                                                                 22/25
  Verifying  : libXau-1.0.8-2.1.el7.x86_64                                                                                      23/25
  Verifying  : php-common-5.6.40-12.el7.remi.x86_64                                                                             24/25
  Verifying  : libX11-common-1.6.5-2.el7.noarch                                                                                 25/25

Installed:
  php.x86_64 0:5.6.40-12.el7.remi            php-cli.x86_64 0:5.6.40-12.el7.remi            php-common.x86_64 0:5.6.40-12.el7.remi
  php-gd.x86_64 0:5.6.40-12.el7.remi         php-ldap.x86_64 0:5.6.40-12.el7.remi           php-mcrypt.x86_64 0:5.6.40-12.el7.remi
  php-mysqlnd.x86_64 0:5.6.40-12.el7.remi    php-pecl-zip.x86_64 0:1.15.4-1.el7.remi.5.6

Dependency Installed:
  dejavu-fonts-common.noarch 0:2.33-6.el7           dejavu-sans-fonts.noarch 0:2.33-6.el7     fontconfig.x86_64 0:2.13.0-4.3.el7
  fontpackages-filesystem.noarch 0:1.44-8.el7       gd-last.x86_64 0:2.2.5-8.el7.remi         jbigkit-libs.x86_64 0:2.0-11.el7
  libX11.x86_64 0:1.6.5-2.el7                       libX11-common.noarch 0:1.6.5-2.el7        libXau.x86_64 0:1.0.8-2.1.el7
  libXpm.x86_64 0:3.5.12-1.el7                      libtiff.x86_64 0:4.0.3-27.el7_3           libwebp7.x86_64 0:1.0.2-1.el7.remi
  libxcb.x86_64 0:1.13-1.el7                        libzip5.x86_64 0:1.5.2-1.el7.remi         php-pdo.x86_64 0:5.6.40-12.el7.remi
  php-pecl-jsonc.x86_64 0:1.3.10-2.el7.remi.5.6     t1lib.x86_64 0:5.1.2-14.el7

Complete!
[root@myapp ~]#