Created
August 15, 2016 08:04
-
-
Save shengyou/5bc164ca55dc2e49b09f6e6f4dabe52a to your computer and use it in GitHub Desktop.
安裝 MySQL 時不要彈出互動視窗問密碼
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo "mysql-server mysql-server/root_password password strangehat" | sudo debconf-set-selections | |
echo "mysql-server mysql-server/root_password_again password strangehat" | sudo debconf-set-selections |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
參考這篇文章: