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

How to Install phpMyAdmin on Oracle Linux 8.6

  • 00:33 cat /etc/os-release
  • 01:11 wget https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.tar.gz
  • 01:20 ls
  • 01:27 tar xvf phpMyAdmin-latest-all-languages.tar.gz
  • 01:44 mv phpMyAdmin-5.2.0-all-languages phpmyadmin
  • 02:11 mv phpmyadmin /var/www/
  • 02:26 cd /var/www
  • 02:43 chmod -R 775 phpmyadmin
  • 02:56 chown -R apache:apache phpmyadmin
  • 03:20 vim /etc/httpd/conf.d/phpmyadmin.conf
  • 05:24 mysql -u root -p
  • 05:35 create database phpmyadmin;
  • 05:56 use phpmyadmin;
  • 06:05 create user 'user1'@'localhost'identified by '123456';
  • 06:30 grant all privileges on phpmyadmin.* TO'user1'@localhost;
  • 06:58 flush privileges;
  • 07:17 systemctl restart httpd
7038

To install phpMyAdmin on Oracle Linux 8.6

Introduction:

phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. Through this software, you can create, alter, drop, delete, import and export MySQL database tables.

Requirements:

LAMP Stack

Installation Procedures:

Step 1: Check the OS Version by using the below command

[root@linuxhelp linuxhelp]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="8.6"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"

Step 2: Download phpmyadmin using wget

[root@linuxhelp linuxhelp]# wget https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.tar.gz
--2022-05-27 03:22:25--  https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.tar.gz
Resolving www.phpmyadmin.net (www.phpmyadmin.net)... 89.187.162.134, 89.187.162.136, 89.187.162.143, ...
Connecting to www.phpmyadmin.net (www.phpmyadmin.net)|89.187.162.134|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://files.phpmyadmin.net/phpMyAdmin/5.2.0/phpMyAdmin-5.2.0-all-languages.tar.gz [following]
--2022-05-27 03:22:27--  https://files.phpmyadmin.net/phpMyAdmin/5.2.0/phpMyAdmin-5.2.0-all-

Saving to: ‘phpMyAdmin-latest-all-languages.tar.gz’

phpMyAdmin-latest-all- 100%[===========================>]  11.90M  30.6MB/s    in 0.4s    

2022-05-27 03:22:28 (30.6 MB/s) - ‘phpMyAdmin-latest-all-languages.tar.gz’ saved [12474799/12474799]

Step 3: List the files by using the below command

[root@linuxhelp linuxhelp]# ls
Desktop    Downloads  phpMyAdmin-latest-all-languages.tar.gz  Public     Videos
Documents  Music      Pictures                                Templates

Step 4: Unzip using the below tar command

[root@linuxhelp linuxhelp]# tar xvf phpMyAdmin-latest-all-languages.tar.gz 

phpMyAdmin-5.2.0-all-languages/
phpMyAdmin-5.2.0-all-languages/vendor/williamdes/mariadb-mysql-kbs/src/
phpMyAdmin-5.2.0-all-languages/vendor/williamdes/mariadb-mysql-kbs/src/KBDocumentation.php
phpMyAdmin-5.2.0-all-languages/vendor/williamdes/mariadb-mysql-kbs/src/KBEntry.php
phpMyAdmin-5.2.0-all-languages/vendor/williamdes/mariadb-mysql-kbs/src/KBException.php
phpMyAdmin-5.2.0-all-languages/vendor/williamdes/mariadb-mysql-kbs/src/Search.php
phpMyAdmin-5.2.0-all-languages/vendor/williamdes/mariadb-mysql-kbs/src/SlimData.php
phpMyAdmin-5.2.0-all-languages/yarn.lock

Step 5: List Files by using the below command

[root@linuxhelp linuxhelp]# ls
Desktop    Downloads  phpMyAdmin-5.2.0-all-languages          Pictures  Templates
Documents  Music      phpMyAdmin-latest-all-languages.tar.gz  Public    Videos

Step 6: Rename the directory by using the below command

[root@linuxhelp linuxhelp]# mv phpMyAdmin-5.2.0-all-languages phpmyadmin

Step 7: Move the directory to this location by using the below command

[root@linuxhelp linuxhelp]# mv phpmyadmin /var/www/

Step 8: Go to the location where phpmyadmin directory is moved by using the below command

[root@linuxhelp linuxhelp]# cd /var/www

Step 9: Grant Permission using chmod

[root@linuxhelp www]# chmod -R 775 phpmyadmin

Step 10: Set Ownership using chown

[root@linuxhelp www]# chown -R apache:apache phpmyadmin

Step 11: Create a Configuration file and insert virtual host by using the below command

[root@linuxhelp linuxhelp]# vim /etc/httpd/conf.d/phpmyadmin.conf
<virtualhost *:80>
servername phpmyadmin
serveralias www.phpmyadmin
Documentroot /var/www/phpmyadmin/
</virtualhost>

Step 12: Insert Host Entry to access phpmyadmin by using the below command

[root@linuxhelp linuxhelp]# vim /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.6.127  phpmyadmin

Step 13: Create Database and User in MySQL by using the below command

[root@linuxhelp www]# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 17

Server version: 10.3.32-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> create database phpmyadmin;
Query OK, 1 row affected (0.019 sec)

MariaDB [(none)]> use phpmyadmin;
Database changed
MariaDB [phpmyadmin]> create user 'user1'@'localhost'identified by '123456';
Query OK, 0 rows affected (0.033 sec)

MariaDB [phpmyadmin]> grant all privileges on phpmyadmin.* TO'user1'@localhost;
Query OK, 0 rows affected (0.008 sec)

MariaDB [phpmyadmin]> flush privileges;
Query OK, 0 rows affected (0.013 sec)

MariaDB 
[phpmyadmin]> exit
Bye

Step 14: Restart the apache service by using the below command

[root@linuxhelp www]# systemctl restart httpd

Step 15: Enter the User name and Password as shown in the below image snap1

Step 16: This is the Dashboard of phpmyadmin snap 2

With this the Installation of phpmyadmin on Oracle Linux 8.6 has come to an end.

Tags:
jackson
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

What is an index in phpMyAdmin?

A

An index is a data structure that allows for rapid access to a few rows in a table, based on a description of the columns of the table that are indexed.

Q

What is the default phpMyAdmin?

A

The default user for the phpMyAdmin application is "root" and the password is the same that you set during the installation

Q

Which port does phpMyAdmin use?

A

ource port: 8888. Destination: localhost:80.

Q

What is phpMyAdmin used for?

A

phpMyAdmin is one of the most popular applications for MySQL database management. It is a free tool written in PHP. Through this software, you can create, alter, drop, delete, import, and export MySQL database tables.

Q

What is the difference between PHP and phpMyAdmin?

A

MySQL is the database management system or a database server. phpMyAdmin is a web application written primarily in PHP. It's used for managing MySQL databases.

Related Tutorials in How to Install phpMyAdmin on Oracle Linux 8.6

Related Tutorials in How to Install phpMyAdmin on Oracle Linux 8.6

How to install Xrdp Server (Remote Desktop) on Oracle Linux 8.5
How to install Xrdp Server (Remote Desktop) on Oracle Linux 8.5
Oct 17, 2022
How to install and update OpenSSL on Debian 11.3
How to install and update OpenSSL on Debian 11.3
Oct 21, 2022
How to Install and Configure Mega in Linux
How to Install and Configure Mega in Linux
Jul 19, 2016
How to use Aureport command on Linux
How to use Aureport command on Linux
Nov 28, 2017
How to install Development tools on Linux
How to install Development tools on Linux
Jun 12, 2018
How to Install mod_ssl and SSL certificate on Oracle Linux
How to Install mod_ssl and SSL certificate on Oracle Linux
Dec 30, 2021
How to install Nextcloud on Ubuntu 22.04 version
How to install Nextcloud on Ubuntu 22.04 version
Jun 23, 2023
How to install ClipGrab in Linux
How to install ClipGrab in Linux
Jul 16, 2016

Related Forums in How to Install phpMyAdmin on Oracle Linux 8.6

Related Forums in How to Install phpMyAdmin on Oracle Linux 8.6

Linux
jayce class=
shasum command not found
May 5, 2017
Linux
stephan class=
How to list all samba users
Jan 12, 2018
pv command
muhammad class=
pvcreate command not found error
May 9, 2017
Linux
henry class=
Starting NFS daemon: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
Apr 25, 2017
ifconfig command
jackbrookes class=
what is the location of the ifconfig program on your machine?
Jan 4, 2018
Linux
baseer class=
single command to apply setfacl for multiple user at a time
Jan 23, 2018
Linux
beulah class=
What does mean by 0 0 value in fstab file
Jan 2, 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

Related News in How to Install phpMyAdmin on Oracle Linux 8.6

Related News in How to Install phpMyAdmin on Oracle Linux 8.6

Anbox, the Android-to-Linux tool the developers have been waiting for
Anbox, the Android-to-Linux tool the developers have been waiting for
Apr 17, 2017
Linus Torvalds stops signing Linux kernel RC tarballs
Linus Torvalds stops signing Linux kernel RC tarballs
May 17, 2017
Capsule8 Launches Linux-Based Container Security Platform
Capsule8 Launches Linux-Based Container Security Platform
Feb 14, 2017
Symantec updates Management console product
Symantec updates Management console product
Nov 22, 2017
Latest Linux driver release feature seven AMD Vega
Latest Linux driver release feature seven AMD Vega
Mar 23, 2017
A Newer and a Faster Window Manager for Tina (Linux Mint 19.2)
A Newer and a Faster Window Manager for Tina (Linux Mint 19.2)
Apr 9, 2019
Microsoft makes its Azure App service now available on Linux Systems
Microsoft makes its Azure App service now available on Linux Systems
Sep 7, 2017
Docker friendly Alpine Linux gets hardened Node.js
Docker friendly Alpine Linux gets hardened Node.js
Apr 19, 2017
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 Owen ?
How to add SSH key to my Gitlab account

I need to add the SSH key in my gitlab account. How to do so ????

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.