「WordPress」の版間の差分

提供: Lisa Wiki
移動: 案内検索
(Apacheへの設定)
行11: 行11:
 
:wordpressと言う名称のデータベースでユーザーID:wordpress パスワード:wordpressで作成
 
:wordpressと言う名称のデータベースでユーザーID:wordpress パスワード:wordpressで作成
 
===Apacheへの設定===
 
===Apacheへの設定===
 +
<pre>
 +
# 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>
 +
</pre>
 +
 
===質問に答えて===
 
===質問に答えて===

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

WordPress

入手先

データベースの作成

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

Apacheへの設定

# 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>

質問に答えて