2015-03-21から1日間の記事一覧
自動インストールなどでMySQLのrootパスワード入力を求められないために シェル作成 説明上、root_password パスワードは「root」にしてある。適宜変更して使う。 $ vi mysql-install.sh mysql-install.shの編集 #!/usr/bin/env bash echo "mysql-server-5.5…
Apacheでmod_rewriteやSSLなどモジュール有効無効を切り替えたいときにa2enmodを使う。 例 sudo a2enmod rewrite sudo a2enmod ssl 参考 http://askubuntu.com/questions/48362/how-to-enable-mod-rewrite-in-apache