Blog >> Whitepapers >> Wordpress.
새로운 워드프레스를 추가하고 Seed 파일과 Db 로 설정
- 서비스 할 호스트 추가
- SSL 인증서 설치
- 시드 파일 복사
- wp-config.php 편집
- 차일드 테마 functions.php 편집
- 시드 디비 입력
- 시드 디비 업데이트
# 먼저 서비스할 호스트를 추가
# 인증서를 설치할수도 혹은 별도로 설정할 수 도 있음.
~]# mkhost.sh
# 접속 가능여부 확인 후
# mkhost.sh 에서 건너뛰었다면 인증서 설치
~]# certbot certonly --apache --cert-name [도메인].kr -d [도메인].kr -d www.[도메인].kr
# 인증서를 수동으로 설치 했다면 - 2번 과정을 진행 했다면
# services.d/[도메인].kr-nossl.conf 수정
# services.d/[도메인].kr-ssl.conf 생성
# apachectl graceful 로 아파치 리로드
# 시드 파일 복사
~]$ cp -rf /home/phobe/seed/engic/themes/* /host/[도메인].kr/piblic_html/wp-content/themes/
~]$ cp -rf /home/phobe/seed/engic/plugins/* /host/[도메인].kr/piblic_html/wp-content/plugins/
~]$ cp -f /home/phobe/seed/engic/languages/themes/* /host/[도메인].kr/piblic_html/wp-content/languages/themes/
~]$ cp -f /home/phobe/seed/engic/languages/plugins/* /host/[도메인].kr/piblic_html/wp-content/languages/plugins/
~]$ cp -f /home/phobe/seed/*.php /host/[도메인].kr/piblic_html/wp-content/
# 시드 디비 업데이트
# 가상 호스트 워드프레스 설치 루트에서 작업 --dry-run 은 시뮬레이션
public_html]$ wp search-replace '[기존 도메인].kr' '[도메인].kr' --dry-run- 포스트 태그:
- install
- shell script
- 설정
- 포스트 위치:
- Whitepapers
- Wordpress
<< 이전 페이지



