「WordPress」の版間の差分

提供: Lisa Wiki
移動: 案内検索
(Apacheへの設定)
(質問に答えて)
行30: 行30:
 
</pre>
 
</pre>
  
===質問に答えて===
+
===各種設定===

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

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への設定

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>

各種設定