2016年08月13日
~その2~ Wordpressインストール
やっとインストールに移れるとのことで・・・
プログラムの勉強にお世話になっているサイト「ドットインストール」でインストール方法を確認。
「wp-config-sample.php」をコピーして「wp-config.php」へ改名。編集する。
さっきの情報をここに入れていく。
データベース名、ユーザ名、パスワードをさっきのを入力する。
認証用のユニークキーをhttps://api.wordpress.org/secret-key/1.1/salt/で生成する。
その画面を下記のところと置き換える。
ログインすると、サイト名やID、パスワード等を初回だけ聞かれるので設定して、
Wordpressの管理画面へいきます。
やっとできた
プログラムの勉強にお世話になっているサイト「ドットインストール」でインストール方法を確認。
データベース作成
create database [データベース名];
grand all on [データベース名].* to [ユーザ名]@localhost by '[パスワード]';
grand all on [データベース名].* to [ユーザ名]@localhost by '[パスワード]';
DBを関連付け
「wp-config-sample.php」をコピーして「wp-config.php」へ改名。編集する。
さっきの情報をここに入れていく。
データベース名、ユーザ名、パスワードをさっきのを入力する。
// ** MySQL 設定 - この情報はホスティング先から入手してください。 ** //
/** WordPress のためのデータベース名 */
define('DB_NAME', 'database_name_here');
/** MySQL データベースのユーザー名 */
define('DB_USER', 'username_here');
/** MySQL データベースのパスワード */
define('DB_PASSWORD', 'password_here');
/** WordPress のためのデータベース名 */
define('DB_NAME', 'database_name_here');
/** MySQL データベースのユーザー名 */
define('DB_USER', 'username_here');
/** MySQL データベースのパスワード */
define('DB_PASSWORD', 'password_here');
認証用のユニークキーをhttps://api.wordpress.org/secret-key/1.1/salt/で生成する。
その画面を下記のところと置き換える。
define('AUTH_KEY', 'put your unique phrase here');
define('SECURE_AUTH_KEY', 'put your unique phrase here');
define('LOGGED_IN_KEY', 'put your unique phrase here');
define('NONCE_KEY', 'put your unique phrase here');
define('AUTH_SALT', 'put your unique phrase here');
define('SECURE_AUTH_SALT', 'put your unique phrase here');
define('LOGGED_IN_SALT', 'put your unique phrase here');
define('NONCE_SALT', 'put your unique phrase here');
define('SECURE_AUTH_KEY', 'put your unique phrase here');
define('LOGGED_IN_KEY', 'put your unique phrase here');
define('NONCE_KEY', 'put your unique phrase here');
define('AUTH_SALT', 'put your unique phrase here');
define('SECURE_AUTH_SALT', 'put your unique phrase here');
define('LOGGED_IN_SALT', 'put your unique phrase here');
define('NONCE_SALT', 'put your unique phrase here');
次回の設定へ
ログインすると、サイト名やID、パスワード等を初回だけ聞かれるので設定して、
Wordpressの管理画面へいきます。
やっとできた
【このカテゴリーの最新記事】
-
no image
-
no image
この記事へのコメント
コメントを書く