설치 가이드 · 7 min read · Sep 08, 2025
우분투 22.04에 Cerb 협업 및 이메일 자동화 설치하는 방법

Cerb는 비즈니스 협업 및 자동화를 위한 무료, 오픈 소스, 빠르고 유연한 플랫폼입니다. 이는 대량의 이메일을 전송하는 데 사용되는 웹 기반 도구입니다. 실시간 모니터링 및 목표 추적을 위한 웹 기반 대시보드를 제공합니다. 알림, 공유 사서함, 이메일 관리, 모바일 기능 등 많은 기능을 갖추고 있습니다.
이 튜토리얼에서는 우분투 22.04에 Cerb 자동화 도구를 설치하는 방법을 보여줍니다.
필수 조건
- 우분투 22.04가 실행되는 서버.
- 서버 IP를 가리키는 유효한 도메인 이름.
- 서버에 구성된 루트 비밀번호.
시작하기
먼저, 모든 시스템 패키지를 최신 버전으로 업데이트해야 합니다. 다음 명령어를 실행하여 시스템을 업데이트할 수 있습니다.
apt update -y
apt upgrade -y시스템이 업데이트되면 다음 단계로 진행할 수 있습니다.
Apache, MySQL 및 PHP 설치
다음으로, 시스템에 Apache 웹 서버, MySQL 데이터베이스 서버, PHP 및 기타 필요한 모듈을 설치해야 합니다. 다음 명령어로 모두 설치할 수 있습니다:
apt install apache2 mysql-server php libapache2-mod-php php-mysql php-mbstring php-gd php-imap php-curl php-mailparse php-yaml php-gmp php-dev php-pear git wget unzip -y다음으로, 서버에 Mailparse PHP 확장을 설치해야 합니다.
먼저, 다음 명령어로 Mailparse의 최신 버전을 다운로드합니다.
wget https://pecl.php.net/get/mailparse-3.1.4.tgz다음으로, 다음 명령어로 다운로드한 파일을 추출합니다.
tar -xvzf mailparse-3.1.4.tgz다음으로, 추출된 디렉토리로 이동하여 다음 명령어로 구성합니다.
cd mailparse-3.1.4
phpize
./configure
sed -i 's/^\(#error .* the mbstring extension!\)/\/\/\1/' mailparse.c이제 다음 명령어로 Mailparse 확장을 설치합니다.
make
make install다음으로, php.ini 파일을 열고 기본 설정을 변경합니다:
nano /etc/php/8.1/apache2/php.ini다음 줄을 변경합니다:
memory_limit = 256M
upload_max_filesize = 100M
max_execution_time = 360
date.timezone = UTC
extension=mailparse.so작업이 끝나면 파일을 저장하고 닫은 후, 변경 사항을 적용하기 위해 Apache 서비스를 재시작합니다:
systemctl restart apache2Cerb용 데이터베이스 생성
다음으로, Cerb용 데이터베이스와 사용자를 생성해야 합니다. 먼저, 다음 명령어로 MySQL 셸에 로그인합니다:
mysql로그인한 후, 다음 명령어를 실행하여 데이터베이스와 사용자를 생성합니다:
mysql> CREATE DATABASE cerbdb CHARACTER SET utf8;
mysql> CREATE USER cerbuser@localhost IDENTIFIED BY 'password';다음으로, 다음 명령어로 Cerb에 모든 권한을 부여합니다:
mysql> GRANT ALL PRIVILEGES ON cerbdb.* TO cerbuser@localhost;다음으로, 권한을 플러시하고 다음 명령어로 MariaDB 셸에서 나옵니다:
mysql> FLUSH PRIVILEGES;
mysql> EXIT;이 시점에서 Cerb용 데이터베이스와 사용자가 생성되었습니다. 이제 다음 단계로 진행할 수 있습니다.
Cerb 설치
먼저, 다음 명령어로 Git 리포지토리에서 Apache 웹 루트 디렉토리에 Cerb의 최신 버전을 다운로드합니다:
cd /var/www/html
git clone https://github.com/cerb/cerb-release.git cerb다운로드가 완료되면 cerb 디렉토리로 변경하고 .htaccess-dist 파일의 이름을 변경합니다:
cd cerb
mv .htaccess-dist .htaccess다음으로, cerb 디렉토리의 소유권과 권한을 변경합니다:
chown -R www-data:www-data /var/www/html/cerb/
chmod -R 755 /var/www/html/cerb/작업이 끝나면 다음 단계로 진행할 수 있습니다.
Cerb용 Apache 가상 호스트 생성
다음으로, Cerb를 제공하기 위해 Apache 가상 호스트 구성 파일을 생성해야 합니다. 다음 명령어로 생성할 수 있습니다:
nano /etc/apache2/sites-available/cerb.conf다음 줄을 추가합니다:
ServerAdmin [email protected]
DocumentRoot /var/www/html/cerb
ServerName cerb.linuxbuz.com
Options FollowSymlinks
AllowOverride All
Require all granted
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
작업이 끝나면 파일을 저장하고 닫은 후, 다음 명령어로 Cerb 가상 호스트 파일을 활성화합니다:
a2ensite cerb.conf다음으로, 다음 명령어로 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 Tue 2023-01-10 04:57:10 UTC; 5s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 59977 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Main PID: 59981 (apache2)
Tasks: 6 (limit: 2237)
Memory: 13.2M
CPU: 57ms
CGroup: /system.slice/apache2.service
??59981 /usr/sbin/apache2 -k start
??59983 /usr/sbin/apache2 -k start
??59984 /usr/sbin/apache2 -k start
??59985 /usr/sbin/apache2 -k start
??59986 /usr/sbin/apache2 -k start
??59987 /usr/sbin/apache2 -k start
Jan 10 04:57:10 vultr systemd[1]: Starting The Apache HTTP Server...
Jan 10 04:57:10 vultr systemd[1]: Started The Apache HTTP Server.작업이 끝나면 다음 단계로 진행할 수 있습니다.
Cerb에 Let’s Encrypt SSL 설치
다음으로, Cerb 웹 인터페이스를 Let’s Encrypt SSL로 보호하는 것이 강력히 권장됩니다. 먼저, SSL을 설치하고 관리하기 위해 시스템에 Certbot 클라이언트를 설치해야 합니다.
먼저, 다음 명령어로 Snap 패키지 관리자를 설치합니다:
apt install snapd다음으로, Snap 패키지를 최신 버전으로 업데이트합니다:
snap install core
snap refresh core다음으로, 다음 명령어로 certbot 패키지를 설치합니다:
snap install --classic certbot다음으로, Certbot 바이너리에 대한 심볼릭 링크를 시스템 위치에 생성합니다:
ln -s /snap/bin/certbot /usr/bin/certbot다음으로, 다음 명령어를 실행하여 Let’s Encrypt SSL 인증서를 다운로드하고 설치합니다:
certbot --apache도메인을 선택하고 Let’s Encrypt SSL을 설치하기 위해 유효한 이메일 주소를 제공하라는 메시지가 표시됩니다:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
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.3-September-21-2022.pdf. You must
agree in order to register with the ACME server. Do you agree?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: Yes
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Would you be willing, once your first certificate is successfully issued, 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: Yes
Account registered.
Which names would you like to activate HTTPS for?
We recommend selecting either all domains, or all domains in a VirtualHost/server block.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: cerb.linuxbuz.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1
Requesting a certificate for cerb.linuxbuz.com
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/cerb.linuxbuz.com/fullchain.pem
Key is saved at: /etc/letsencrypt/live/cerb.linuxbuz.com/privkey.pem
This certificate expires on 2023-04-10.
These files will be updated when the certificate renews.
Certbot has set up a scheduled task to automatically renew this certificate in the background.
Deploying certificate
Successfully deployed certificate for cerb.linuxbuz.com to /etc/apache2/sites-available/cerb-le-ssl.conf
Congratulations! You have successfully enabled HTTPS on https://cerb.linuxbuz.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -이 시점에서, 귀하의 웹사이트는 Let’s Encrypt SSL로 보호됩니다.
Cerb 웹 인터페이스 접근
이제 웹 브라우저를 열고 https://cerb.linuxbuz.com URL을 사용하여 Cerb 웹 인터페이스에 접근합니다. 다음 페이지로 리디렉션됩니다:

모든 PHP 확장을 확인한 후 계속 버튼을 클릭합니다. 다음 페이지가 표시됩니다:

수락 버튼을 클릭하여 라이센스 계약을 수락합니다. 다음 페이지가 표시됩니다:

데이터베이스 세부정보를 제공하고 데이터베이스 연결 확인 버튼을 클릭합니다. 다음 페이지가 표시됩니다:

메일 설정을 선택하고 메일 설정 확인 버튼을 클릭합니다. 다음 페이지가 표시됩니다:

이제 이름, 이메일, 비밀번호를 제공하고 계속 버튼을 클릭합니다. 다음 페이지가 표시됩니다:

계속 버튼을 클릭합니다. 다음 페이지가 표시됩니다:

데모를 선택하고 계속 버튼을 클릭하여 설치를 시작합니다. 설치가 완료되면 다음 페이지가 표시됩니다:

로그인하고 시작하기 버튼을 클릭합니다. Cerb 로그인 페이지가 표시됩니다:

이메일과 비밀번호를 제공하고 계속 버튼을 클릭합니다. 다음 페이지에서 Cerb 대시보드를 볼 수 있습니다:

결론
이 튜토리얼에서는 우분투 22.04에 Let’s Encrypt SSL과 함께 Cerb를 설치하는 방법을 배웠습니다. 이제 Cerb 기능을 탐색하고 팀과 협업을 시작할 수 있습니다. 질문이 있으면 언제든지 문의해 주세요.
새 게시물을 받은 편지함에서 받기
스팸은 없습니다. 언제든지 구독 해지 가능합니다.