Ubuntu 14.04 LTS apt-get mysql无密码安装

前端之家收集整理的这篇文章主要介绍了Ubuntu 14.04 LTS apt-get mysql无密码安装前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

@R_301_198@无密码安装,就是跳过输入密码的弹出窗口,只需3步。


第一步,新建一个 @R_301_198@-passwd 文件内容如下:


debconf @R_301_198@-server/root_password password root

debconf @R_301_198@-server/root_password_again password root



第二步,使其文件生效:


debconf-set-selections @R_301_198@-passwd


第三步,安装 @R_301_198@,加 -y 参数跳过:


apt-get install @R_301_198@-server-y



参考文章http://www.2cto.com/database/201206/137862.html

猜你在找的Ubuntu相关文章