Install APM
wget htp\://ko.wordpress.org/wordpress-3.5-ko_KR.tar.gz
tar xvfz wordpress-3.5-ko_KR.tar.gz -C /var/www/html
## Make db for WordPress ##
# mysql -u root -p
> CREATE DATABASE wordpressdb;
> CREATE USER wordpressuser@localhost;
> SET PASSWORD FOR wordpressuser@localhost=PASSWORD("wordpresspw");
> GRANT ALL PRIVILEGES ON wordpressdb.* TO wordpressuser@localhost IDENTIFIED BY 'wordpresspw';
> FLUSH PRIVILEGES;
> exit
# cd /var/www/html/wordpress
# cp wp-config-samle.php wp-config.php
# chmod 777 wp-config.php
## Give a Permission to apache to access /var/www ##
# groupadd www-users
# usermod -g www-users apache
# chown -R apache:www-users /var/www
# chmod 2775 /var/www
# chmod g+s /var/www
## Install Plugin to make wordpress site not to allow user without login
Plugin : Authenticator by Frank Bultge
댓글 없음:
댓글 쓰기