워드프레스 설치

Requirements

Current project requirements.

  • WordPress 설치전에 DB 스키마(DB) 및 유저가 준비되어 있어야 합니다.

1. DB 설정 ( Mariadb )

  1. 데이터베이스 생성 :
    1. phpmyadmin 기준 화면에 보이는 새로운(new) 를 클릭 -> 새 데이터베이스 이름 지정-> 만들기 순으로 새로운 데이터베이스를 생성
    !https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e3464a9d-4623-48b7-ab28-3009d51ef615/Untitled.png
  2. 유저 생성 :
    1. phpmyadmin 아이콘을 클릭하여 메인화면 -> 사용자 계정-> 사용자 추가
    !https://s3-us-west-2.amazonaws.com/secure.notion-static.com/b42673b8-05ff-4132-96c8-a6eb8e286c58/Untitled.png
  3. !https://s3-us-west-2.amazonaws.com/secure.notion-static.com/b4009219-4474-49fb-93ab-2f0480264445/Untitled.png
  4. 생성한 계정에 권한 부여 :
    1. 데이터베이스 → 사용자 계정 → 권한 수정 → 모든 권한 부여

2. 워드프레스 설치

  1. 워드프레스 사이트 ( https://ko.wordpress.org ) :
    1. 워드프레스 다운로드 : wget https://wordpress.org/latest.tar.gz
  2. 워드프레스 설치 :
    1. /var/www/html 디렉토리 밑에 압축 해제 ( tar )
    2. wordpress 디렉토리 권한 설정 ( apache 또는 nginx )
    3. 설치된 wordpress 위치 참고하여 apache vhost 설정