How to install PHPMyadmin on centos 7 or RHEL 7
- Category : Linux Helpline (Easy Guide)
- Posted on : Mar 20, 2019
- Views : 2,275
- By : Yakov R.
1. Introduction
There are many ways to access and manage databases. There are dedicated database applications that allow you to manipulate databases as well as manage access to them.
Another method is to directly connecting to the database server and running SQL statements using command-line utilities, although this is for highly advanced database administrators or someone who’s really brave. Using terminal consoles to manage databases isn’t recommended for new users or those just starting with managing database servers.
The third and most popular method is to manage database servers using web browsers. This is true especially for MySQL or MariaDB databases. Using web browser to access and manage databases is the fastest and easiest way yet. With phpMyAdmin tool, one can perform almost any database functions from the browser.
This article is going to show you how to install phpMyAdmin and use your favourite web browsers to manage MySQL or MariaDb databases in CentOS 7 or RHEL 7.
2. Requirement
If you have a fresh server, you should configure lamp stack. Please read my article from here to know how to configure a LAMP stack. The following are the software requirement for this installation.
- Operating System : Centos 7
- Web server : Apache 2.4
- PHP version : 5.4
- Databae : MariaDB 5.5
3. Install phpMyAdmin
By default, centos 7 repository does not contains phpmyadmin package. we need to enable EPEL repository.The EPEL repo (Extra Packages for Enterprise Linux) contains many additional packages, including the phpMyAdmin package we are looking for.
# yum install epel-release
Now we have configured EPEL repo in the server. Then just install PhpMyAdmin package:
# yum install phpmyadmin
After installation open /etc/httpd/conf.d/phpMyAdmin.conf file ( Apache config file for phpmyadmin ) and edit as follows.
# vi /etc/httpd/conf.d/phpMyAdmin.conf #Apache 2.4 # Require ip 127.0.0.1 # Require ip ::1 Require all granted
Save and close out. Then restart Apache service .
# systemctl restart httpd.service
Now our PhpMyAdmin is operational.Go and access phpMyAdmin by typing server hostname or IP address followed by phpmyadmin.
(eg. http://server_IP/phpmyadmin)
Categories
- cPanel Question 47
- cPanel Software Management 29
- cPanel Tutorials 13
- Development 29
- Domain 13
- General 19
- Linux Helpline (Easy Guide) 156
- Marketing 47
- MySQL Question 13
- News 2
- PHP Configuration 14
- SEO 4
- SEO 42
- Server Administration 84
- SSL Installation 54
- Tips and Tricks 24
- VPS 3
- Web Hosting 44
- Website Security 22
- WHM questions 13
- WordPress 148
Subscribe Now
10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!Archive Calendar
Sat | Sun | Mon | Tue | Wed | Thu | Fri |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Recent Articles
-
Posted on : Sep 17
-
Posted on : Sep 10
-
Posted on : Aug 04
-
Posted on : Apr 01
Tags
- ts
- myisam
- vpn
- sql
- process
- kill
- tweak
- server load
- attack
- ddos mitigation
- Knowledge
- layer 7
- ddos
- webmail
- DMARC
- Development
- nginx
- seo vpn
- Hosting Security
- wireguard
- innodb
- exim
- smtp relay
- smtp
- VPS Hosting
- cpulimit
- Plesk
- Comparison
- cpu
- encryption
- WHM
- xampp
- sysstat
- optimize
- cheap vpn
- php-fpm
- mariadb
- apache
- Small Business
- Error
- Networking
- VPS
- SSD Hosting
- Link Building
- centos
- DNS
- optimization
- ubuntu