広告:ページ内にてアフィリエイト広告を利用しています。
KUSANAGI

KUSANAGIのプロビジョニング

KUSANAGIのプロビジョニング

ドメインの設定、ディレクトリの設定は「kusanagi provisionコマンド」で行います。

  • プロファイル名:hogehoge
  • 言語:ja
  • ホスト名:hoge.com
  • メールアドレス:info@hoge.com
  • データベース名:wp_db
  • DBユーザー名:db_user
[root@kusanagi71 ~]# kusanagi provision hogehoge
ターゲットディレクトリは /home/kusanagi/hogehoge に変更されました。
WordPress のインストールで使用する言語を選択してください。
1 : en_US
2 : ja
q : 終了
どれを使用しますか?:  2
ja を選択しました
Webサイトで使用するホスト名(FQDN)を入力してください。 例) kusanagi.tokyo
hoge.com
Webサイトで使用するホスト名(FQDN)をもう一度入力してください。
hoge.com
Let's Encryptを使用される場合、Let's Encrypt の使用規約に同意される必要があります。
使用規約に同意される場合、あなたのメールアドレスを入力してください。同意されない場合、Enterキーを二回押してください。
使用規約は次のURLより確認できます: https://letsencrypt.org/repository/
info@hoge.com
メールアドレスを再入力してください。
info@hoge.com
データベース名を入力してください。
wp_db
データベース名を再度入力してください。
wp_db
wp_db のユーザー名を入力してください。
db_user
wp_db のユーザー名を再度入力してください。
db_user
データベースユーザ'db_user'のパスワードを入力してください。[a-zA-Z0-9.!#%+_-]の文字列が使用できます。最小は8文字以上です。
再度 'db_user' のパスワードを入力してください。
--2016-11-18 22:07:48--  https://ja.wordpress.org/latest-ja.tar.gz
ja.wordpress.org (ja.wordpress.org) をDNSに問いあわせています... 66.155.40.249, 66.155.40.250
ja.wordpress.org (ja.wordpress.org)|66.155.40.249|:443 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 8402893 (8.0M) [application/octet-stream]
`wordpress.tar.gz' に保存中
100%[======================================>] 8,402,893    313KB/s 時間 37s
2016-11-18 22:08:26 (222 KB/s) - `wordpress.tar.gz' へ保存完了 [8402893/8402893]
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for hoge.com
Using the webroot path /home/kusanagi/hoge/DocumentRoot for all unmatched domains.
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. hoge.com (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for hoge.com
IMPORTANT NOTES:
- If you lose your account credentials, you can recover through
e-mails sent to info@hoge.com.
- The following errors were reported by the server:
Domain: hoge.com
Type:   connection
Detail: DNS problem: NXDOMAIN looking up A for
hoge.com
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
- Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
Cannot get Let\'s Encrypt SSL Certificate files.
hoge のプロビジョニングは完了しました。hoge.com にアクセスし、WordPressをインストールしてください!
完了しました。

プロビジョニング完了後は通常通りWordpressのインストールを進めます。

KUSANAGIの初期設定仮想マシンへログイン VNCコンソールもしくはSSHクライアントからログインします。 システム、Yumアップデート 以下コマン...