简体   繁体   中英

/phpmyadmin not found on ubuntu server

I am attempting to install both RStudio and phpmyadmin on an ubuntu server from AWS.

I have spun up a AWS server using RStudio AMI which works successfully ( http://www.louisaslett.com/RStudio_AMI/ )

I am now attempting to install phpmyadmin on the server.

I have followed the normal steps to do so (installing each individually):

sudo apt-get install apache2 libapache2-mod-php5 php5 mysql-server php5-mysql

mysql_secure_installation

apt-get -y install phpmyadmin

This has installed phpmyadmin correctly. However, whenever I attempt to access the following link:

http://52.56.56.80/phpmyadmin I get the following error:

/phpmyadmin not found

I have included the line: "Include /etc/phpmyadmin/apache.conf" in /etc/apache2/apache2.conf as advised in other issues, however this does not fix the issue.

What do I need to do to be able to access phpmyadmin on my browser?

sudo gedit /etc/apache2/apache2.conf 

添加“包括/etc/phpmyadmin/apache.conf”

sudo /etc/init.d/apache2 restart

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM