• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install PhpMyAdmin on CentOS 6

1683

How to install PhpMyAdmin on CentOS 6

PhpMyAdmin is open source database management tool. It is a PHP application that manages MySQL or MariaDB database via web browsers and manage the user' s database. The frequently used operations are managing databases, tables, columns, relations, indexes, users, permission, etc. This tutorial explains the installation procedure of PhpMyAdmin on CentOS 6.

Installation procedure

Before starting the installation procedure, install the EPEL Repository which is a community repository of non-standard packages for the RHEL distribution by running the following command.

[root@linuxhelp1]#  yum install epel-release

Next update the required repositories by executing the following command.

[root@linuxhelp1]#  yum update

Before installing the PhpMyAdmin, a LAMP environment must be set up in the target machine. The LAMP server is installed in the system by running the following command to install it and press y to continue.

[root@linuxhelp1]#  yum install httpd mysql-server php  -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.excellmedia.net
 * extras: mirror.ehost.vn
 * updates: centos.excellmedia.net
base                                                     | 3.7 kB     00:00   
extras                                                   | 3.4 kB     00:00    
updates                                                  | 3.4 kB     00:00    
Package php-5.3.3-49.el6.x86_64 already installed and latest version
Resolving Dependencies
-->  Running transaction check
--->  Package httpd.x86_64 0:2.2.15-53.el6.centos will be updated
--->  Package httpd.x86_64 0:2.2.15-59.el6.centos will be an update
-->  Processing Dependency: httpd-tools = 2.2.15-59.el6.centos for package: httpd-2.2.15-59.el6.centos.x86_64
--->  Package mysql-server.x86_64 0:5.1.73-8.el6_8 will be installed
-->  Processing Dependency: mysql = 5.1.73-8.el6_8 for package: mysql-server-5.1.73-8.el6_8.x86_64
.
.
.
.
.
.
  Verifying  : httpd-2.2.15-53.el6.centos.x86_64                                                                                                                                                      10/10
Installed:
  mysql-server.x86_64 0:5.1.73-8.el6_8                                                                                                                                                                      
Dependency Installed:
  mysql.x86_64 0:5.1.73-8.el6_8                                    perl-DBD-MySQL.x86_64 0:4.013-3.el6                                    perl-DBI.x86_64 0:1.609-4.el6                                  
Updated:
  httpd.x86_64 0:2.2.15-59.el6.centos                                                                                                                                                                       
Dependency Updated:
  httpd-tools.x86_64 0:2.2.15-59.el6.centos                                                                mysql-libs.x86_64 0:5.1.73-8.el6_8                                                               
Complete!

Next, execute the following command to install MySQL secure installation with password protection.

[root@linuxhelp1]# mysql_secure_installation
Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.
.
.
.

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

The LAMP package has been installed successfully. Start the Apache and MySQL service by running the following commands.

[root@linuxhelp1]# service httpd start

The Apache and MySQL services are running without any glitches. Now install the PhpMyAdmin package and press y to continue with the installation procedure.

[root@linuxhelp1]#  yum install phpmyadmin -y

Open the browser and enter the target system IP address along with the PhpMyAdmin file to run the application. Now log in to PhpMyAdmin with the required database username and password.login

The PhpMyAdmin is running successfully and now the user can manage the databases.

PhpMyAdmin

The installation is complete. It was an easy installation procedure, Wasn' t it? PhpMyAdmin can be used to quickly create or delete databases and even import and export the databases.

Tags:
jackson
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

How can i install phpmyadmin on my system, it seem's no package available on centos?

A

Please install the EPEL repository before you try to install phpmyadmin, use the below command if the epel repo is not installed



yum install epel-release -y

Q

why phpmyadmin is needed for linuxmint?

A

The PostgreSQL Development Team has announced the latest version PostgreSQL 10. PostgreSQL is an open source object-relational database system. It is one of leading database server used for production servers. PostgreSQL allows us to execute stored procedures in various programming languages, like C/C++, Python, Java, Perl, Ruby and its own PL/pgSQL, which is similar to Oracle&rsquo s PL/SQL. It is so simple to install phpMyAdmin in LinuxMint 18.3 and this tutorial covers the ground on the same process.

Q

What is PhpMyAdmin?

A

PhpMyAdmin is a database management tool. It is a PHP application that manages MySQL or MariaDB database via web browsers and manages the user' s database. The frequently used operations are managing databases, tables, columns, relations, indexes, users, permission, etc.

Q

what are the features of phpmyadmin?

A

Features
• Intuitive web interface
• Support for most MySQL features:
o browse and drop databases, tables, views, fields and indexes
o create, copy, drop, rename and alter databases, tables,

Q

What are all the requiring repositories in phpMyAdmin?

A

The target system is updated with the required repositories. Install the LAMP server in the target system and press y to continue the installation process.

# apt-get install apache2 mysql-server php

Related Tutorials in How to install PhpMyAdmin on CentOS 6

Related Tutorials in How to install PhpMyAdmin on CentOS 6

How To Install AnyDesk on Centos 7
How To Install AnyDesk on Centos 7
Apr 2, 2018
How to install Tiki Wiki CMS Groupware on CentOS 7
How to install Tiki Wiki CMS Groupware on CentOS 7
May 31, 2018
How to install PHP ImageMagick on CentOS 7
How to install PHP ImageMagick on CentOS 7
Nov 4, 2017
How to Upgrade and Downgrade the PHP Versions on CentOS 7.6
How to Upgrade and Downgrade the PHP Versions on CentOS 7.6
Jun 4, 2019
How to install Apache from Source Code on CentOS 7
How to install Apache from Source Code on CentOS 7
Oct 21, 2017
How to enable or disable repositories in CentOS
How to enable or disable repositories in CentOS
Mar 28, 2018
How to install AWStats on CentOS 7
How to install AWStats on CentOS 7
Dec 8, 2017
How to install Apache JMeter in CentOS 7
How to install Apache JMeter in CentOS 7
Mar 24, 2017

Related Forums in How to install PhpMyAdmin on CentOS 6

Related Forums in How to install PhpMyAdmin on CentOS 6

CentOS
connor class=
How To Completely Remove Apache package On CentOS 7.6
May 14, 2019
CentOS
ceriaimmaculate class=
setfacl : command not found
Jan 3, 2018
CentOS
mason class=
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)
Nov 20, 2018
CentOS
landon class=
Command to find SNMP Version
May 28, 2018
CentOS
arjitharon class=
cannot start minio service help
Mar 10, 2018
Apache tomcat
AadrikaAnshu class=
Cannot find ./catalina.sh The file is absent or does not have execute permission This file is needed to run this program
Jun 17, 2019
gitlab
caden class=
Insufficient space in download directory /var/cache/yum/x86_64/6/base/packages
Jul 22, 2019
OpenVAS
frank class=
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
Dec 20, 2018
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Jayce ?
What are the types of table used in IPtables

What are the various types of table used in IPtables and how to use that for my server security?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.