ubuntu安装phpmyadmin注意事项

来源:互联网 发布:北欧游戏 知乎 编辑:程序博客网 时间:2024/06/09 19:26

ubuntu安装phpmyadmin网上很多教程,不过有一步是没有注意的,打开"http://localhost/"显示如下

It works!

This is the default welcome page used to test the correct operation of the Apache2 server after installation on Ubuntu systems. It is based on the equivalent page on Debian, from which the Ubuntu Apache packaging is derived. If you can read this page, it means that the Apache HTTP server installed at this site is working properly. You should replace this file (located at /var/www/html/index.html) before continuing to operate your HTTP server.

If you are a normal user of this web site and don't know what this page is about, this probably means that the site is currently unavailable due to maintenance. If the problem persists, please contact the site's administrator.








根据提示应该将网页或者链接放到/var/www/html目录下,查看“/etc/apache2/sites-enabled/000-default.conf”中的DocumentRoot,也的确是"/var/www/html",而不是像网上很多帖子说的/var/www目录下(老版本的确放在/var/www目录下)

$ cd /var/www/html

$ sudo ln -s /usr/share/phpmyadmin phpmyadmin

注:当然也可以通过改000-default.conf来设置。

此时打开“http://localhost/phpmyadmin”就可以看到登陆页面了

0 0
原创粉丝点击