How to install Open Notebook on a Cloud VPS
Updated 11/29/2026
Open Notebook is an open-source alternative to NotebookLM: gather sources such as PDFs, web pages, YouTube videos and notes, then ask questions, generate summaries and turn the material into podcasts, with the AI provider of your choice.
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: Open Notebook installs automatically at the first boot of a new server.
- Create a Cloud VPS from the control panel.
- In the configuration step, pick Open Notebook 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
mkdir -p /opt/open-notebook
cd /opt/open-notebook
APP_PASS=$(openssl rand -base64 24 | tr -dc 'A-Za-z0-9' | cut -c1-20)
cat > .env <<ENV
OPEN_NOTEBOOK_ENCRYPTION_KEY=$(openssl rand -hex 32)
OPEN_NOTEBOOK_PASSWORD=${APP_PASS}
SURREAL_USER=root
SURREAL_PASSWORD=$(openssl rand -hex 24)
API_URL=https://${CL_HOSTNAME}
ENV
chmod 600 .env
# The UI forwards /api to the API inside the container: only the UI port is published, on loopback.
cat > docker-compose.yml <<'YML'
services:
surrealdb:
image: surrealdb/surrealdb:v2
restart: always
user: root
command: ["start", "--log", "info", "--user", "${SURREAL_USER}", "--pass", "${SURREAL_PASSWORD}", "rocksdb:/mydata/mydatabase.db"]
volumes:
- ./surreal_data:/mydata
open_notebook:
image: lfnovo/open_notebook:1.15.1
restart: always
depends_on:
- surrealdb
ports:
- "127.0.0.1:8502:8502"
environment:
OPEN_NOTEBOOK_ENCRYPTION_KEY: ${OPEN_NOTEBOOK_ENCRYPTION_KEY}
OPEN_NOTEBOOK_PASSWORD: ${OPEN_NOTEBOOK_PASSWORD}
API_URL: ${API_URL}
SURREAL_URL: ws://surrealdb:8000/rpc
SURREAL_USER: ${SURREAL_USER}
SURREAL_PASSWORD: ${SURREAL_PASSWORD}
SURREAL_NAMESPACE: open_notebook
SURREAL_DATABASE: open_notebook
volumes:
- ./notebook_data:/app/data
YML
docker compose pull
docker compose up -d
for i in $(seq 1 120); do curl -fs -o /dev/null http://127.0.0.1:8502/api/config && break; sleep 5; done
curl -fs -o /dev/null http://127.0.0.1:8502/api/config
cl_install_caddy
# Long timeouts: generating summaries and podcasts can take minutes.
cat > /etc/caddy/Caddyfile <<CADDY
${CL_HOSTNAME} {
reverse_proxy 127.0.0.1:8502 {
transport http {
read_timeout 600s
write_timeout 600s
}
}
}
CADDY
systemctl enable --now caddy
systemctl restart caddy
{
printf 'Open Notebook: https://%s, parola %s\n' "$CL_HOSTNAME" "$APP_PASS"
printf 'Adauga furnizorul de modele si cheia ta de API din Manage > Models (OpenAI, Anthropic, Mistral, Ollama si altii).\n'
printf 'Cheia de criptare din /opt/open-notebook/.env nu trebuie schimbata: protejeaza cheile de API salvate.\n'
printf 'Certificatul HTTPS se emite automat in primele minute, dupa ce %s devine rezolvabil.\n' "$CL_HOSTNAME"
printf 'Actualizare: in /opt/open-notebook schimbi versiunea imaginii in docker-compose.yml, apoi docker compose pull && docker compose up -d\n'
} > /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 pricingRelated tutorials
How to install Memos on a Cloud VPS
Complete Memos 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