TYPO3 설치 · 6 min read · Sep 22, 2025
Ubuntu 22.04에 TYPO3 CMS 설치하는 방법

TYPO3는 무료이며 오픈 소스인 기업급 콘텐츠 관리 시스템입니다. PHP로 작성되었으며 오픈 소스 코드와 신뢰성 및 확장성을 결합합니다. 플랫폼 간 호환이 가능하며 Windows, Linux, macOS 등 모든 주요 운영 체제에 설치할 수 있습니다. 초보 사용자에게 적합하게 설계되어 코드 작성 없이도 쉽게 사용자 정의 및 확장이 가능합니다. 간단하고 반응형이며 모바일 준비가 되어 있어 웹사이트를 신속하게 구축하는 데 훌륭한 선택입니다.
이 튜토리얼에서는 Ubuntu 22.04에서 Let’s Encrypt SSL과 함께 TYPO3 CMS를 설치하는 방법을 보여줍니다.
필수 조건
- Ubuntu 22.04를 실행하는 서버.
- 서버 IP에 연결된 유효한 도메인 이름.
- 서버에 구성된 루트 비밀번호.
시작하기
먼저 시스템 패키지를 최신 버전으로 업데이트하는 것이 좋습니다. 다음 명령어를 실행하여 모든 패키지를 업데이트할 수 있습니다:
apt update -y
apt upgrade -y모든 패키지가 최신 상태로 업데이트되면 다음 단계로 진행할 수 있습니다.
Apache, PHP 및 MariaDB 서버 설치
다음으로, 서버에 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/8.1/apache2/php.ini다음 줄을 변경합니다:
memory_limit = 256M
upload_max_filesize = 100M
post_max_size = 100M
max_execution_time = 360
max_input_vars = 1500
date.timezone = UTC
파일을 저장하고 닫은 후, 변경 사항을 적용하기 위해 Apache 서비스를 재시작합니다:
systemctl restart apache2TYPO3용 데이터베이스 생성
다음으로, TYPO3용 데이터베이스와 사용자를 생성해야 합니다. 먼저 다음 명령어로 MariaDB 셸에 로그인합니다:
mysql로그인 후, 다음 명령어로 데이터베이스와 사용자를 생성합니다:
MariaDB [(none)]> CREATE DATABASE typo3db;다음으로, 다음 명령어로 typo3db에 모든 권한을 부여합니다:
MariaDB [(none)]> GRANT ALL ON typo3db.* TO 'typo3user'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;다음으로, 권한을 플러시하고 다음 명령어로 MariaDB에서 나갑니다:
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> EXIT;이 시점에서 MariaDB 데이터베이스가 구성되었습니다. 이제 다음 단계로 진행할 수 있습니다.
TYPO3 CMS 설치
먼저 TYPO3 공식 웹사이트를 방문하여 curl 명령어를 사용하여 최신 버전의 TYPO3를 다운로드합니다:
curl -L -o typo3_src.tgz https://get.typo3.org/11다운로드가 완료되면 다음 명령어로 다운로드한 파일을 추출합니다:
tar -xvzf typo3_src.tgz다음으로, 추출된 디렉토리를 Apache 웹 루트 디렉토리로 이동합니다:
mv typo3_src-11.5.15 /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 접근
새 서버에 TYPO3를 설치하는 경우 TYPO3 웹 루트 디렉토리 내에 FIRST_INSTALL 파일을 생성해야 합니다. 다음 명령어로 생성할 수 있습니다:
touch /var/www/html/typo3/FIRST_INSTALL
chown -R www-data:www-data /var/www/html/typo3/FIRST_INSTALL이제 웹 브라우저를 열고 URL http://typo3.example.com을 사용하여 TYPO3에 접근합니다. 다음 페이지가 표시되어야 합니다:


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

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): 2
2를 입력하고 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 2022-12-07. 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 22.04에서 TYPO3 CMS를 성공적으로 설치하고 Let’s Encrypt SSL로 보안 설정을 완료했습니다. 이제 웹 브라우저를 통해 쉽게 웹사이트와 블로그를 생성할 수 있습니다. 질문이 있으면 언제든지 문의해 주세요.
새 게시물을 받은 편지함에서 받기
스팸은 없습니다. 언제든지 구독 해지 가능합니다.