「WordPress」の版間の差分

提供: Lisa Wiki
移動: 案内検索
(入手先)
(WordPress)
行1: 行1:
==WordPress==
+
==WordPressの設置==
 
===入手先===
 
===入手先===
 
:https://ja.wordpress.org/
 
:https://ja.wordpress.org/

2015年5月21日 (木) 22:12時点における版

WordPressの設置

入手先

https://ja.wordpress.org/
ターミナルソフトでログインし
sudo su
wget https://ja.wordpress.org/latest-ja.tar.gz

データベースの作成

データベースを作成
mysql -u root -p
> grant all privileges on wordpress.* to wordpress@localhost identified by ‘wordpress';
> create database wordpress;
> exit
wordpressと言う名称のデータベースでユーザーID:wordpress パスワード:wordpressで作成

Apacheへの設定

nano /etc/apache2/conf-enabled/wordpress.conf
# Uncomment this to add an alias.
# This does not work properly with virtual hosts..
Alias /wp /mnt/HDD/wordpress

<Directory /mnt/HDD/wordpress/>
        Options +FollowSymLinks
        AllowOverride All
        <IfVersion >= 2.3>
                Require all granted
        </IfVersion>
        <IfVersion < 2.3>
                order allow,deny
                allow from all
        </IfVersion>
</Directory>

各種設定