「WordPress」の版間の差分
提供: Lisa Wiki
(→Apacheへの設定) |
(→Apacheへの設定) |
||
行11: | 行11: | ||
:wordpressと言う名称のデータベースでユーザーID:wordpress パスワード:wordpressで作成 | :wordpressと言う名称のデータベースでユーザーID:wordpress パスワード:wordpressで作成 | ||
===Apacheへの設定=== | ===Apacheへの設定=== | ||
+ | nano /etc/apache2/conf-enabled/wordpress.conf | ||
<pre> | <pre> | ||
# Uncomment this to add an alias. | # Uncomment this to add an alias. |
2015年5月21日 (木) 00:03時点における版
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>