DB server + PHPMyAdmin ดรัสวิน วงศ์ปรเมษฐ์ สาขาวิชาเทคโนโลยีสารสนเทศ คณะ วิทยาศาสตร์ มรภ. บร. 19/10/56
DB server Use MySQL server 5.5 Service name : mysql55-mysqld Packet : mysql55-mysql-server el5.x86_64
Repository Recomment “Epel” and “RPMForge” Extra Packages for Enterprise Linux (or EPEL) is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL).
Repository EPEL Repo # rpm -Uvh 4/epel-release-5-4.noarch.rpm Remi Dependency on RHEL/CentOS 5 # rpm -Uvh -release-5.rpm
Repository psu mirror: # cd /etc/yum.repos.d # mv CentOS-Base.repo CentOS-Base.repo.bak # wget -o CentOS-Base.repo ftp.psu.ac.th/pub/centosrepo/CentOS5- psu.repo
Install phpMyAdmin Step 1: Install Required Repositories for PhpMyAdmin (see before slide)
Install phpMyAdmin Step 2: Install PhpMyAdmin # yum --enablerepo=remi install phpmyadmin Note : If your are using PHP 5.4 on RHEL/CentOS systems, then you need to run the below command to install it. # yum --enablerepo=remi,remi-test install phpmyadmin
Install phpMyAdmin Step 3: Configuring PhpMyAdmin for Apache In Apache you don’t need to setup any Virtual Host for phpMyAdmin, because you will get working phpMyAdmin automatically. The main configuration file is located under /etc/httpd/conf.d/phpMyAdmin.conf.
Q & A