[英]/phpmyadmin not found on ubuntu server
I am attempting to install both RStudio and phpmyadmin on an ubuntu server from AWS. 我正在尝试从AWS的ubuntu服务器上安装RStudio和phpmyadmin。
I have spun up a AWS server using RStudio AMI which works successfully ( http://www.louisaslett.com/RStudio_AMI/ ) 我已经使用RStudio AMI调试了一个AWS服务器,该服务器可以成功运行( http://www.louisaslett.com/RStudio_AMI/ )
I am now attempting to install phpmyadmin on the server. 我现在正在尝试在服务器上安装phpmyadmin。
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. 这已经正确安装了phpmyadmin。 However, whenever I attempt to access the following link: 但是,每当我尝试访问以下链接时:
http://52.56.56.80/phpmyadmin I get the following error: http://52.56.56.80/phpmyadmin我收到以下错误:
/phpmyadmin not found 找不到/ phpmyadmin
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. 我在其他问题中建议在/etc/apache2/apache2.conf中包含以下行:“ include /etc/phpmyadmin/apache.conf”,但这不能解决问题。
What do I need to do to be able to access phpmyadmin on my browser? 我需要做些什么才能能够在浏览器上访问phpmyadmin?
sudo gedit /etc/apache2/apache2.conf
添加“包括/etc/phpmyadmin/apache.conf”
sudo /etc/init.d/apache2 restart
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.