May 2024
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Categories

May 2024
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

CentOS 7 Own CLoud 7

Install minimal install Centos 7

yum -y update

[root@testserver7 ~]# yum install httpd php php-mysql mariadb-server mariadb sqlite php-dom php-mbstring php-gd php-pdo wget vim
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.vodien.com
* extras: mirror.vodien.com
* updates: mirror.vodien.com
Package sqlite-3.7.17-4.el7.x86_64 already installed and latest version
Package wget-1.14-10.el7_0.1.x86_64 already installed and latest version
Resolving Dependencies
–> Running transaction check
—> Package httpd.x86_64 0:2.4.6-19.el7.centos will be installed
–> Processing Dependency: httpd-tools = 2.4.6-19.el7.centos for package: httpd-2.4.6-19.el7.centos.x86_64
–> Processing Dependency: /etc/mime.types for package: httpd-2.4.6-19.el7.centos.x86_64
–> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-19.el7.centos.x86_64
–> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-19.el7.centos.x86_64
—> Package mariadb.x86_64 1:5.5.40-2.el7_0 will be installed
–> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.40-2.el7_0 for package: 1:mariadb-5.5.40-2.el7_0.x86_64
–> Processing Dependency: perl(Sys::Hostname) for package: 1:mariadb-5.5.40-2.el7_0.x86_64
–> Processing Dependency: perl(IPC::Open3) for package: 1:mariadb-5.5.40-2.el7_0.x86_64
–> Processing Dependency: perl(Getopt::Long) for package: 1:mariadb-5.5.40-2.el7_0.x86_64
–> Processing Dependency: perl(File::Temp) for package: 1:mariadb-5.5.40-2.el7_0.x86_64
–> Processing Dependency: perl(Fcntl) for package: 1:mariadb-5.5.40-2.el7_0.x86_64
–> Processing Dependency: perl(Exporter) for package: 1:mariadb-5.5.40-2.el7_0.x86_64
–> Processing Dependency: /usr/bin/perl for package: 1:mariadb-5.5.40-2.el7_0.x86_64
—> Package mariadb-server.x86_64 1:5.5.40-2.el7_0 will be installed
–> Processing Dependency: perl-DBI for package: 1:mariadb-server-5.5.40-2.el7_0.x86_64
–> Processing Dependency: perl-DBD-MySQL for package: 1:mariadb-server-5.5.40-2.el7_0.x86_64
–> Processing Dependency: perl(File::Path) for package: 1:mariadb-server-5.5.40-2.el7_0.x86_64
–> Processing Dependency: perl(Data::Dumper) for package: 1:mariadb-server-5.5.40-2.el7_0.x86_64
–> Processing Dependency: perl(DBI) for package: 1:mariadb-server-5.5.40-2.el7_0.x86_64
–> Processing Dependency: libaio.so.1(LIBAIO_0.4)(64bit) for package: 1:mariadb-server-5.5.40-2.el7_0.x86_64
–> Processing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) for package: 1:mariadb-server-5.5.40-2.el7_0.x86_64
–> Processing Dependency: libaio.so.1()(64bit) for package: 1:mariadb-server-5.5.40-2.el7_0.x86_64
—> Package php.x86_64 0:5.4.16-23.el7_0.3 will be installed
–> Processing Dependency: php-common(x86-64) = 5.4.16-23.el7_0.3 for package: php-5.4.16-23.el7_0.3.x86_64
–> Processing Dependency: php-cli(x86-64) = 5.4.16-23.el7_0.3 for package: php-5.4.16-23.el7_0.3.x86_64
—> Package php-gd.x86_64 0:5.4.16-23.el7_0.3 will be installed
–> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: php-gd-5.4.16-23.el7_0.3.x86_64
–> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: php-gd-5.4.16-23.el7_0.3.x86_64
–> Processing Dependency: libt1.so.5()(64bit) for package: php-gd-5.4.16-23.el7_0.3.x86_64
–> Processing Dependency: libpng15.so.15()(64bit) for package: php-gd-5.4.16-23.el7_0.3.x86_64
–> Processing Dependency: libjpeg.so.62()(64bit) for package: php-gd-5.4.16-23.el7_0.3.x86_64
–> Processing Dependency: libXpm.so.4()(64bit) for package: php-gd-5.4.16-23.el7_0.3.x86_64
–> Processing Dependency: libX11.so.6()(64bit) for package: php-gd-5.4.16-23.el7_0.3.x86_64
—> Package php-mbstring.x86_64 0:5.4.16-23.el7_0.3 will be installed
—> Package php-mysql.x86_64 0:5.4.16-23.el7_0.3 will be installed
—> Package php-pdo.x86_64 0:5.4.16-23.el7_0.3 will be installed
—> Package php-xml.x86_64 0:5.4.16-23.el7_0.3 will be installed
–> Processing Dependency: libxslt.so.1(LIBXML2_1.0.24)(64bit) for package: php-xml-5.4.16-23.el7_0.3.x86_64
–> Processing Dependency: libxslt.so.1(LIBXML2_1.0.22)(64bit) for package: php-xml-5.4.16-23.el7_0.3.x86_64
–> Processing Dependency: libxslt.so.1(LIBXML2_1.0.18)(64bit) for package: php-xml-5.4.16-23.el7_0.3.x86_64
–> Processing Dependency: libxslt.so.1(LIBXML2_1.0.13)(64bit) for package: php-xml-5.4.16-23.el7_0.3.x86_64
–> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) for package: php-xml-5.4.16-23.el7_0.3.x86_64
–> Processing Dependency: libxslt.so.1()(64bit) for package: php-xml-5.4.16-23.el7_0.3.x86_64
–> Processing Dependency: libexslt.so.0()(64bit) for package: php-xml-5.4.16-23.el7_0.3.x86_64
—> Package vim-enhanced.x86_64 2:7.4.160-1.el7 will be installed
–> Processing Dependency: vim-common = 2:7.4.160-1.el7 for package: 2:vim-enhanced-7.4.160-1.el7.x86_64
–> Processing Dependency: libperl.so()(64bit) for package: 2:vim-enhanced-7.4.160-1.el7.x86_64
–> Processing Dependency: libgpm.so.2()(64bit) for package: 2:vim-enhanced-7.4.160-1.el7.x86_64
–> Running transaction check
—> Package apr.x86_64 0:1.4.8-3.el7 will be installed
—> Package apr-util.x86_64 0:1.5.2-6.el7 will be installed
—> Package gpm-libs.x86_64 0:1.20.7-5.el7 will be installed
—> Package httpd-tools.x86_64 0:2.4.6-19.el7.centos will be installed
—> Package libX11.x86_64 0:1.6.0-2.1.el7 will be installed
–> Processing Dependency: libX11-common = 1.6.0-2.1.el7 for package: libX11-1.6.0-2.1.el7.x86_64
–> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.0-2.1.el7.x86_64
—> Package libXpm.x86_64 0:3.5.10-5.1.el7 will be installed
—> Package libaio.x86_64 0:0.3.109-12.el7 will be installed
—> Package libjpeg-turbo.x86_64 0:1.2.90-5.el7 will be installed
—> Package libpng.x86_64 2:1.5.13-5.el7 will be installed
—> Package libxslt.x86_64 0:1.1.28-5.el7 will be installed
—> Package mailcap.noarch 0:2.1.41-2.el7 will be installed
—> Package mariadb-libs.x86_64 1:5.5.35-3.el7 will be updated
—> Package mariadb-libs.x86_64 1:5.5.40-2.el7_0 will be an update
—> Package perl.x86_64 4:5.16.3-283.el7 will be installed
–> Processing Dependency: perl(Socket) >= 1.3 for package: 4:perl-5.16.3-283.el7.x86_64
–> Processing Dependency: perl(Scalar::Util) >= 1.10 for package: 4:perl-5.16.3-283.el7.x86_64
–> Processing Dependency: perl-macros for package: 4:perl-5.16.3-283.el7.x86_64
–> Processing Dependency: perl(threads::shared) for package: 4:perl-5.16.3-283.el7.x86_64
–> Processing Dependency: perl(threads) for package: 4:perl-5.16.3-283.el7.x86_64
–> Processing Dependency: perl(constant) for package: 4:perl-5.16.3-283.el7.x86_64
–> Processing Dependency: perl(Time::Local) for package: 4:perl-5.16.3-283.el7.x86_64
–> Processing Dependency: perl(Storable) for package: 4:perl-5.16.3-283.el7.x86_64
–> Processing Dependency: perl(Socket) for package: 4:perl-5.16.3-283.el7.x86_64
–> Processing Dependency: perl(Scalar::Util) for package: 4:perl-5.16.3-283.el7.x86_64
–> Processing Dependency: perl(Pod::Simple::XHTML) for package: 4:perl-5.16.3-283.el7.x86_64
–> Processing Dependency: perl(Pod::Simple::Search) for package: 4:perl-5.16.3-283.el7.x86_64
–> Processing Dependency: perl(Filter::Util::Call) for package: 4:perl-5.16.3-283.el7.x86_64
–> Processing Dependency: perl(File::Spec::Unix) for package: 4:perl-5.16.3-283.el7.x86_64
–> Processing Dependency: perl(File::Spec::Functions) for package: 4:perl-5.16.3-283.el7.x86_64
–> Processing Dependency: perl(File::Spec) for package: 4:perl-5.16.3-283.el7.x86_64
–> Processing Dependency: perl(Cwd) for package: 4:perl-5.16.3-283.el7.x86_64
–> Processing Dependency: perl(Carp) for package: 4:perl-5.16.3-283.el7.x86_64
—> Package perl-DBD-MySQL.x86_64 0:4.023-5.el7 will be installed
—> Package perl-DBI.x86_64 0:1.627-4.el7 will be installed
–> Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package: perl-DBI-1.627-4.el7.x86_64
–> Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package: perl-DBI-1.627-4.el7.x86_64
—> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed
—> Package perl-Exporter.noarch 0:5.68-3.el7 will be installed
—> Package perl-File-Path.noarch 0:2.09-2.el7 will be installed
—> Package perl-File-Temp.noarch 0:0.23.01-3.el7 will be installed
—> Package perl-Getopt-Long.noarch 0:2.40-2.el7 will be installed
–> Processing Dependency: perl(Pod::Usage) >= 1.14 for package: perl-Getopt-Long-2.40-2.el7.noarch
–> Processing Dependency: perl(Text::ParseWords) for package: perl-Getopt-Long-2.40-2.el7.noarch
—> Package perl-libs.x86_64 4:5.16.3-283.el7 will be installed
—> Package php-cli.x86_64 0:5.4.16-23.el7_0.3 will be installed
—> Package php-common.x86_64 0:5.4.16-23.el7_0.3 will be installed
–> Processing Dependency: libzip.so.2()(64bit) for package: php-common-5.4.16-23.el7_0.3.x86_64
—> Package t1lib.x86_64 0:5.1.2-14.el7 will be installed
—> Package vim-common.x86_64 2:7.4.160-1.el7 will be installed
–> Processing Dependency: vim-filesystem for package: 2:vim-common-7.4.160-1.el7.x86_64
–> Running transaction check
—> Package libX11-common.noarch 0:1.6.0-2.1.el7 will be installed
—> Package libxcb.x86_64 0:1.9-5.el7 will be installed
–> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.9-5.el7.x86_64
—> Package libzip.x86_64 0:0.10.1-8.el7 will be installed
—> Package perl-Carp.noarch 0:1.26-244.el7 will be installed
—> Package perl-Filter.x86_64 0:1.49-3.el7 will be installed
—> Package perl-PathTools.x86_64 0:3.40-5.el7 will be installed
—> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed
–> Processing Dependency: perl(Net::Daemon) >= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch
–> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch
–> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch
–> Processing Dependency: perl(Compress::Zlib) for package: perl-PlRPC-0.2020-14.el7.noarch
—> Package perl-Pod-Simple.noarch 1:3.28-4.el7 will be installed
–> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
–> Processing Dependency: perl(Encode) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
—> Package perl-Pod-Usage.noarch 0:1.63-3.el7 will be installed
–> Processing Dependency: perl(Pod::Text) >= 3.15 for package: perl-Pod-Usage-1.63-3.el7.noarch
–> Processing Dependency: perl-Pod-Perldoc for package: perl-Pod-Usage-1.63-3.el7.noarch
—> Package perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 will be installed
—> Package perl-Socket.x86_64 0:2.010-3.el7 will be installed
—> Package perl-Storable.x86_64 0:2.45-3.el7 will be installed
—> Package perl-Text-ParseWords.noarch 0:3.29-4.el7 will be installed
—> Package perl-Time-Local.noarch 0:1.2300-2.el7 will be installed
—> Package perl-constant.noarch 0:1.27-2.el7 will be installed
—> Package perl-macros.x86_64 4:5.16.3-283.el7 will be installed
—> Package perl-threads.x86_64 0:1.87-4.el7 will be installed
—> Package perl-threads-shared.x86_64 0:1.43-6.el7 will be installed
—> Package vim-filesystem.x86_64 2:7.4.160-1.el7 will be installed
–> Running transaction check
—> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed
—> Package perl-Encode.x86_64 0:2.51-7.el7 will be installed
—> Package perl-IO-Compress.noarch 0:2.061-2.el7 will be installed
–> Processing Dependency: perl(Compress::Raw::Zlib) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
–> Processing Dependency: perl(Compress::Raw::Bzip2) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
—> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
—> Package perl-Pod-Escapes.noarch 1:1.04-283.el7 will be installed
—> Package perl-Pod-Perldoc.noarch 0:3.20-4.el7 will be installed
–> Processing Dependency: perl(parent) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
–> Processing Dependency: perl(HTTP::Tiny) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
—> Package perl-podlators.noarch 0:2.5.1-3.el7 will be installed
–> Running transaction check
—> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
—> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
—> Package perl-HTTP-Tiny.noarch 0:0.033-3.el7 will be installed
—> Package perl-parent.noarch 1:0.225-244.el7 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================================
Package                                                Arch                                  Version                                             Repository                              Size
===============================================================================================================================================================================================
Installing:
httpd                                                  x86_64                                2.4.6-19.el7.centos                                 updates                                2.7 M
mariadb                                                x86_64                                1:5.5.40-2.el7_0                                    updates                                8.9 M
mariadb-server                                         x86_64                                1:5.5.40-2.el7_0                                    updates                                 11 M
php                                                    x86_64                                5.4.16-23.el7_0.3                                   updates                                1.3 M
php-gd                                                 x86_64                                5.4.16-23.el7_0.3                                   updates                                124 k
php-mbstring                                           x86_64                                5.4.16-23.el7_0.3                                   updates                                501 k
php-mysql                                              x86_64                                5.4.16-23.el7_0.3                                   updates                                 97 k
php-pdo                                                x86_64                                5.4.16-23.el7_0.3                                   updates                                 95 k
php-xml                                                x86_64                                5.4.16-23.el7_0.3                                   updates                                122 k
vim-enhanced                                           x86_64                                2:7.4.160-1.el7                                     base                                   1.0 M
Installing for dependencies:
apr                                                    x86_64                                1.4.8-3.el7                                         base                                   103 k
apr-util                                               x86_64                                1.5.2-6.el7                                         base                                    92 k
gpm-libs                                               x86_64                                1.20.7-5.el7                                        base                                    32 k
httpd-tools                                            x86_64                                2.4.6-19.el7.centos                                 updates                                 78 k
libX11                                                 x86_64                                1.6.0-2.1.el7                                       base                                   605 k
libX11-common                                          noarch                                1.6.0-2.1.el7                                       base                                   181 k
libXau                                                 x86_64                                1.0.8-2.1.el7                                       base                                    29 k
libXpm                                                 x86_64                                3.5.10-5.1.el7                                      base                                    52 k
libaio                                                 x86_64                                0.3.109-12.el7                                      base                                    24 k
libjpeg-turbo                                          x86_64                                1.2.90-5.el7                                        base                                   134 k
libpng                                                 x86_64                                2:1.5.13-5.el7                                      base                                   212 k
libxcb                                                 x86_64                                1.9-5.el7                                           base                                   169 k
libxslt                                                x86_64                                1.1.28-5.el7                                        base                                   242 k
libzip                                                 x86_64                                0.10.1-8.el7                                        base                                    48 k
mailcap                                                noarch                                2.1.41-2.el7                                        base                                    31 k
perl                                                   x86_64                                4:5.16.3-283.el7                                    base                                   8.0 M
perl-Carp                                              noarch                                1.26-244.el7                                        base                                    19 k
perl-Compress-Raw-Bzip2                                x86_64                                2.061-3.el7                                         base                                    32 k
perl-Compress-Raw-Zlib                                 x86_64                                1:2.061-4.el7                                       base                                    57 k
perl-DBD-MySQL                                         x86_64                                4.023-5.el7                                         base                                   140 k
perl-DBI                                               x86_64                                1.627-4.el7                                         base                                   802 k
perl-Data-Dumper                                       x86_64                                2.145-3.el7                                         base                                    47 k
perl-Encode                                            x86_64                                2.51-7.el7                                          base                                   1.5 M
perl-Exporter                                          noarch                                5.68-3.el7                                          base                                    28 k
perl-File-Path                                         noarch                                2.09-2.el7                                          base                                    26 k
perl-File-Temp                                         noarch                                0.23.01-3.el7                                       base                                    56 k
perl-Filter                                            x86_64                                1.49-3.el7                                          base                                    76 k
perl-Getopt-Long                                       noarch                                2.40-2.el7                                          base                                    56 k
perl-HTTP-Tiny                                         noarch                                0.033-3.el7                                         base                                    38 k
perl-IO-Compress                                       noarch                                2.061-2.el7                                         base                                   260 k
perl-Net-Daemon                                        noarch                                0.48-5.el7                                          base                                    51 k
perl-PathTools                                         x86_64                                3.40-5.el7                                          base                                    82 k
perl-PlRPC                                             noarch                                0.2020-14.el7                                       base                                    36 k
perl-Pod-Escapes                                       noarch                                1:1.04-283.el7                                      base                                    49 k
perl-Pod-Perldoc                                       noarch                                3.20-4.el7                                          base                                    87 k
perl-Pod-Simple                                        noarch                                1:3.28-4.el7                                        base                                   216 k
perl-Pod-Usage                                         noarch                                1.63-3.el7                                          base                                    27 k
perl-Scalar-List-Utils                                 x86_64                                1.27-248.el7                                        base                                    36 k
perl-Socket                                            x86_64                                2.010-3.el7                                         base                                    49 k
perl-Storable                                          x86_64                                2.45-3.el7                                          base                                    77 k
perl-Text-ParseWords                                   noarch                                3.29-4.el7                                          base                                    14 k
perl-Time-Local                                        noarch                                1.2300-2.el7                                        base                                    24 k
perl-constant                                          noarch                                1.27-2.el7                                          base                                    19 k
perl-libs                                              x86_64                                4:5.16.3-283.el7                                    base                                   686 k
perl-macros                                            x86_64                                4:5.16.3-283.el7                                    base                                    42 k
perl-parent                                            noarch                                1:0.225-244.el7                                     base                                    12 k
perl-podlators                                         noarch                                2.5.1-3.el7                                         base                                   112 k
perl-threads                                           x86_64                                1.87-4.el7                                          base                                    49 k
perl-threads-shared                                    x86_64                                1.43-6.el7                                          base                                    39 k
php-cli                                                x86_64                                5.4.16-23.el7_0.3                                   updates                                2.7 M
php-common                                             x86_64                                5.4.16-23.el7_0.3                                   updates                                561 k
t1lib                                                  x86_64                                5.1.2-14.el7                                        base                                   166 k
vim-common                                             x86_64                                2:7.4.160-1.el7                                     base                                   5.9 M
vim-filesystem                                         x86_64                                2:7.4.160-1.el7                                     base                                   9.6 k
Updating for dependencies:
mariadb-libs                                           x86_64                                1:5.5.40-2.el7_0                                    updates                                753 k

Transaction Summary
===============================================================================================================================================================================================
Install  10 Packages (+54 Dependent packages)
Upgrade              (  1 Dependent package)

Total size: 50 M
Total download size: 50 M
Is this ok [y/d/N]: y

Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/64): apr-util-1.5.2-6.el7.x86_64.rpm                                                                                                                                 |  92 kB  00:00:00
(2/64): gpm-libs-1.20.7-5.el7.x86_64.rpm                                                                                                                                |  32 kB  00:00:00
(3/64): apr-1.4.8-3.el7.x86_64.rpm                                                                                                                                      | 103 kB  00:00:00
(4/64): httpd-tools-2.4.6-19.el7.centos.x86_64.rpm                                                                                                                      |  78 kB  00:00:00
(5/64): libX11-common-1.6.0-2.1.el7.noarch.rpm                                                                                                                          | 181 kB  00:00:00
(6/64): libXau-1.0.8-2.1.el7.x86_64.rpm                                                                                                                                 |  29 kB  00:00:00
(7/64): libXpm-3.5.10-5.1.el7.x86_64.rpm                                                                                                                                |  52 kB  00:00:00
(8/64): libaio-0.3.109-12.el7.x86_64.rpm                                                                                                                                |  24 kB  00:00:00
(9/64): libjpeg-turbo-1.2.90-5.el7.x86_64.rpm                                                                                                                           | 134 kB  00:00:00
(10/64): libX11-1.6.0-2.1.el7.x86_64.rpm                                                                                                                                | 605 kB  00:00:01
(11/64): libpng-1.5.13-5.el7.x86_64.rpm                                                                                                                                 | 212 kB  00:00:00
(12/64): httpd-2.4.6-19.el7.centos.x86_64.rpm                                                                                                                           | 2.7 MB  00:00:02
(13/64): libxslt-1.1.28-5.el7.x86_64.rpm                                                                                                                                | 242 kB  00:00:00
(14/64): libzip-0.10.1-8.el7.x86_64.rpm                                                                                                                                 |  48 kB  00:00:00
(15/64): mailcap-2.1.41-2.el7.noarch.rpm                                                                                                                                |  31 kB  00:00:00
(16/64): libxcb-1.9-5.el7.x86_64.rpm                                                                                                                                    | 169 kB  00:00:03
(17/64): perl-Carp-1.26-244.el7.noarch.rpm                                                                                                                              |  19 kB  00:00:00
(18/64): perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64.rpm                                                                                                                 |  32 kB  00:00:00
(19/64): perl-Compress-Raw-Zlib-2.061-4.el7.x86_64.rpm                                                                                                                  |  57 kB  00:00:00
(20/64): perl-5.16.3-283.el7.x86_64.rpm                                                                                                                                 | 8.0 MB  00:00:03
(21/64): perl-DBD-MySQL-4.023-5.el7.x86_64.rpm                                                                                                                          | 140 kB  00:00:00
(22/64): perl-Data-Dumper-2.145-3.el7.x86_64.rpm                                                                                                                        |  47 kB  00:00:00
(23/64): perl-DBI-1.627-4.el7.x86_64.rpm                                                                                                                                | 802 kB  00:00:00
(24/64): perl-Exporter-5.68-3.el7.noarch.rpm                                                                                                                            |  28 kB  00:00:00
(25/64): perl-File-Path-2.09-2.el7.noarch.rpm                                                                                                                           |  26 kB  00:00:00
(26/64): perl-File-Temp-0.23.01-3.el7.noarch.rpm                                                                                                                        |  56 kB  00:00:00
(27/64): perl-Filter-1.49-3.el7.x86_64.rpm                                                                                                                              |  76 kB  00:00:00
(28/64): perl-Getopt-Long-2.40-2.el7.noarch.rpm                                                                                                                         |  56 kB  00:00:00
(29/64): perl-HTTP-Tiny-0.033-3.el7.noarch.rpm                                                                                                                          |  38 kB  00:00:00
(30/64): perl-IO-Compress-2.061-2.el7.noarch.rpm                                                                                                                        | 260 kB  00:00:00
(31/64): perl-Net-Daemon-0.48-5.el7.noarch.rpm                                                                                                                          |  51 kB  00:00:00
(32/64): perl-PathTools-3.40-5.el7.x86_64.rpm                                                                                                                           |  82 kB  00:00:00
(33/64): perl-Encode-2.51-7.el7.x86_64.rpm                                                                                                                              | 1.5 MB  00:00:04
(34/64): perl-Pod-Escapes-1.04-283.el7.noarch.rpm                                                                                                                       |  49 kB  00:00:00
(35/64): perl-Pod-Perldoc-3.20-4.el7.noarch.rpm                                                                                                                         |  87 kB  00:00:00
(36/64): perl-Pod-Simple-3.28-4.el7.noarch.rpm                                                                                                                          | 216 kB  00:00:00
(37/64): perl-Pod-Usage-1.63-3.el7.noarch.rpm                                                                                                                           |  27 kB  00:00:00
(38/64): perl-Scalar-List-Utils-1.27-248.el7.x86_64.rpm                                                                                                                 |  36 kB  00:00:00
(39/64): perl-Socket-2.010-3.el7.x86_64.rpm                                                                                                                             |  49 kB  00:00:00
(40/64): perl-Storable-2.45-3.el7.x86_64.rpm                                                                                                                            |  77 kB  00:00:00
(41/64): perl-Text-ParseWords-3.29-4.el7.noarch.rpm                                                                                                                     |  14 kB  00:00:00
(42/64): perl-Time-Local-1.2300-2.el7.noarch.rpm                                                                                                                        |  24 kB  00:00:00
(43/64): mariadb-5.5.40-2.el7_0.x86_64.rpm                                                                                                                              | 8.9 MB  00:00:12
(44/64): perl-constant-1.27-2.el7.noarch.rpm                                                                                                                            |  19 kB  00:00:00
(45/64): perl-libs-5.16.3-283.el7.x86_64.rpm                                                                                                                            | 686 kB  00:00:00
(46/64): perl-macros-5.16.3-283.el7.x86_64.rpm                                                                                                                          |  42 kB  00:00:00
(47/64): perl-parent-0.225-244.el7.noarch.rpm                                                                                                                           |  12 kB  00:00:00
(48/64): perl-podlators-2.5.1-3.el7.noarch.rpm                                                                                                                          | 112 kB  00:00:00
(49/64): perl-threads-1.87-4.el7.x86_64.rpm                                                                                                                             |  49 kB  00:00:00
(50/64): perl-threads-shared-1.43-6.el7.x86_64.rpm                                                                                                                      |  39 kB  00:00:00
(51/64): mariadb-server-5.5.40-2.el7_0.x86_64.rpm                                                                                                                       |  11 MB  00:00:14
(52/64): php-5.4.16-23.el7_0.3.x86_64.rpm                                                                                                                               | 1.3 MB  00:00:01
(53/64): php-common-5.4.16-23.el7_0.3.x86_64.rpm                                                                                                                        | 561 kB  00:00:00
(54/64): perl-PlRPC-0.2020-14.el7.noarch.rpm                                                                                                                            |  36 kB  00:00:08
(55/64): php-gd-5.4.16-23.el7_0.3.x86_64.rpm                                                                                                                            | 124 kB  00:00:00
(56/64): php-mbstring-5.4.16-23.el7_0.3.x86_64.rpm                                                                                                                      | 501 kB  00:00:00
(57/64): php-mysql-5.4.16-23.el7_0.3.x86_64.rpm                                                                                                                         |  97 kB  00:00:00
(58/64): php-pdo-5.4.16-23.el7_0.3.x86_64.rpm                                                                                                                           |  95 kB  00:00:00
(59/64): php-xml-5.4.16-23.el7_0.3.x86_64.rpm                                                                                                                           | 122 kB  00:00:00
(60/64): php-cli-5.4.16-23.el7_0.3.x86_64.rpm                                                                                                                           | 2.7 MB  00:00:03
(61/64): t1lib-5.1.2-14.el7.x86_64.rpm                                                                                                                                  | 166 kB  00:00:00
(62/64): vim-enhanced-7.4.160-1.el7.x86_64.rpm                                                                                                                          | 1.0 MB  00:00:01
(63/64): vim-filesystem-7.4.160-1.el7.x86_64.rpm                                                                                                                        | 9.6 kB  00:00:00
(64/64): vim-common-7.4.160-1.el7.x86_64.rpm                                                                                                                            | 5.9 MB  00:00:03
———————————————————————————————————————————————————————————————–
Total                                                                                                                                                          2.1 MB/s |  50 MB  00:00:23
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating   : 1:mariadb-libs-5.5.40-2.el7_0.x86_64                                                                                                                                       1/66
Installing : apr-1.4.8-3.el7.x86_64                                                                                                                                                     2/66
Installing : apr-util-1.5.2-6.el7.x86_64                                                                                                                                                3/66
Installing : httpd-tools-2.4.6-19.el7.centos.x86_64                                                                                                                                     4/66
Installing : 1:perl-parent-0.225-244.el7.noarch                                                                                                                                         5/66
Installing : perl-HTTP-Tiny-0.033-3.el7.noarch                                                                                                                                          6/66
Installing : perl-podlators-2.5.1-3.el7.noarch                                                                                                                                          7/66
Installing : perl-Pod-Perldoc-3.20-4.el7.noarch                                                                                                                                         8/66
Installing : 1:perl-Pod-Escapes-1.04-283.el7.noarch                                                                                                                                     9/66
Installing : perl-Encode-2.51-7.el7.x86_64                                                                                                                                             10/66
Installing : perl-Text-ParseWords-3.29-4.el7.noarch                                                                                                                                    11/66
Installing : perl-Pod-Usage-1.63-3.el7.noarch                                                                                                                                          12/66
Installing : 4:perl-macros-5.16.3-283.el7.x86_64                                                                                                                                       13/66
Installing : perl-Storable-2.45-3.el7.x86_64                                                                                                                                           14/66
Installing : perl-Exporter-5.68-3.el7.noarch                                                                                                                                           15/66
Installing : perl-Socket-2.010-3.el7.x86_64                                                                                                                                            16/66
Installing : perl-Carp-1.26-244.el7.noarch                                                                                                                                             17/66
Installing : perl-PathTools-3.40-5.el7.x86_64                                                                                                                                          18/66
Installing : perl-Scalar-List-Utils-1.27-248.el7.x86_64                                                                                                                                19/66
Installing : 4:perl-libs-5.16.3-283.el7.x86_64                                                                                                                                         20/66
Installing : perl-Time-Local-1.2300-2.el7.noarch                                                                                                                                       21/66
Installing : perl-constant-1.27-2.el7.noarch                                                                                                                                           22/66
Installing : perl-File-Temp-0.23.01-3.el7.noarch                                                                                                                                       23/66
Installing : perl-File-Path-2.09-2.el7.noarch                                                                                                                                          24/66
Installing : perl-threads-shared-1.43-6.el7.x86_64                                                                                                                                     25/66
Installing : perl-threads-1.87-4.el7.x86_64                                                                                                                                            26/66
Installing : perl-Filter-1.49-3.el7.x86_64                                                                                                                                             27/66
Installing : 1:perl-Pod-Simple-3.28-4.el7.noarch                                                                                                                                       28/66
Installing : perl-Getopt-Long-2.40-2.el7.noarch                                                                                                                                        29/66
Installing : 4:perl-5.16.3-283.el7.x86_64                                                                                                                                              30/66
Installing : perl-Data-Dumper-2.145-3.el7.x86_64                                                                                                                                       31/66
Installing : 1:mariadb-5.5.40-2.el7_0.x86_64                                                                                                                                           32/66
Installing : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64                                                                                                                                33/66
Installing : perl-Net-Daemon-0.48-5.el7.noarch                                                                                                                                         34/66
Installing : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64                                                                                                                               35/66
Installing : perl-IO-Compress-2.061-2.el7.noarch                                                                                                                                       36/66
Installing : perl-PlRPC-0.2020-14.el7.noarch                                                                                                                                           37/66
Installing : perl-DBI-1.627-4.el7.x86_64                                                                                                                                               38/66
Installing : perl-DBD-MySQL-4.023-5.el7.x86_64                                                                                                                                         39/66
Installing : libzip-0.10.1-8.el7.x86_64                                                                                                                                                40/66
Installing : php-common-5.4.16-23.el7_0.3.x86_64                                                                                                                                       41/66
Installing : php-pdo-5.4.16-23.el7_0.3.x86_64                                                                                                                                          42/66
Installing : php-cli-5.4.16-23.el7_0.3.x86_64                                                                                                                                          43/66
Installing : libxslt-1.1.28-5.el7.x86_64                                                                                                                                               44/66
Installing : gpm-libs-1.20.7-5.el7.x86_64                                                                                                                                              45/66
Installing : 2:libpng-1.5.13-5.el7.x86_64                                                                                                                                              46/66
Installing : 2:vim-filesystem-7.4.160-1.el7.x86_64                                                                                                                                     47/66
Installing : 2:vim-common-7.4.160-1.el7.x86_64                                                                                                                                         48/66
Installing : libaio-0.3.109-12.el7.x86_64                                                                                                                                              49/66
Installing : libX11-common-1.6.0-2.1.el7.noarch                                                                                                                                        50/66
Installing : mailcap-2.1.41-2.el7.noarch                                                                                                                                               51/66
Installing : httpd-2.4.6-19.el7.centos.x86_64                                                                                                                                          52/66
Installing : libXau-1.0.8-2.1.el7.x86_64                                                                                                                                               53/66
Installing : libxcb-1.9-5.el7.x86_64                                                                                                                                                   54/66
Installing : libX11-1.6.0-2.1.el7.x86_64                                                                                                                                               55/66
Installing : libXpm-3.5.10-5.1.el7.x86_64                                                                                                                                              56/66
Installing : t1lib-5.1.2-14.el7.x86_64                                                                                                                                                 57/66
Installing : libjpeg-turbo-1.2.90-5.el7.x86_64                                                                                                                                         58/66
Installing : php-gd-5.4.16-23.el7_0.3.x86_64                                                                                                                                           59/66
Installing : php-5.4.16-23.el7_0.3.x86_64                                                                                                                                              60/66
Installing : 1:mariadb-server-5.5.40-2.el7_0.x86_64                                                                                                                                    61/66
Installing : 2:vim-enhanced-7.4.160-1.el7.x86_64                                                                                                                                       62/66
Installing : php-xml-5.4.16-23.el7_0.3.x86_64                                                                                                                                          63/66
Installing : php-mysql-5.4.16-23.el7_0.3.x86_64                                                                                                                                        64/66
Installing : php-mbstring-5.4.16-23.el7_0.3.x86_64                                                                                                                                     65/66
Cleanup    : 1:mariadb-libs-5.5.35-3.el7.x86_64                                                                                                                                        66/66
Verifying  : 2:vim-common-7.4.160-1.el7.x86_64                                                                                                                                          1/66
Verifying  : perl-HTTP-Tiny-0.033-3.el7.noarch                                                                                                                                          2/66
Verifying  : 1:mariadb-5.5.40-2.el7_0.x86_64                                                                                                                                            3/66
Verifying  : libjpeg-turbo-1.2.90-5.el7.x86_64                                                                                                                                          4/66
Verifying  : libXau-1.0.8-2.1.el7.x86_64                                                                                                                                                5/66
Verifying  : mailcap-2.1.41-2.el7.noarch                                                                                                                                                6/66
Verifying  : libX11-common-1.6.0-2.1.el7.noarch                                                                                                                                         7/66
Verifying  : perl-threads-shared-1.43-6.el7.x86_64                                                                                                                                      8/66
Verifying  : perl-Storable-2.45-3.el7.x86_64                                                                                                                                            9/66
Verifying  : perl-IO-Compress-2.061-2.el7.noarch                                                                                                                                       10/66
Verifying  : perl-Exporter-5.68-3.el7.noarch                                                                                                                                           11/66
Verifying  : perl-PathTools-3.40-5.el7.x86_64                                                                                                                                          12/66
Verifying  : 1:perl-Pod-Escapes-1.04-283.el7.noarch                                                                                                                                    13/66
Verifying  : php-gd-5.4.16-23.el7_0.3.x86_64                                                                                                                                           14/66
Verifying  : libaio-0.3.109-12.el7.x86_64                                                                                                                                              15/66
Verifying  : libXpm-3.5.10-5.1.el7.x86_64                                                                                                                                              16/66
Verifying  : 2:vim-filesystem-7.4.160-1.el7.x86_64                                                                                                                                     17/66
Verifying  : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64                                                                                                                                18/66
Verifying  : php-mbstring-5.4.16-23.el7_0.3.x86_64                                                                                                                                     19/66
Verifying  : php-common-5.4.16-23.el7_0.3.x86_64                                                                                                                                       20/66
Verifying  : perl-Net-Daemon-0.48-5.el7.noarch                                                                                                                                         21/66
Verifying  : php-pdo-5.4.16-23.el7_0.3.x86_64                                                                                                                                          22/66
Verifying  : apr-1.4.8-3.el7.x86_64                                                                                                                                                    23/66
Verifying  : 2:libpng-1.5.13-5.el7.x86_64                                                                                                                                              24/66
Verifying  : perl-File-Temp-0.23.01-3.el7.noarch                                                                                                                                       25/66
Verifying  : httpd-2.4.6-19.el7.centos.x86_64                                                                                                                                          26/66
Verifying  : t1lib-5.1.2-14.el7.x86_64                                                                                                                                                 27/66
Verifying  : httpd-tools-2.4.6-19.el7.centos.x86_64                                                                                                                                    28/66
Verifying  : php-xml-5.4.16-23.el7_0.3.x86_64                                                                                                                                          29/66
Verifying  : php-mysql-5.4.16-23.el7_0.3.x86_64                                                                                                                                        30/66
Verifying  : php-cli-5.4.16-23.el7_0.3.x86_64                                                                                                                                          31/66
Verifying  : perl-Time-Local-1.2300-2.el7.noarch                                                                                                                                       32/66
Verifying  : perl-DBI-1.627-4.el7.x86_64                                                                                                                                               33/66
Verifying  : perl-Socket-2.010-3.el7.x86_64                                                                                                                                            34/66
Verifying  : 4:perl-macros-5.16.3-283.el7.x86_64                                                                                                                                       35/66
Verifying  : libxcb-1.9-5.el7.x86_64                                                                                                                                                   36/66
Verifying  : 4:perl-5.16.3-283.el7.x86_64                                                                                                                                              37/66
Verifying  : perl-Carp-1.26-244.el7.noarch                                                                                                                                             38/66
Verifying  : gpm-libs-1.20.7-5.el7.x86_64                                                                                                                                              39/66
Verifying  : 2:vim-enhanced-7.4.160-1.el7.x86_64                                                                                                                                       40/66
Verifying  : perl-Data-Dumper-2.145-3.el7.x86_64                                                                                                                                       41/66
Verifying  : perl-podlators-2.5.1-3.el7.noarch                                                                                                                                         42/66
Verifying  : libxslt-1.1.28-5.el7.x86_64                                                                                                                                               43/66
Verifying  : php-5.4.16-23.el7_0.3.x86_64                                                                                                                                              44/66
Verifying  : apr-util-1.5.2-6.el7.x86_64                                                                                                                                               45/66
Verifying  : perl-Scalar-List-Utils-1.27-248.el7.x86_64                                                                                                                                46/66
Verifying  : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64                                                                                                                               47/66
Verifying  : 4:perl-libs-5.16.3-283.el7.x86_64                                                                                                                                         48/66
Verifying  : perl-PlRPC-0.2020-14.el7.noarch                                                                                                                                           49/66
Verifying  : libX11-1.6.0-2.1.el7.x86_64                                                                                                                                               50/66
Verifying  : perl-Pod-Usage-1.63-3.el7.noarch                                                                                                                                          51/66
Verifying  : perl-DBD-MySQL-4.023-5.el7.x86_64                                                                                                                                         52/66
Verifying  : 1:mariadb-libs-5.5.40-2.el7_0.x86_64                                                                                                                                      53/66
Verifying  : perl-Encode-2.51-7.el7.x86_64                                                                                                                                             54/66
Verifying  : libzip-0.10.1-8.el7.x86_64                                                                                                                                                55/66
Verifying  : perl-Getopt-Long-2.40-2.el7.noarch                                                                                                                                        56/66
Verifying  : perl-constant-1.27-2.el7.noarch                                                                                                                                           57/66
Verifying  : 1:mariadb-server-5.5.40-2.el7_0.x86_64                                                                                                                                    58/66
Verifying  : perl-File-Path-2.09-2.el7.noarch                                                                                                                                          59/66
Verifying  : perl-threads-1.87-4.el7.x86_64                                                                                                                                            60/66
Verifying  : 1:perl-Pod-Simple-3.28-4.el7.noarch                                                                                                                                       61/66
Verifying  : perl-Filter-1.49-3.el7.x86_64                                                                                                                                             62/66
Verifying  : perl-Pod-Perldoc-3.20-4.el7.noarch                                                                                                                                        63/66
Verifying  : perl-Text-ParseWords-3.29-4.el7.noarch                                                                                                                                    64/66
Verifying  : 1:perl-parent-0.225-244.el7.noarch                                                                                                                                        65/66
Verifying  : 1:mariadb-libs-5.5.35-3.el7.x86_64                                                                                                                                        66/66

Installed:
httpd.x86_64 0:2.4.6-19.el7.centos      mariadb.x86_64 1:5.5.40-2.el7_0      mariadb-server.x86_64 1:5.5.40-2.el7_0 php.x86_64 0:5.4.16-23.el7_0.3     php-gd.x86_64 0:5.4.16-23.el7_0.3
php-mbstring.x86_64 0:5.4.16-23.el7_0.3 php-mysql.x86_64 0:5.4.16-23.el7_0.3 php-pdo.x86_64 0:5.4.16-23.el7_0.3     php-xml.x86_64 0:5.4.16-23.el7_0.3 vim-enhanced.x86_64 2:7.4.160-1.el7

Dependency Installed:
apr.x86_64 0:1.4.8-3.el7                     apr-util.x86_64 0:1.5.2-6.el7                    gpm-libs.x86_64 0:1.20.7-5.el7                  httpd-tools.x86_64 0:2.4.6-19.el7.centos
libX11.x86_64 0:1.6.0-2.1.el7                libX11-common.noarch 0:1.6.0-2.1.el7             libXau.x86_64 0:1.0.8-2.1.el7                   libXpm.x86_64 0:3.5.10-5.1.el7
libaio.x86_64 0:0.3.109-12.el7               libjpeg-turbo.x86_64 0:1.2.90-5.el7              libpng.x86_64 2:1.5.13-5.el7                    libxcb.x86_64 0:1.9-5.el7
libxslt.x86_64 0:1.1.28-5.el7                libzip.x86_64 0:0.10.1-8.el7                     mailcap.noarch 0:2.1.41-2.el7                   perl.x86_64 4:5.16.3-283.el7
perl-Carp.noarch 0:1.26-244.el7              perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7     perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7     perl-DBD-MySQL.x86_64 0:4.023-5.el7
perl-DBI.x86_64 0:1.627-4.el7                perl-Data-Dumper.x86_64 0:2.145-3.el7            perl-Encode.x86_64 0:2.51-7.el7                 perl-Exporter.noarch 0:5.68-3.el7
perl-File-Path.noarch 0:2.09-2.el7           perl-File-Temp.noarch 0:0.23.01-3.el7            perl-Filter.x86_64 0:1.49-3.el7                 perl-Getopt-Long.noarch 0:2.40-2.el7
perl-HTTP-Tiny.noarch 0:0.033-3.el7          perl-IO-Compress.noarch 0:2.061-2.el7            perl-Net-Daemon.noarch 0:0.48-5.el7             perl-PathTools.x86_64 0:3.40-5.el7
perl-PlRPC.noarch 0:0.2020-14.el7            perl-Pod-Escapes.noarch 1:1.04-283.el7           perl-Pod-Perldoc.noarch 0:3.20-4.el7            perl-Pod-Simple.noarch 1:3.28-4.el7
perl-Pod-Usage.noarch 0:1.63-3.el7           perl-Scalar-List-Utils.x86_64 0:1.27-248.el7     perl-Socket.x86_64 0:2.010-3.el7                perl-Storable.x86_64 0:2.45-3.el7
perl-Text-ParseWords.noarch 0:3.29-4.el7     perl-Time-Local.noarch 0:1.2300-2.el7            perl-constant.noarch 0:1.27-2.el7               perl-libs.x86_64 4:5.16.3-283.el7
perl-macros.x86_64 4:5.16.3-283.el7          perl-parent.noarch 1:0.225-244.el7               perl-podlators.noarch 0:2.5.1-3.el7             perl-threads.x86_64 0:1.87-4.el7
perl-threads-shared.x86_64 0:1.43-6.el7      php-cli.x86_64 0:5.4.16-23.el7_0.3               php-common.x86_64 0:5.4.16-23.el7_0.3           t1lib.x86_64 0:5.1.2-14.el7
vim-common.x86_64 2:7.4.160-1.el7            vim-filesystem.x86_64 2:7.4.160-1.el7

Dependency Updated:
mariadb-libs.x86_64 1:5.5.40-2.el7_0

Complete!

 

[root@testserver7 ~]# setsebool -P httpd_unified 1
[root@testserver7 ~]# firewall-cmd –permanent –zone=public –add-service=http
success
[root@testserver7 ~]# firewall-cmd –permanent –zone=public –add-service=https
success
[root@testserver7 ~]# firewall-cmd –reload
success
[root@testserver7 ~]#

 

[root@testserver7 software]# mysql_secure_installation
/usr/bin/mysql_secure_installation: line 379: find_mysql_client: command not found

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 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)
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!

 

create database owncloud;

CREATE USER ‘owncloud’@’localhost’ IDENTIFIED BY ‘test123’;

GRANT SELECT,UPDATE,DELETE ON owncloud.* TO ‘owncloud’@’localhost’;

GRANT all ON owncloud.* TO ‘owncloud’@’localhost’;
vi  /etc/httpd/conf.d/owncloud.conf

Alias /owncloud /var/www/html/owncloud

Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
allow from all

 

http://192.168.1.11/owncloud/index.php

150119120039511

Image 11

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>