ec2亚马逊,无法读取/etc/httpd/conf.d/phpMyAdmin.conf:没有这样的文件或目录 [英] ec2 amazon, can't read /etc/httpd/conf.d/phpMyAdmin.conf: No such file or directory
问题描述
我正在Amazon上运行ec2实例,我在磁带 sudo sed -i -e's/127.0.0.1/your_ip_address/g'/etc/时遵循了官方Amazon Doc所述的确切命令行.httpd/conf.d/phpMyAdmin.conf
它给了我这个错误无法读取/etc/httpd/conf.d/phpMyAdmin.conf:没有这样的文件或目录
而且我无法连接到phpmyadmin我当然输入了自己的ID地址.当我录制 sudo yum list磁带时安装了httpd24 php70 mysql56-server php70-mysqlnd
我可以看到已安装 mysql56-server.x86_64
.这是我创建的第二个实例,并给了ma相同的错误.
I'm running ec2 Instance on amazon, I followed the exact command line as mentioned on official Amazon Doc when I tape sudo sed -i -e 's/127.0.0.1/your_ip_address/g' /etc/httpd/conf.d/phpMyAdmin.conf
it gives me this error can't read /etc/httpd/conf.d/phpMyAdmin.conf: No such file or directory
and I can't connect to phpmyadmin
I put my own id address of course.
When I tape sudo yum list installed httpd24 php70 mysql56-server php70-mysqlnd
I can see that mysql56-server.x86_64
is installed.
It's the second instance that I have create and gives ma the same error.
推荐答案
您已安装phpMyAdmin吗?
Have you installed phpMyAdmin?
sudo yum-config-manager --enable epel
sudo yum install -y phpMyAdmin
假设您正在使用本指南- http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html
Assuming you are using this guide - http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html
sudo ls -lh /etc/httpd/conf.d/
这篇关于ec2亚马逊,无法读取/etc/httpd/conf.d/phpMyAdmin.conf:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!