CloudLinux.ro
Applications

How to install Dify on a Cloud VPS

Updated 7/20/2026

Dify is a complete platform for building LLM applications: AI agents, RAG pipelines, a prompt studio and ready-made APIs, all through one visual interface.

Running it on your own server keeps your data and API keys with you, with no SaaS usage limits and predictable hourly billing.

One-click install on cloudlinux.ro

The fastest way: Dify 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 Dify 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 80.

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
git clone --depth 1 https://github.com/langgenius/dify.git /opt/dify
cd /opt/dify/docker
cp .env.example .env
docker compose up -d
IP=$(hostname -I | awk '{print $1}')
printf 'Dify: deschide http://%s/install si creeaza contul de administrator.\nDupa configurare, panoul este la http://%s\nAdauga o cheie API pentru un model din Settings, Model Provider (OpenAI, Anthropic sau un model local).\nDify ocupa portul 80, nu instala alt server web pe acelasi server.\n' "$IP" "$IP" > /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