CentOS7にyumでPhpMyAdminをインストールする

インストール

[root@localhost etc]# yum install --enablerepo=remi,remi-php71 phpMyAdmin
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp-srv2.kddilabs.jp
 * epel: ftp.jaist.ac.jp
 * extras: ftp-srv2.kddilabs.jp
 * remi: ftp.riken.jp
 * remi-php71: ftp.riken.jp
 * remi-safe: ftp.riken.jp
 * updates: ftp-srv2.kddilabs.jp
Resolving Dependencies
--> Running transaction check
---> Package phpMyAdmin.noarch 0:4.8.5-1.el7.remi will be updated
---> Package phpMyAdmin.noarch 0:4.9.0.1-1.el7.remi will be an update
--> Processing Dependency: php-phpmyadmin-sql-parser >= 4.3.2 for package: phpMyAdmin-4.9.0.1-1.el7.remi.noarch
--> Running transaction check
---> Package php-phpmyadmin-sql-parser.noarch 0:4.3.1-1.el7.remi will be updated
---> Package php-phpmyadmin-sql-parser.noarch 0:4.3.2-1.el7.remi will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
 Package                                Arch                Version                          Repository         Size
=====================================================================================================================
Updating:
 phpMyAdmin                             noarch              4.9.0.1-1.el7.remi               remi              5.3 M
Updating for dependencies:
 php-phpmyadmin-sql-parser              noarch              4.3.2-1.el7.remi                 remi              166 k

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

Total download size: 5.4 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/2): php-phpmyadmin-sql-parser-4.3.2-1.el7.remi.noarch.rpm                                  | 166 kB  00:00:00
(2/2): phpMyAdmin-4.9.0.1-1.el7.remi.noarch.rpm                                               | 5.3 MB  00:00:00
---------------------------------------------------------------------------------------------------------------------
Total                                                                                6.7 MB/s | 5.4 MB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : php-phpmyadmin-sql-parser-4.3.2-1.el7.remi.noarch                                                 1/4
  Updating   : phpMyAdmin-4.9.0.1-1.el7.remi.noarch                                                              2/4
  Cleanup    : phpMyAdmin-4.8.5-1.el7.remi.noarch                                                                3/4
  Cleanup    : php-phpmyadmin-sql-parser-4.3.1-1.el7.remi.noarch                                                 4/4
  Verifying  : phpMyAdmin-4.9.0.1-1.el7.remi.noarch                                                              1/4
  Verifying  : php-phpmyadmin-sql-parser-4.3.2-1.el7.remi.noarch                                                 2/4
  Verifying  : php-phpmyadmin-sql-parser-4.3.1-1.el7.remi.noarch                                                 3/4
  Verifying  : phpMyAdmin-4.8.5-1.el7.remi.noarch                                                                4/4

Updated:
  phpMyAdmin.noarch 0:4.9.0.1-1.el7.remi

Dependency Updated:
  php-phpmyadmin-sql-parser.noarch 0:4.3.2-1.el7.remi

Complete!
[root@localhost etc]#
[root@localhost etc]# cd /etc/httpd/conf.d
[root@localhost conf.d]# cp phpMyAdmin.conf phpMyAdmin.conf.org
[root@localhost conf.d]# vi phpMyAdmin.conf
[root@localhost conf.d]# vi phpMyAdmin.conf
[root@localhost conf.d]# systemctl restart httpd
[root@localhost conf.d]# vi phpMyAdmin.conf
[root@localhost conf.d]# vi phpMyAdmin.conf
[root@localhost conf.d]# systemctl restart httpd
[root@localhost conf.d]# yum install mod_ssl
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp-srv2.kddilabs.jp
 * epel: ftp.jaist.ac.jp
 * extras: ftp-srv2.kddilabs.jp
 * remi-safe: ftp.riken.jp
 * updates: ftp-srv2.kddilabs.jp
Resolving Dependencies
--> Running transaction check
---> Package mod_ssl.x86_64 1:2.4.6-89.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
 Package                 Arch                   Version                                Repository               Size
=====================================================================================================================
Installing:
 mod_ssl                 x86_64                 1:2.4.6-89.el7.centos                  updates                 112 k

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

Total download size: 112 k
Installed size: 224 k
Is this ok [y/d/N]: y
Downloading packages:
mod_ssl-2.4.6-89.el7.centos.x86_64.rpm                                                        | 112 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:mod_ssl-2.4.6-89.el7.centos.x86_64                                                              1/1
  Verifying  : 1:mod_ssl-2.4.6-89.el7.centos.x86_64                                                              1/1

Installed:
  mod_ssl.x86_64 1:2.4.6-89.el7.centos

Complete!
[root@localhost conf.d]#
[root@localhost conf.d]# systemctl restart httpd
[root@localhost conf.d]#

 

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です