Ubuntu

ubuntu wordpress install

Naan 2016. 3. 18. 18:39
반응형

wordpress 설치


- 설치 준비

# add-apt-repository ppa:ondrej/php5-5.6

# apt-get update

# apt-get upgrade

# apt-get install php5 php-gd

# apt-get install mysql-server


- mysql 설정

CREATE DATABASE wordpress;

CREATE USER 'wordpressuser'@'localhost' IDENTIFIED BY 'PASSWORD';

GRANT ALL PRIVILEGES ON `wordpress`.* TO 'wordpressuser'@'localhost';

FLUSH PRIVILEGES;


- 설치파일 다운 및 설정

# wget https://ko.wordpress.org/wordpress-4.4.2-ko_KR.tar.gz

# tar -xvf wordpress-4.4.2-ko_KR.tar.gz

# cd wordpress/

# mv * /var/www/html/

# chown -R www-data:www-data /var/www/html/










위와 같이 에러가 뜬다면

# vi /var/www/html/wp-config.php

화면에 출력되어 있는파일들 입력

# chown -R www-data:www-data /var/www/html/wp-config.php

저장하고 다시 하면 된다.








test 페이지는

http://localhost/


admin 페이지는

http://localhost/wp-admin


반응형

'Ubuntu' 카테고리의 다른 글

ubuntu 16.04 root 로그인 하기  (0) 2017.07.13
우분투 무료 백신 clamav  (0) 2016.04.05
humhub 설치  (0) 2016.03.17
eXo Platform 설치  (0) 2016.03.16
oxwall 설치  (0) 2016.03.15