A straight-forward guide in installing LAMP and phpMyAdmin in Linux Fedora 34.
This guide is dedicated for personal use only, but if others find it useful then it is more than better.
- You have access to the Terminal
- You have access to the root from Terminal using the root password.
If you haven't configure your root password yet, follow this link
Open the Fedora Linux Terminal
Enter the root priveleges using the command:
su -
Then you will be prompted for a password, enter your root password to proceed.
Inside the root in Terminal follow this Steps.
dnf update -y
Note: The -y stands for yes, which means it will automatically accept all the updates to be downloaded.
dnf install -y httpd
systemctl start httpd
systemctl enable httpd
dnf install -y mariadb mariadb-server
systemctl start mariadb
systemctl enable mariadb
mysql_secure_installation
Note: Press enter then y, y, y for every [Y/n] questions. You will be ask for password
to setup your MariaDB.
dnf install -y php php-common php-pdo_mysql php-pdo php-gd php-mbstring
systemctl restart httpd
dnf install phpMyAdmin
firewall-cmd --add-port=80/tcp --permanent
firewall-cmd --add-port=443/tcp --permanent
firewall-cmd --reload
If everything goes right, you can now open your browser and navigate to http://localhost/phpmyadmin.
Enter your username and password that you set in the MariaDB installation to login.
How to Install LAMP | YOUTUBE https://www.youtube.com/watch?v=-9smf5Mm2Sw
Install phpMyAdmin | OSRADAR BBlogpost https://www.osradar.com/install-phpmyadmin-fedora-33/