WordPress インストール

前提

OS
CentOS6.3
IPアドレス
192.168.0.1
WordPress
3.5 (最新)

WordPressの実行に必要なパッケージのインストール

 yum install httpd
 yum install mysql mysql-server
 yum install gd
 yum install php php-mysql php-mbstring php-pear php-gd

Apache/MySQLの起動

 chkconfig httpd on
 chkconfig mysqld on
 service httpd start
 service mysqld start

WordPress用データベースの作成

 mysql -u root
 SET PASSWORD FOR root@localhost=password('mypass1');
 CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8;
 GRANT ALL PRIVILEGES ON wordpress.* to wordpress_user@localhost IDENTIFIED BY  'mypass1';

WordPressの設置

 wget http://ja.wordpress.org/latest-ja.tar.gz
 tar zxvf latest-ja.tar.gz
 sudo mv wordpress /var/www/html/
 sudo chown -R apache:apache /var/www/html/wordpress/

wp-configファイルの設置と設定

 cp wp-config-sampel.php wp-config.php
 vi wp-config.php

WordPresの起動

参考


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2017-07-22 (土) 21:07:50