How to install Memos on a Cloud VPS
Updated 11/29/2026
Memos is a lightweight, self-hosted note-taking service in the style of a private microblog: write in Markdown, add tags, images and task lists, search instantly and share a note publicly when you choose.
Running the tool on your own server means unlimited use without sending data to external services.
One-click install on cloudlinux.ro
The fastest way: Memos installs automatically at the first boot of a new server.
- Create a Cloud VPS from the control panel.
- In the configuration step, pick Memos from the app catalog.
- Start the server. The install runs in the background for a few minutes and its status shows on the server page.
- Access details and generated passwords are saved on the server in
/root/app-credentials.txt.
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
cl_firewall
curl -fsSL https://get.docker.com | sh
apt-get install -y jq
mkdir -p /opt/memos/config
cd /opt/memos
ADMIN_PASS=$(openssl rand -base64 24 | tr -dc 'A-Za-z0-9' | cut -c1-20)
cat > .env <<ENV
MEMOS_ADMIN_PASSWORD=${ADMIN_PASS}
MEMOS_INSTANCE_URL=https://${CL_HOSTNAME}
ENV
chmod 600 .env
# Declarative configuration, applied at every start: the admin account and closed registration.
cat > config/cloudlinux.json <<'JSON'
{
"instanceSettings": [
{ "name": "instance/settings/GENERAL", "generalSetting": { "disallowUserRegistration": true } }
],
"users": [
{ "name": "users/admin", "username": "admin", "role": "ADMIN", "password": "${env:MEMOS_ADMIN_PASSWORD}" }
],
"lifecycle": [ { "resource": "users/admin", "preventDestroy": true, "writeOnlyVersion": 1 } ]
}
JSON
cat > docker-compose.yml <<'YML'
services:
memos:
image: neosmemo/memos:26.11.3
restart: unless-stopped
env_file: .env
ports:
- "127.0.0.1:5230:5230"
volumes:
- memos-data:/var/opt/memos
- ./config:/etc/memos/config:ro
volumes:
memos-data:
YML
docker compose pull
docker compose up -d
for i in $(seq 1 60); do curl -fs -o /dev/null http://127.0.0.1:5230/healthz && break; sleep 5; done
curl -fs -o /dev/null http://127.0.0.1:5230/healthz
jq -n --arg p "$ADMIN_PASS" '{passwordCredentials: {username: "admin", password: $p}}' \
| curl -fs -o /dev/null -X POST http://127.0.0.1:5230/api/auth/signin -H 'Content-Type: application/json' -d @-
{
printf 'Memos: utilizator admin, parola %s (o poti schimba din setarile contului)\n' "$ADMIN_PASS"
printf 'Inregistrarea publica este oprita; colegii se adauga din Settings > Members.\n'
printf 'Actualizare: in /opt/memos schimbi versiunea imaginii in docker-compose.yml, apoi docker compose pull && docker compose up -d\n'
} > /root/app-credentials.txt
cl_expose Memos 5230
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 pricingRelated tutorials
How to install Open Notebook on a Cloud VPS
Complete Open Notebook guide: one-click install on cloudlinux.ro or manual setup on any Ubuntu server, step by step.
Updated 11/29/2026ApplicationsHow to install Pocket ID on a Cloud VPS
Complete Pocket ID guide: one-click install on cloudlinux.ro or manual setup on any Ubuntu server, step by step.
Updated 11/29/2026ApplicationsHow to install Twenty CRM on a Cloud VPS
Complete Twenty CRM guide: one-click install on cloudlinux.ro or manual setup on any Ubuntu server, step by step.
Updated 11/29/2026