LoginSignup
3
4

More than 5 years have passed since last update.

さくらのレンタルサーバー(ライトプラン)にWordPressをセットアップ

Posted at

作業記録です。
MySqlへのデータ移行も可能なので、
以前から契約している、さくらのレンタルサーバー(ライトプラン)に、
まずはセットアップしてみることにしました。

http://dogwood.skr.jp/wordpress/sqlite-integration-ja/
を参考にさせていただきました。

ダウンロード

https://ja.wordpress.org/download/ から
wordpress-4.9.5-ja.zip をダウンロード。

https://wordpress.org/plugins/sqlite-integration/#installation から
SQLite Integration をダウンロード。
※「This plugin hasn’t been tested with the latest 3 major releases of WordPress.」とのことでしたが、物は試しと気にせず作業を続けます。

アプリ作成

ダウンロードしたファイルをそれぞれ解凍します。
sqlite-integrationを
wordpress\wp-content\pluginsにコピーします。

sql-integration/db.phpを
wordpress/wordpress/wp-content/にコピーします。

wordpress/wp-config-sample.phpを
wp-config.php にリネームします。

https://api.wordpress.org/secret-key/1.1/salt
にアクセスして認証用ユニークキーを取得して
wp-config.php
の該当箇所を差し替え。

ftpでレンタルサーバにアップロード。
※できればセキュアな方法がいいでしょう。

レンタルサーバHOME/wordpress/wp-admin/install.php
にアクセス。

WPインストール画面が表示されるので、必要事項を入力してインストール。

ログイン画面でログイン。

404エラーが表示されたので、
ファイルマネージャ -> 表示アドレスへの操作 -> アクセス設定からindexファイルを追加。
(index.php)

以上でセットアップ終了です。

3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4