1.执行命令apt-get install phpmyadmin
2.出现提示选择Apache2,之后提示选择YES
phpmyadmin默认安装到/usr/share/phpmyadmin目录
默认网站目录/var/www,执行命令sudo ln -s /usr/share/phpmyadmin /var/www
3.进入指定目录
cd /usr/share/phpMyAdmin
cp config.sample.inc.php config.inc.php
1.执行命令apt-get install phpmyadmin
2.出现提示选择Apache2,之后提示选择YES
phpmyadmin默认安装到/usr/share/phpmyadmin目录
默认网站目录/var/www,执行命令sudo ln -s /usr/share/phpmyadmin /var/www
3.进入指定目录
cd /usr/share/phpMyAdmin
cp config.sample.inc.php config.inc.php