홈페이지운영/워드프레스

워드프레스 설치 wordpress

icanhear 2013. 10. 27. 11:58

 

리눅스 기준

 

워드프레스 다운

http://ko.wordpress.org/

 

 

1. 압축 파일 풀기

파일을 서버로 옮긴다   ( 보통 www, public_html 디렉토리 안에 )

웹호스팅은 압축파일을 옮긴후 푸는 것이 시간을 단축시킬수 있다     

( 리눅스에서 압축 풀기 http://ocw.kr/27    )

 

2.  파일 내용 변경

wp-config-sample.php       파일질라 같은 경우  파일이름에 마우스 우 클릭하면 편집 기능이 있다 

This is an example of a default wp-config-sample.php. The values here are examples to show you what to do. You need to make changes on your own web site not here. If you make changes here by using the edit button, they will not work and you will be showing your password details to the world.


// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'DB이름');

/** MySQL database username */
define('DB_USER', ' DB유저아이디');

/** MySQL database password */
define('DB_PASSWORD', ' DB비밀번호');

/** MySQL hostname */
define('DB_HOST', 'localhost');

 

wp-config-sample.php 파일을 wp-config.php 로 이름을 바꿉니다.  -    ftp에서 바로 변경

 

3. 설치

웹 브라우저에서 wp-admin/install.php 에 접속하여 워드프레스 설치 스크립트를 실행합니다.

 http://My_Domain.kr/wordpress/wp-admin/install.php

 

 

my_domain.kr/wordpress    를    my_domain.kr/  로 변경

http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

 

설정 - 일반 
    사이트 주소(URL) 박스 부분을  my_domain.kr/wordpress  에서   my_domain.kr/ 로 변경함

 index.php  와 .htaccess  를  루트 디렉토리로 복사  (  주의 :  이동이 아니라 복사 )