CMS 설치 · 7 min read · Dec 21, 2025
Ubuntu 20.04에서 Apache 및 무료 Let's Encrypt SSL로 Concrete5 CMS 설치하는 방법

Concrete5는 인터넷에 콘텐츠를 게시하는 데 사용되는 오픈 소스 콘텐츠 관리 시스템입니다. PHP로 작성되었으며 MariaDB를 데이터베이스 백엔드로 사용합니다. 웹 브라우저를 통해 페이지와 콘텐츠를 쉽게 생성할 수 있도록 도와주는 사용하기 쉬운 빌더를 제공합니다. 유연하고, 안전하며, 모바일 준비가 되어 있고, 모델-뷰-컨트롤러 아키텍처를 기반으로 합니다. WYSIWYG 콘텐츠 편집기, 미디어 관리자, 드래그 앤 드롭 콘텐츠, 인라인 편집 등 다양한 기능을 제공합니다.
이 게시물에서는 Ubuntu 20.04 서버에서 Apache 및 Let’s Encrypt SSL로 Concrete5 CMS를 설치하는 방법을 보여드리겠습니다.
요구 사항
- Ubuntu 20.04를 실행하는 서버.
- 서버 IP를 가리키는 유효한 도메인 이름.
- 서버에 구성된 루트 비밀번호.
시작하기
먼저, APT 패키지 인덱스를 최신 버전으로 업데이트해야 합니다. 다음 명령어로 업데이트할 수 있습니다:
apt-get update -yAPT 인덱스가 업데이트되면 다음 단계로 진행할 수 있습니다.
Apache, MariaDB 및 PHP 설치
다음으로, Apache 웹 서버, MariaDB 데이터베이스 서버, PHP 및 기타 PHP 확장을 서버에 설치해야 합니다. 다음 명령어를 사용하여 모두 설치할 수 있습니다:
apt-get install apache2 mariadb-server php libapache2-mod-php libapache2-mod-php php-common php-mbstring php-xmlrpc php-soap php-gd php-xml php-intl php-mysql php-cli php-ldap php-zip php-curl -y모든 패키지가 설치되면 php.ini 파일을 편집하고 원하는 값을 설정합니다:
nano /etc/php/7.4/apache2/php.ini다음 줄을 변경합니다:
file_uploads = On
allow_url_fopen = On
memory_limit = 256M
upload_max_filesize = 64M
date.timezone = Asia/Kolkata작업이 끝나면 파일을 저장하고 닫은 후, 변경 사항을 적용하기 위해 Apache 서비스를 재시작합니다:
systemctl restart apache2작업이 끝나면 다음 단계로 진행할 수 있습니다.
Concrete5 데이터베이스 생성
다음으로, Concrete5를 위한 데이터베이스와 사용자를 생성해야 합니다. 먼저, 다음 명령어로 MariaDB에 로그인합니다:
mysql로그인 후, 다음 명령어로 데이터베이스와 사용자를 생성합니다:
MariaDB [(none)]> CREATE DATABASE concrete5;
MariaDB [(none)]> CREATE USER 'concrete5user'@'localhost' IDENTIFIED BY 'password';다음으로, 다음 명령어로 Concrete5 데이터베이스에 모든 권한을 부여합니다:
MariaDB [(none)]> GRANT ALL ON concrete5.* TO 'concrete5user'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;다음으로, 권한을 플러시하고 다음 명령어로 MariaDB 콘솔에서 종료합니다:
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> EXIT;작업이 끝나면 다음 단계로 진행할 수 있습니다.
Concrete5 CMS 다운로드
먼저, Concrete5 CMS 웹사이트로 가서 최신 버전의 Concrete5 URL을 복사한 후, 다음 명령어로 다운로드합니다:
wget --trust-server-names https://www.concrete5.org/download_file/-/view/115589/ -O concrete5.zip다운로드가 완료되면 다음 명령어로 다운로드한 파일을 추출합니다:
unzip concrete5.zip다음으로, 추출된 디렉토리를 Apache 웹 루트 디렉토리로 이동합니다:
mv concrete5-* /var/www/html/concrete5다음으로, 다음 명령어로 concrete5 디렉토리에 적절한 권한과 소유권을 설정합니다:
chown -R www-data:www-data /var/www/html/concrete5/
chmod -R 755 /var/www/html/concrete5/작업이 끝나면 다음 단계로 진행할 수 있습니다.
Concrete5 CMS를 위한 Apache 구성
다음으로, Concrete5 CMS를 위한 Apache 가상 호스트 구성 파일을 생성해야 합니다. 다음 명령어로 생성할 수 있습니다:
nano /etc/apache2/sites-available/concrete5.conf다음 줄을 추가합니다:
ServerAdmin [email protected]
DocumentRoot /var/www/html/concrete5/
ServerName concrete5.example.com
Options +FollowSymlinks
AllowOverride All
Require all granted
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
파일을 저장하고 닫은 후, 다음 명령어로 Apache 가상 호스트와 재작성 모듈을 활성화합니다:
a2ensite concrete5.conf
a2enmod rewrite다음으로, 변경 사항을 적용하기 위해 Apache 서비스를 재시작합니다:
systemctl restart apache2다음 명령어로 Apache 서비스의 상태를 확인할 수도 있습니다:
systemctl status apache2다음과 같은 출력을 얻어야 합니다:
? apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-05-15 15:00:03 UTC; 4s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 15566 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Main PID: 15585 (apache2)
Tasks: 6 (limit: 2353)
Memory: 13.5M
CGroup: /system.slice/apache2.service
??15585 /usr/sbin/apache2 -k start
??15586 /usr/sbin/apache2 -k start
??15587 /usr/sbin/apache2 -k start
??15588 /usr/sbin/apache2 -k start
??15589 /usr/sbin/apache2 -k start
??15590 /usr/sbin/apache2 -k start
May 15 15:00:03 ubuntu2004 systemd[1]: Starting The Apache HTTP Server...이 시점에서 Apache 웹 서버는 Concrete5 CMS를 호스팅하도록 구성되었습니다. 이제 다음 단계로 진행할 수 있습니다.
Concrete5 CMS 웹 인터페이스에 접근하기
이제 웹 브라우저를 열고 URL http://concrete5.example.com을 사용하여 Concrete5 CMS 웹 인터페이스에 접근합니다. 다음 페이지로 리디렉션됩니다:

언어를 선택하고 화살표 버튼을 클릭합니다. 다음 페이지가 표시됩니다:

필요한 모든 라이브러리가 설치되었는지 확인한 후, 설치 계속하기 버튼을 클릭합니다. 다음 페이지가 표시됩니다:

여기에서 관리자 사용자 이름, 비밀번호, 데이터베이스 사용자 이름, 비밀번호 및 데이터베이스 이름을 제공한 후, Concrete5 설치 버튼을 클릭하여 설치를 시작합니다. 설치가 완료되면 다음 페이지가 표시됩니다:


이제 사이트 편집 버튼을 클릭하면 다음 페이지에서 Concrete5 대시보드를 볼 수 있습니다:

Let’s Encrypt SSL로 Concrete5 보안 설정
다음으로, Let’s Encrypt SSL로 웹사이트를 보안 설정하는 것이 좋습니다. 먼저, 다음 명령어로 Certbot 클라이언트를 설치합니다:
apt-get install python3-certbot-apache -y설치가 완료되면, 다음 명령어를 실행하여 Let’s Encrypt SSL로 웹사이트를 보안 설정합니다:
certbot --apache -d concrete5.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 concrete5.example.com
Enabled Apache rewrite module
Waiting for verification...
Cleaning up challenges
Created an SSL vhost at /etc/apache2/sites-available/concrete5-le-ssl.conf
Enabled Apache socache_shmcb module
Enabled Apache ssl module
Deploying Certificate to VirtualHost /etc/apache2/sites-available/concrete5-le-ssl.conf
Enabling available site: /etc/apache2/sites-available/concrete5-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/concrete5.conf to ssl vhost in /etc/apache2/sites-available/concrete5-le-ssl.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Congratulations! You have successfully enabled https://concrete5.example.com
You should test your configuration at:
https://www.ssllabs.com/ssltest/analyze.html?d=concrete5.example.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/concrete5.example.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/concrete5.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://concrete5.example.com을 사용하여 안전하게 Concrete 5에 접근할 수 있습니다.
결론
위 가이드에서는 Ubuntu 20.04에서 Apache 및 Let’s Encrypt SSL로 Concrete5 CMS를 설치하는 방법을 배웠습니다. 이제 Concrete5 CMS를 사용하여 인터넷에 콘텐츠를 쉽게 게시할 수 있습니다. 질문이 있으면 언제든지 문의해 주세요.
새 게시물을 받은 편지함에서 받기
스팸은 없습니다. 언제든지 구독 해지 가능합니다.