Duqe's Warehouse
AWS Lightsail에서 워드프레스 운영 본문
워드프레스 구축
- [Lightsail] Service Selection
- Create an instance
- Instance location: Seoul
- Select a platform: Linux
- Select a blueprint: Apps+OS WordPress
- Choose your instance plan: $3.5
- Identify your instance: Lightsail-Warehouse
- Create an instance
- [Lightsail] Find initial password
- Connect using SSH in created Instance
- cat bitnami_application_password
- Connect using SSH in created Instance
- [Browser] Access WordPress
- https://[public IP Address]/wp-admin
- Confirm Login screen
- [Lightsail] DNS zone & Static IP
- Domains & DNS: [Create DNS zone]
- Domain source: Use a domain from another registrar
- Domain name: duqelee.com
- Select a Region: Seoul
- Attach to an instance: Select created Instance
- Identify your static IP: Lightsail-Warehouse-IP
- Domains & DNS: [Create DNS zone]
- [Domain Hosting company] Name servers setting
- Domains & DNS: select created DNS zone
- ns-574.awsdns-07.net
- ns-337.awsdns-42.com
- ns-1217.awsdns-24.org
- ns-1573.awsdns-04.co.uk
- Domains & DNS: select created DNS zone
- [Lightsail] Add DNS record
- Domains & DNS: select created DNS zone
- [DNS records] Add A record
- Record name: @
- Resolves: static IP
- [DNS records] Add CNAME record
- Record name: www
- Resolves: redirecting domain
- Domains & DNS: select created DNS zone
- Reference
비트나미 툴을 이용한 SSL 인증
생성된 인스턴스에 콘솔 실행
===========================================
bitnami@ip-172-26-15-22:~$ sudo /opt/bitnami/bncert-tool
---------------------------------------------------------------------
Welcome to the Bitnami HTTPS Configuration tool.
---------------------------------------------------------------------
Domains
Please provide a valid space-separated list of domains for which you wish to configure your web server.
Domain list []: duqelee.com www.duqelee.com
---------------------------------------------------------------------
Enable/disable redirections
Please select the redirections you wish to enable or disable on your Bitnami installation.
Enable HTTP to HTTPS redirection [Y/n]: y
Enable non-www to www redirection [Y/n]: y
Enable www to non-www redirection [y/N]: n
---------------------------------------------------------------------
Changes to perform
The following changes will be performed to your Bitnami installation:
1. Stop web server
2. Configure web server to use a free Let's Encrypt certificate for the domains: duqelee.com www.duqelee.com
3. Configure a cron job to automatically renew the certificate each month
4. Configure web server name to: www.duqelee.com
5. Enable HTTP to HTTPS redirection (example: redirect http://duqelee.com to https://duqelee.com)
6. Enable non-www to www redirection (example: redirect duqelee.com to www.duqelee.com)
7. Start web server once all changes have been performed
Do you agree to these changes? [Y/n]: y
---------------------------------------------------------------------
Create a free HTTPS certificate with Let's Encrypt
Please provide a valid e-mail address for which to associate your Let's Encrypt certificate.
Domain list: duqelee.com www.duqelee.com
Server name: www.duqelee.com
E-mail address []: xxxxxx@xxx.xxx
The Let's Encrypt Subscriber Agreement can be found at:
https://letsencrypt.org/documents/LE-SA-v1.3-September-21-2022.pdf
Do you agree to the Let's Encrypt Subscriber Agreement? [Y/n]: y
---------------------------------------------------------------------
Performing changes to your installation
The Bitnami HTTPS Configuration Tool will perform any necessary actions to your Bitnami installation. This may take some time, please be patient.
---------------------------------------------------------------------
Success
The Bitnami HTTPS Configuration Tool succeeded in modifying your installation.
The configuration report is shown below.
Backup files:
--------- Skipped for security. ---------
Find more details in the log file:
/tmp/bncert-202308070556.log
If you find any issues, please check Bitnami Support forums at:
https://github.com/bitnami/vms
Press [Enter] to continue:
bitnami@ip-172-26-15-22:~$
===========================================
Reference
'정보기술' 카테고리의 다른 글
구글 사이트 도구 및 블로거 사용을 위한 초기 설정 (1) | 2024.08.25 |
---|---|
개발환경 설정 (0) | 2024.08.16 |
워드프레스 구텐베르크 편집기 단축키 (5) | 2024.08.12 |
ZeroSSL 서비스를 이용한 SSL 무료 보안 인증 (0) | 2024.08.12 |
카카오 비즈니스 서비스 이용을 위한 환경설정 (0) | 2024.08.07 |