Posted in

Instalar PhpMyAdmin en Linux Amazon

Enable the Extra Packages for Enterprise Linux (EPEL) repository from the Fedora project on your instance

sudo yum-config-manager --enable epel

Install the phpMyAdmin package.

sudo yum install -y phpMyAdmin

Configure your phpMyAdmin installation to allow access from your local machine. By default, phpMyAdmin only allows access from the server that it is running on, which is not very useful because Amazon Linux does not include a web browser.

a)Find your local IP address by visiting a service such as whatismyip.com.

b)Edit the /etc/httpd/conf.d/phpMyAdmin.conf file and replace the server IP address (127.0.0.1) with your local IP address with the following command, replacing your_ip_address with the local IP address that you identified in the previous step.

sudo sed -i -e 's/127.0.0.1/your_ip_address/g' /etc/httpd/conf.d/phpMyAdmin.conf

Restart the Apache web server to pick up the new configuration.

sudo service httpd restart

Restart the MySQL server to pick up the new configuration.

sudo service mysqld restart

Ya podremos acceder al phpmyadmin: www.nuestrodominio.com/phpMyAdmin

Deixa un comentari

L'adreça electrònica no es publicarà. Els camps necessaris estan marcats amb *


The reCAPTCHA verification period has expired. Please reload the page.