Created
September 30, 2025 02:11
-
-
Save mdestafadilah/9421048657930a50f58cb94239c5ed90 to your computer and use it in GitHub Desktop.
Install EvolutionAPI on VPS (English Version ~ Translated)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| How to Install aaPanel + Evolution API 2.2.3 on a VPS (Step by Step) | |
| 🚀 Evolution V2 Installation | |
| 1️⃣ System Update and Dependency Installation | |
| Open a terminal and run the following command: | |
| sudo apt-get update ; apt-get install -y apparmor-utils | |
| 2️⃣ Server Name Setting | |
| You can replace manager1 with a name of your choice: | |
| hostnamectl set-hostname manager1 | |
| 3️⃣ /etc/hosts File Configuration | |
| Edit the hosts file with the command: | |
| nano /etc/hosts | |
| Change the localhost line to the name you defined in the previous step (example: manager1): | |
| 127.0.0.1 manager1 | |
| After editing, save and exit (Ctrl+X, press Y and Enter). | |
| 4️⃣ Docker Installation | |
| Run this command to install Docker: | |
| curl -fsSL https://get.docker.com | bash | |
| 5️⃣ Swarm Initialization | |
| After installation, start Docker Swarm with: | |
| docker swarm init | |
| 6️⃣ Network Creation | |
| Now, create the network for the containers: | |
| docker network create --driver=overlay network_public | |
| 7️⃣ Traefik.yaml File Configuration | |
| Open a text editor: | |
| nano traefik.yaml | |
| After editing the file, save and exit (Ctrl+X, press Y and Enter). | |
| 8️⃣ Stack Deployment | |
| Finally, run the command below to deploy Traefik: | |
| docker stack deploy --prune --resolve-image always -c traefik.yaml traefik | |
| 9️⃣ Portainer Installation | |
| Run the following command to install Portainer: | |
| docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest | |
| 💡 Tip: Verify that the commands were executed correctly before proceeding to the next steps. | |
| WARNING: If you change the Postgres password in the postgres.yaml file, you must update this password in the evolution.yaml file on lines 40 and 75. Failure to do so will result in errors. |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WORKING VERSION