TYPO3 설치 · 6 min read · Nov 06, 2025
Ubuntu 20.04에서 Let's Encrypt SSL로 TYPO3 CMS 설치하는 방법

TYPO3는 PHP로 작성된 무료 오픈 소스 콘텐츠 관리 시스템입니다. 이는 오픈 소스 코드와 신뢰성 및 진정한 확장성을 결합한 기업급 CMS입니다. 웹 서버에서 실행되며 Windows, Linux, macOS 등 많은 운영 체제를 지원합니다. 간단하고 반응형이며 모바일 준비가 되어 있고 안전한 CMS로, 코드를 작성하지 않고도 쉽게 사용자 정의하고 확장할 수 있습니다. 웹사이트를 빠르게 구축하는 데 매우 인기 있고 훌륭한 선택입니다.
이 튜토리얼에서는 Ubuntu 20.04에서 Apache 웹 서버와 Let’s Encrypt SSL을 사용하여 TYPO3 CMS를 설치하는 방법을 보여줍니다.
필수 조건
- Ubuntu 20.04에서 실행되는 서버.
- 서버 IP를 가리키는 유효한 도메인 이름.
- 서버에 구성된 루트 비밀번호.
시작하기
먼저, 시스템 패키지를 최신 버전으로 업데이트하는 것이 좋습니다. 다음 명령어를 실행하여 모든 패키지를 업데이트할 수 있습니다:
apt-get update -y모든 패키지가 최신 상태가 되면 다음 단계로 진행할 수 있습니다.
LAMP 서버 설치
다음으로, 서버에 Apache 웹 서버, MariaDB, PHP 및 기타 PHP 확장 프로그램을 설치해야 합니다. 다음 명령어로 모두 설치할 수 있습니다:
apt-get install apache2 mariadb-server php libapache2-mod-php php-common php-gmp php-curl php-intl php-mbstring php-xmlrpc php-mysql php-gd php-xml php-cli php-zip curl git gnupg2 -y모든 패키지를 설치한 후, php.ini 파일을 편집하고 몇 가지 권장 설정을 변경합니다:
nano /etc/php/7.4/apache2/php.ini다음 줄을 변경합니다:
memory_limit = 256M
upload_max_filesize = 100M
post_max_size = 100M
max_execution_time = 360
max_input_vars = 1500
date.timezone = Asia/Kolkata파일을 저장하고 닫은 후, 변경 사항을 적용하기 위해 Apache 서비스를 재시작합니다:
systemctl restart apache2TYPO3용 데이터베이스 생성
다음으로, TYPO3용 데이터베이스와 사용자를 생성해야 합니다. 먼저, 다음 명령어로 MariaDB 셸에 로그인합니다:
mysql로그인 후, 다음 명령어로 데이터베이스와 사용자를 생성합니다:
MariaDB [(none)]> CREATE DATABASE typo3db;
MariaDB [(none)]> CREATE USER ''@'localhost' IDENTIFIED BY 'password';다음으로, 다음 명령어로 typo3db에 모든 권한을 부여합니다:
MariaDB [(none)]> GRANT ALL ON typo3db.* TO 'typo3'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;다음으로, 권한을 플러시하고 다음 명령어로 MariaDB에서 나옵니다:
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> EXIT;이 시점에서 MariaDB 데이터베이스가 구성되었습니다.
TYPO3 CMS 설치
먼저, 공식 웹사이트에서 TYPO3의 최신 버전을 다운로드해야 합니다. curl 명령어를 사용하여 다운로드할 수 있습니다:
curl -L -o typo3_src.tgz https://get.typo3.org/10.4.9다운로드가 완료되면, 다음 명령어로 다운로드한 파일을 추출합니다:
tar -xvzf typo3_src.tgz다음으로, 추출된 디렉토리를 Apache 웹 루트 디렉토리로 이동합니다:
mv typo3_src-10.4.9 /var/www/html/typo3다음으로, 다음 명령어로 적절한 권한을 부여합니다:
chown -R www-data:www-data /var/www/html/typo3
chmod -R 775 /var/www/html/typo3작업이 완료되면 다음 단계로 진행할 수 있습니다.
TYPO3용 Apache 구성
다음으로, TYPO3 CMS를 호스팅하기 위해 Apache 가상 호스트 구성 파일을 생성합니다. 다음 명령어로 생성할 수 있습니다:
nano /etc/apache2/sites-available/typo3.conf다음 줄을 추가합니다:
ServerAdmin [email protected]
DocumentRoot /var/www/html/typo3
ServerName typo3.example.com
Options +FollowSymlinks
AllowOverride All
Require all granted
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
파일을 저장하고 닫은 후, 다음 명령어로 가상 호스트 구성 파일과 재작성 모듈을 활성화합니다:
a2ensite typo3.conf
a2enmod rewrite다음으로, 변경 사항을 적용하기 위해 Apache 서비스를 재시작합니다:
systemctl restart apache2이 시점에서 Apache 웹 서버가 TYPO3를 제공하도록 구성되었습니다. 이제 다음 단계로 진행할 수 있습니다.
TYPO3 CMS 접근
이제 웹 브라우저를 열고 URL http://typo3.example.com을 사용하여 TYPO3에 접근합니다. 다음 페이지가 표시되어야 합니다:

서버에서 TYPO3를 새로 설치하는 경우, TYPO3 웹 루트 디렉토리 내에 FIRST_INSTALL 파일을 생성해야 합니다. 다음 명령어로 생성할 수 있습니다:
touch /var/www/html/typo3/FIRST_INSTALL다음으로, 웹 페이지를 새로 고칩니다. 다음 페이지가 표시되어야 합니다:

문제가 발견되지 않았습니다. 설치를 계속 진행합니다.를 클릭하면 다음 페이지가 표시됩니다:

데이터베이스 사용자 이름, 비밀번호, 호스트를 제공하고 계속 버튼을 클릭합니다. 다음 페이지가 표시되어야 합니다:

TYPO3 데이터베이스 이름을 선택하고 계속 버튼을 클릭합니다. 다음 페이지가 표시되어야 합니다:

다음으로, 관리자 사용자 이름, 비밀번호, 사이트 이름을 제공하고 계속 버튼을 클릭합니다. TYPO3 로그인 페이지로 리디렉션됩니다:

관리자 사용자 이름, 비밀번호를 제공하고 로그인 버튼을 클릭합니다. 다음 페이지에서 TYPO3 대시보드를 볼 수 있습니다:

Let’s Encrypt로 TYPO3 보안
웹사이트를 Let’s Encrypt 무료 SSL로 보호하는 것이 좋습니다. 먼저, SSL을 설치하고 관리하기 위해 Certbot 클라이언트를 설치합니다. 다음 명령어로 설치할 수 있습니다:
apt-get install python3-certbot-apache -y설치가 완료되면, 다음 명령어를 실행하여 Let’s Encrypt SSL로 웹사이트를 보호합니다:
certbot --apache -d typo3.example.com이메일을 제공하고 서비스 약관에 동의하라는 메시지가 표시됩니다:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Enter email address (used for urgent renewal and security notices) (Enter 'c' to
cancel): [email protected]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must
agree in order to register with the ACME server at
https://acme-v02.api.letsencrypt.org/directory
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(A)gree/(C)ancel: A
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Would you be willing to share your email address with the Electronic Frontier
Foundation, a founding partner of the Let's Encrypt project and the non-profit
organization that develops Certbot? We'd like to send you email about our work
encrypting the web, EFF news, campaigns, and ways to support digital freedom.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: Y
Plugins selected: Authenticator apache, Installer apache
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for typo3.example.com
Enabled Apache rewrite module
Waiting for verification...
Cleaning up challenges
Created an SSL vhost at /etc/apache2/sites-available/typo3-le-ssl.conf
Enabled Apache socache_shmcb module
Enabled Apache ssl module
Deploying Certificate to VirtualHost /etc/apache2/sites-available/typo3-le-ssl.conf
Enabling available site: /etc/apache2/sites-available/typo3-le-ssl.conf다음으로, HTTP 트래픽을 HTTPS로 리디렉션할지 여부를 선택합니다:
Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: No redirect - Make no further changes to the webserver configuration.
2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for
new sites, or if you're confident your site works on HTTPS. You can undo this
change by editing your web server's configuration.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 22를 입력하고 Enter를 눌러 웹사이트에 Let’s Encrypt SSL을 설치합니다:
Enabled Apache rewrite module
Redirecting vhost in /etc/apache2/sites-enabled/typo3.conf to ssl vhost in /etc/apache2/sites-available/typo3-le-ssl.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Congratulations! You have successfully enabled https://typo3.example.com
You should test your configuration at:
https://www.ssllabs.com/ssltest/analyze.html?d=typo3.example.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/typo3.example.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/typo3.example.com/privkey.pem
Your cert will expire on 2020-10-23. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the "certonly" option. To non-interactively renew *all* of
your certificates, run "certbot renew"
- If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le이제 URL https://typo3.example.com을 사용하여 TYPO3 CMS에 안전하게 접근할 수 있습니다.
결론
축하합니다! Ubuntu 20.04에서 TYPO3 CMS를 성공적으로 설치하고 Let’s Encrypt SSL로 보안했습니다. 이제 웹 브라우저를 통해 웹사이트와 블로그를 쉽게 만들 수 있습니다. 질문이 있으면 언제든지 물어보세요.
새 게시물을 받은 편지함에서 받기
스팸은 없습니다. 언제든지 구독 해지 가능합니다.