설치 가이드 · 6 min read · Dec 20, 2025
Ubuntu 22.04에서 Apache 및 Let's Encrypt SSL로 Akaunting 설치하는 방법

Akaunting은 중소기업 및 프리랜서를 위한 오픈 소스 및 자체 호스팅 회계 소프트웨어 애플리케이션입니다. Laravel, Bootstrap, jQuery 및 RESTful API를 사용하여 구축되었습니다. 웹 브라우저를 통해 송장, 견적 및 재정을 생성하고 관리하는 데 사용됩니다. Akaunting의 기능을 확장하기 위해 사용자와 개발자를 위한 멋진 앱 스토어를 제공합니다.
이 튜토리얼에서는 Ubuntu 22.04에서 Apache 및 Let’s Encrypt SSL로 Akaunting 회계 소프트웨어를 설치하는 방법을 보여드리겠습니다.
필수 조건
- Ubuntu 22.04를 실행하는 서버.
- 서버 IP를 가리키는 유효한 도메인 이름.
- 서버에 구성된 루트 비밀번호.
Apache, MariaDB 및 PHP 설치
먼저, 서버에 Apache, MariaDB, PHP 및 기타 PHP 확장을 설치해야 합니다. 다음 명령어를 실행하여 모두 설치할 수 있습니다:
apt-get install apache2 mariadb-server php libapache2-mod-php php-common php-imap php-mbstring php-xmlrpc php-soap php-gd php-xml php-intl php-mysql php-cli php-bcmath php-ldap php-zip php-curl unzip curl -y모든 패키지를 설치한 후 PHP 구성 파일을 편집하고 기본 설정을 변경합니다:
nano /etc/php/8.1/apache2/php.ini다음 줄을 변경하십시오:memory_limit = 256M
upload_max_filesize = 16M
post_max_size = 16M
max_execution_time = 300
date.timezone = UTC파일을 저장하고 닫은 후 Apache 서비스를 재시작하여 구성 변경 사항을 적용합니다:
systemctl restart apache2MariaDB 데이터베이스 구성
Akaunting은 데이터베이스 백엔드로 MariaDB/MySQL을 사용합니다. 따라서 Akaunting을 위한 데이터베이스와 사용자를 생성해야 합니다.
먼저, 다음 명령어로 MariaDB에 로그인합니다:
mysql로그인한 후, 다음 명령어로 Akaunting을 위한 데이터베이스와 사용자를 생성합니다:
MariaDB [(none)]> CREATE DATABASE akaunting_db;
MariaDB [(none)]> CREATE USER 'akaunting_user'@'localhost' IDENTIFIED BY 'password';다음으로, 다음 명령어로 Akaunting 데이터베이스에 모든 권한을 부여합니다:
MariaDB [(none)]> GRANT ALL ON akaunting_db.* TO 'akaunting_user'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;다음으로, 권한을 플러시하고 다음 명령어로 MariaDB에서 종료합니다:
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> EXIT;Akaunting 설치
먼저, Akaunting 공식 다운로드 페이지로 이동하여 다음 명령어를 사용하여 최신 버전을 다운로드합니다:
wget -O Akaunting.zip https://akaunting.com/download.php?version=latest다운로드가 완료되면, 다운로드한 파일을 Apache 웹 루트 디렉토리에 압축 해제합니다:
mkdir -p /var/www/html/akaunting
unzip Akaunting.zip -d /var/www/html/akaunting다음으로, Akaunting 디렉토리의 소유권과 권한을 변경합니다:
chown -R www-data:www-data /var/www/html/akaunting/
chmod -R 755 /var/www/html/akaunting/작업이 완료되면 다음 단계로 진행할 수 있습니다.
Akaunting을 위한 Apache 구성
다음으로, Akaunting을 위한 Apache 가상 호스트 구성 파일을 생성해야 합니다. 다음 명령어로 생성할 수 있습니다:
nano /etc/apache2/sites-available/akaunting.conf다음 줄을 추가합니다:
ServerAdmin [email protected]
DocumentRoot /var/www/html/akaunting
ServerName akaunting.example.com
DirectoryIndex index.html index.php
Options +FollowSymlinks
AllowOverride All
Require all granted
ErrorLog ${APACHE_LOG_DIR}/akaunting_error.log
CustomLog ${APACHE_LOG_DIR}/akaunting_access.log combined
파일을 저장하고 닫은 후, 다음 명령어로 Apache 가상 호스트와 재작성 모듈을 활성화합니다:
a2ensite akaunting
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 2022-11-12 13:45:47 UTC; 10s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 16032 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Main PID: 16036 (apache2)
Tasks: 6 (limit: 464122)
Memory: 14.2M
CGroup: /system.slice/apache2.service
??16036 /usr/sbin/apache2 -k start
??16037 /usr/sbin/apache2 -k start
??16038 /usr/sbin/apache2 -k start
??16039 /usr/sbin/apache2 -k start
??16040 /usr/sbin/apache2 -k start
??16041 /usr/sbin/apache2 -k start
Nov 12 13:45:47 ubuntu22041 systemd[1]: Starting The Apache HTTP Server...Let’s Encrypt SSL로 Akaunting 보안 설정
다음으로, Let’s Encrypt SSL로 웹사이트를 보안 설정하는 것이 좋습니다. 먼저, 다음 명령어로 Certbot 클라이언트를 설치합니다:
apt-get install certbot python3-certbot-apache -y설치가 완료되면, 다음 명령어를 실행하여 Let’s Encrypt SSL로 웹사이트를 보안 설정합니다:
certbot --apache -d akaunting.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 akaunting.example.com
Enabled Apache rewrite module
Waiting for verification...
Cleaning up challenges
Created an SSL vhost at /etc/apache2/sites-available/akaunting-le-ssl.conf
Enabled Apache socache_shmcb module
Enabled Apache ssl module
Deploying Certificate to VirtualHost /etc/apache2/sites-available/akaunting-le-ssl.conf
Enabling available site: /etc/apache2/sites-available/akaunting-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/akaunting.conf to ssl vhost in /etc/apache2/sites-available/akaunting-le-ssl.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Congratulations! You have successfully enabled https://akaunting.example.com
You should test your configuration at:
https://www.ssllabs.com/ssltest/analyze.html?d=akaunting.example.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/akaunting.example.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/akaunting.example.com/privkey.pem
Your cert will expire on 2023-02-12. 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-leAkaunting 웹 인터페이스 접근
이제 웹 브라우저를 열고 URL http://akaunting.example.com을 사용하여 Akaunting 웹 인터페이스에 접근합니다. 다음 화면이 표시됩니다:

언어를 선택하고 다음 버튼을 클릭합니다. 데이터베이스 구성 화면이 표시됩니다:

데이터베이스 세부정보를 제공하고 다음 버튼을 클릭합니다. 관리자 사용자 계정 생성 화면이 표시됩니다:

회사 이름, 이메일, 비밀번호를 제공하고 다음 버튼을 클릭합니다. Akaunting 로그인 화면이 표시됩니다:

관리자 사용자 이름과 비밀번호를 제공하고 로그인 버튼을 클릭합니다. 다음 화면이 표시됩니다:

건너뛰기 버튼을 클릭합니다. 통화 화면이 표시됩니다:

통화를 활성화하고 다음 버튼을 클릭합니다. 플러그인 화면이 표시됩니다:

필요한 모듈을 설치하고 다음 버튼을 클릭합니다. 다음 화면이 표시됩니다:

위 화면에서 첫 번째 송장을 생성할 수 있습니다.
결론
축하합니다! Ubuntu 22.04 서버에서 Apache 및 Let’s Encrypt SSL로 Akaunting을 성공적으로 설치했습니다. 이제 조직에서 Akaunting 소프트웨어를 호스팅하여 송장, 견적 및 재정을 어디서나 관리할 수 있습니다. 질문이 있으면 언제든지 문의해 주세요.
새 게시물을 받은 편지함에서 받기
스팸은 없습니다. 언제든지 구독 해지 가능합니다.