CloudLinux.ro
Applications

How to install Akaunting on a Cloud VPS

Updated 7/18/2026

Akaunting is free open-source accounting software for small businesses: invoicing, expenses, cash flow and client portals.

The self-hosted version removes per-user subscriptions: you pay only for the server, no matter how many teammates use the app.

One-click install on cloudlinux.ro

The fastest way: Akaunting installs automatically at the first boot of a new server.

  1. Create a Cloud VPS from the control panel.
  2. In the configuration step, pick Akaunting from the app catalog.
  3. Start the server. The install runs in the background for a few minutes and its status shows on the server page.
  4. Access details and generated passwords are saved on the server in /root/app-credentials.txt. The app will be available on port 8080.

Manual install on any Ubuntu server

If you prefer doing it yourself, below is the exact script our automatic install runs. Execute it as root on a fresh Ubuntu server (24.04 recommended). It stops at the first error, and when it finishes you will find the access details in /root/app-credentials.txt.

export DEBIAN_FRONTEND=noninteractive
curl -fsSL https://get.docker.com | sh
apt-get install -y git
IP=$(hostname -I | awk '{print $1}')
DB_PASS=$(openssl rand -base64 24 | tr -dc 'A-Za-z0-9' | cut -c1-20)
ADMIN_PASS=$(openssl rand -base64 24 | tr -dc 'A-Za-z0-9' | cut -c1-16)
DB_PREFIX=$(openssl rand -hex 2 | cut -c1-3)_
git clone https://github.com/akaunting/docker.git /opt/akaunting
cd /opt/akaunting
cat > env/db.env <<EOF
MYSQL_DATABASE=akaunting
MYSQL_USER=akaunting
MYSQL_PASSWORD=${DB_PASS}
MYSQL_RANDOM_ROOT_PASSWORD=yes
EOF
cat > env/run.env <<EOF
APP_URL=http://${IP}:8080
LOCALE=ro-RO
DB_HOST=akaunting-db
DB_PORT=3306
DB_NAME=akaunting
DB_USERNAME=akaunting
DB_PASSWORD=${DB_PASS}
DB_PREFIX=${DB_PREFIX}
COMPANY_NAME=Compania Mea
[email protected]
[email protected]
ADMIN_PASSWORD=${ADMIN_PASS}
EOF
AKAUNTING_SETUP=true docker compose up -d
sleep 90
docker compose down
docker compose up -d
printf 'Akaunting: http://%s:8080\nUtilizator: [email protected]\nParola: %s\n' "$IP" "$ADMIN_PASS" > /root/app-credentials.txt

You can also save this script as a recipe in your account and reuse it on any new server.

Put this guide into practice on your own VPS

EU cloud servers, billed hourly, ready in minutes, with one-click installs for dozens of apps.

See pricing

Related tutorials