Skip to content

How to Set Up Xibo on a Linux VPS – Digital Signage for Your Screens

Set up the Xibo digital signage CMS as a One-Click App or with Docker on your VPS, connect screens with Xibo Players, and schedule content playback.

1 December 202612 min read1 Views0 helpful

Introduction

Xibo is an open-source content management system for digital signage (AGPL-3.0). It lets you control screens in shop windows, reception areas, cafeterias, waiting rooms, or clubhouses centrally through your browser: upload images, videos, and PDFs to the media library, create layouts with regions and widgets (clock, weather, RSS ticker, webpages, datasets, menu boards), and use the schedule to decide which layout runs on which screen and when.

Xibo consists of two parts: the CMS runs on your server and manages content and schedules. A Xibo Player runs on each screen (Windows, Android, Linux, webOS, Tizen, ChromeOS), connects to the CMS, downloads content, and continues playing it even when offline. This guide covers the CMS. Install the Players on the devices connected to your screens. The Windows and Linux Players are free, while Xibo licenses the Android, webOS, Tizen, and ChromeOS Players for a fee.

This guide shows you two ways to get started: the easy way, using the One-Click App, which runs Xibo with your own admin account and HTTPS at your address, and the manual installation with Docker Compose. After that, you’ll connect your first screen and publish a layout.

When a VPS Makes Sense for Xibo

The CMS needs to be accessible to all screens at all times. A VPS is a good fit if:

  • Your screens are at multiple locations, such as different branches or buildings. All Players connect to the same CMS over the internet, with no VPN or router port forwarding required.
  • You want to manage content from anywhere. Edit a layout in your browser, and the screens will retrieve it the next time they check in—or immediately through a push notification.
  • You don’t want to pay monthly fees per screen for a hosted signage platform. The CMS is free; you may only need to pay for licenses for certain Players.
  • You want to keep data and media under your control, such as internal metrics from datasets or employee information.

A VPS is less suitable if all screens are on a single local network with no internet access. In that case, the CMS should run on a computer on that network. Also plan for enough storage for your media library: each video is stored once on the server and downloaded once by every Player.

Easy Option: Xibo as a One-Click App

The quickest way to get Xibo running is through your VPS’s One-Click Apps. The One-Click App starts the CMS with a database, push service, and cache, sets up HTTPS at your address, and creates your admin account using the username and password you choose during installation. Xibo’s well-known default login is not used.

Requirements

  • A Linux VPS (Debian or Ubuntu) with One-Click Apps set up. See Set Up One-Click Apps for instructions.
  • At least 2 vCores and 2 GB of RAM. Xibo uses about 650 MB when idle, and significantly more with many screens, reports, and large media files. 4 GB is recommended.
  • At least 5 GB of free storage for the app itself; 20 GB is recommended. You’ll also need space for your images and videos.

Install

  1. Open your VPS in the ZapX dashboard and go to the One-Click Apps tab.
  2. Search for Xibo in the App catalog and click Install app.
  3. Use a custom subdomain or zap.cloud is already selected. Leave it enabled and enter a name, such as signage. Your screens’ Players will connect to this exact address later. Without a domain, Xibo would only be accessible over HTTP.
  4. Under App configuration, fill in the two required fields:
    • ADMIN_USERNAME: The username for your admin account, 1 to 50 characters using letters, numbers, and ., _, @, or -.
    • ADMIN_PASSWORD: A password between 12 and 72 characters. The < character is not allowed because Xibo filters login input.
  5. You can leave the other fields as they are. TZ is set to Europe/Berlin and also sets the default time zone of the CMS; the SMTP_... fields are only needed for email (see below); and CMS_PHP_UPLOAD_MAX_FILESIZE and CMS_PHP_POST_MAX_SIZE limit uploads to 2 GB per file.
  6. Click Queue installation. On its first startup, the VPS downloads four containers and creates the database. Xibo should show as online on the app card after about five minutes.
Warning: Choose a strong password

Xibo’s login page is publicly accessible, and bots start probing pages like this within minutes of launch. Xibo blocks an IP address for 15 minutes after five failed attempts. Even so, use a long, randomly generated password from a password manager.

First Login

Open the app’s Access link and sign in with ADMIN_USERNAME and ADMIN_PASSWORD. You’ll arrive at the CMS home page, with links to screens, media, and playlists.

The default login xibo_admin with the password password, which appears in many guides, does not work with the One-Click App. A startup script sets the Super Admin’s username and password to your values every time the app starts, before the web server accepts requests.

Then quickly check the time zone. Xibo’s schedules use the CMS time zone. The One-Click App takes it from TZ at startup, so it is Europe/Berlin unless you change it. You can see it under Administration > Settings > Regional in Timezone. You can also change the interface language there under Default Language.

For a different time zone, change TZ in the App environment and save; the new value applies after the restart. You can also change the time zone directly in Xibo. Xibo then keeps your setting permanently, even after restarts and updates, and TZ no longer changes the CMS time zone.

Change the Admin Password

You can change the Super Admin’s username and password in the app settings (gear icon), under App environment. Enter the new password in ADMIN_PASSWORD and click Save. The app will restart, and the new password will take effect after about 30 seconds. Any active sessions for this account will be ended.

Info: Don’t change it in your Xibo profile

If you change the Super Admin’s password in Xibo itself, it will only remain in effect until the app restarts. The startup script will then restore the value from the App environment. Create additional users under Administration > Users and manage their passwords normally in Xibo.

Each user can enable two-factor authentication themselves: click your username in the top-right corner, then click the pencil icon to edit your profile.

Set Up Email

Xibo does not send emails by default. To enable notifications, password reminders on the login page, and reports by email, enter your mail server details in the App environment:

FieldDescription
SMTP_SERVERServer and port, e.g. mail.example.com:587
SMTP_USERNAME and SMTP_PASSWORDMailbox login details
SMTP_FROMSender address, e.g. signage@example.com
SMTP_USE_TLS and SMTP_USE_STARTTLSEncryption; leave both set to YES for port 587

The SMTP password should not contain /, &, or \ because Xibo writes it to its mail configuration at startup. The app restarts after you click Save. You also need to set the sender address for notifications in Xibo under Administration > Settings > Network.

Updates and Backups

To check for a new version, go to the app settings (gear icon), open App update, and click Check for updates. Install a new version with Apply update. Your media, database, and settings will be preserved; Xibo updates the database itself on startup.

Your data is stored across several volumes: the database in xibo-db, the media library in xibo-library, and Xibo’s own daily database backup in xibo-backup. Back up your VPS from the Backups tab to protect everything. If you don’t have copies elsewhere, download important media separately as well.

Manual Installation

The rest of this guide covers manual installation of the Xibo CMS with Docker Compose. For example, you might use this method if you don’t use One-Click Apps on your server or want to run Xibo alongside other services behind your own web server. This setup is based on Xibo’s official Docker files, version 4.5.6. We make a few changes to keep the CMS from being exposed to the internet without protection.

Requirements

  • A Linux VPS running Debian or Ubuntu, with SSH access. See First SSH Connection.
  • Docker and Docker Compose. See Install Docker. Verify the installation with docker --version and docker compose version.
  • A domain or subdomain whose A record points to your VPS’s IP address (e.g. signage.example.com). The Players will connect to this address later.

The CMS consists of four containers: a web server with PHP, a MySQL database, the XMR push service, and a cache. Together, they use about 650 MB of RAM when idle, with MySQL using most of it:

MinimumRecommended
CPU2 vCores2 vCores or more
RAM2 GB4 GB
Storage5 GB20 GB plus space for your media

Prepare the Firewall

After installation, Xibo uses the well-known default login xibo_admin / password. The CMS must not be accessible from the internet until you have changed this password. In the Compose file below, the web server listens only on 127.0.0.1. You’ll make the first login through an SSH tunnel, then access the CMS through the reverse proxy over HTTPS. Open only SSH, HTTP, and HTTPS in the firewall:

bash
sudo ufw allow OpenSSH
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw enable

You don’t need port 9505 for ZeroMQ from the official template. Current Players receive push notifications over WebSocket at https://signage.example.com/xmr, using the regular HTTPS port. See Set Up a Firewall for more about firewalls.

Install with Docker Compose

Create a folder for Xibo and switch to it:

bash
mkdir -p /opt/xibo && cd /opt/xibo

Create a config.env file with a random database password and your domain. Only root should be able to read this file:

bash
umask 077
cat > config.env <<EOF
MYSQL_PASSWORD=$(openssl rand -hex 24)
CMS_SERVER_NAME=signage.example.com
CMS_USAGE_REPORT=false
EOF

Replace signage.example.com with your domain. Then create the compose.yaml file:

yaml
services:
  cms-db:
    image: mysql:8.4
    restart: always
    volumes:
      - ./shared/db:/var/lib/mysql
    environment:
      - MYSQL_DATABASE=cms
      - MYSQL_USER=cms
      - MYSQL_RANDOM_ROOT_PASSWORD=yes
    env_file: config.env
    mem_limit: 1g

  cms-xmr:
    image: ghcr.io/xibosignage/xibo-xmr:1.5
    restart: always
    env_file: config.env
    mem_limit: 256m

  cms-web:
    image: ghcr.io/xibosignage/xibo-cms:release-4.5.6
    restart: always
    volumes:
      - ./shared/cms/custom:/var/www/cms/custom
      - ./shared/backup:/var/www/backup
      - ./shared/cms/library:/var/www/cms/library
      - ./shared/cms/web/userscripts:/var/www/cms/web/userscripts
      - ./shared/cms/ca-certs:/var/www/cms/ca-certs
    environment:
      - MYSQL_HOST=cms-db
      - XMR_HOST=cms-xmr
      - CMS_USE_MEMCACHED=true
      - MEMCACHED_HOST=cms-memcached
    env_file: config.env
    ports:
      - "127.0.0.1:8085:80"
    mem_limit: 1g

  cms-memcached:
    image: memcached:alpine
    command: memcached -m 15
    restart: always
    mem_limit: 100M

Important lines and differences from the official template:

  • release-4.5.6 and 1.5 set the CMS and XMR versions. Updates are only installed when you apply them yourself.
  • 127.0.0.1:8085:80 makes the CMS accessible only from the server itself. The official template exposes port 80 directly and also exposes ZeroMQ port 9505. We leave both out.
  • ./shared/db contains the database, ./shared/cms/library the media library, and ./shared/backup the daily database backup created by Xibo.
  • We leave out the cms-quickchart container from the official template. It only renders charts in reports that Xibo sends by email.
  • CMS_USAGE_REPORT=false disables anonymous usage statistics sent to Xibo.

Start Xibo:

bash
docker compose up -d
docker compose logs -f cms-web

On its first startup, Xibo creates the database. This takes two to three minutes. It’s ready when Apache starts in the log and no new messages appear. Press Ctrl + C to exit the log view.

First Visit and Change the Default Password

Open an SSH tunnel to the server from your own computer:

bash
ssh -L 8085:127.0.0.1:8085 root@SERVER_IP

Then go to http://localhost:8085 in your browser and sign in with xibo_admin and the password password. Change the password immediately: click your username’s initials in the top-right corner, then click the pencil icon to edit your profile. Set a new, long password and save it. Sign out and back in with the new password to verify it. Xibo does not prompt you to change it. Next, set the Timezone under Administration > Settings > Regional; it is set to London by default.

Warning: Change the password before exposing the CMS

Set up the reverse proxy only after changing the default password. Otherwise, anyone who finds your address can use xibo_admin / password to take over the CMS and send content to your screens.

Access via HTTPS Through a Reverse Proxy

To access Xibo from anywhere, set up nginx as a reverse proxy with a certificate. See Set Up a Reverse Proxy for instructions on installing nginx, and SSL Certificate with Certbot for getting a certificate. A suitable server block for signage.example.com looks like this:

nginx
server {
    listen 443 ssl;
    server_name signage.example.com;

    ssl_certificate     /etc/letsencrypt/live/signage.example.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/signage.example.com/privkey.pem;

    client_max_body_size 2g;

    location / {
        proxy_pass http://127.0.0.1:8085;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_read_timeout 300s;
    }

    location /xmr {
        proxy_pass http://127.0.0.1:8085;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;
        proxy_read_timeout 3600s;
    }
}

client_max_body_size 2g allows uploads up to 2 GB, matching the limit in the Xibo container. The location /xmr block forwards the WebSocket connection used to send push notifications to Players. Check the configuration with sudo nginx -t and reload nginx with sudo systemctl reload nginx.

Once HTTPS is enabled, there are two more settings to configure:

  1. Secure cookies: Add the line CMS_PHP_COOKIE_SECURE=On to config.env.
  2. Real visitor IP addresses: Xibo temporarily blocks an IP address after several incorrect password attempts. Behind the reverse proxy, however, Xibo only sees the Docker network address. Without the following line, a block would affect all users at once. Xibo creates the settings-custom.php file itself on first startup:
bash
echo "\$trustedProxyIps = '10.0.0.0/8,172.16.0.0/12,192.168.0.0/16';" | sudo tee -a /opt/xibo/shared/cms/custom/settings-custom.php

These three ranges are private addresses used by Docker for its networks. Never enter public addresses here: any address you add can tell Xibo to accept an arbitrary visitor IP.

Apply both changes by running docker compose up -d in the /opt/xibo folder. You can leave XMR WebSocket Address under Administration > Settings > Displays blank. The Players will then connect to /xmr themselves for push notifications, using the CMS address you entered in the Player.

Back Up Your Data

Everything important is in the /opt/xibo/shared folder: the database, media library, and Xibo’s own daily database backup (shared/backup/db/latest.sql.gz). To make a complete backup, briefly stop Xibo and archive the folder along with the configuration files:

bash
cd /opt/xibo
docker compose stop
tar czf /root/xibo-backup-$(date +%F).tar.gz shared config.env compose.yaml
docker compose start

Then download the archive to another computer, for example using SFTP. A backup on the same server won’t help if the server fails.

Update Xibo

Find new versions on the Xibo Releases page. To update within version 4.5, enter the new version number for image in compose.yaml and restart:

bash
cd /opt/xibo
docker compose pull
docker compose up -d

On startup, Xibo updates the database to the new version automatically. Make a backup first. Since November 2026, the free edition has been called Xibo Community Edition and uses new version numbers (e.g. 2026.11.88). To switch from 4.5 to the Community Edition, the Docker files need to be changed. Follow the “Migrating from xibo-docker” guide in the Xibo repository.

Connect Your First Screen and Play Content

The steps are the same whether you’re using the One-Click App or a manual installation. Install a Player, connect it to the CMS, authorize it, and schedule a layout for it.

Install a Player

Download the Players from the Xibo download page and install one on the device connected to the screen, such as a Windows or Linux mini PC, an Android stick, or a smart TV running webOS or Tizen. Make sure the Player version is compatible with the CMS version. The One-Click App runs Xibo 4.5.

Info: Paid Players

The CMS is free. Xibo charges a license fee per screen for its Android, webOS, Tizen, and ChromeOS Players. The Windows and Linux Players are free.

Connect a Screen to the CMS

There are two ways to connect the Player to your CMS:

  • Enter the CMS address and key: During setup, enter your CMS address in the Player, such as its access link https://signage.example.com, and the CMS Secret Key. Find the key in the CMS under Administration > Settings > Configuration.
  • Use a code: If the Player displays a code on first startup, click Add Display under Displays in the CMS and enter the code. Xibo briefly sends the CMS address and key to the Player through an Xibo service. Your server needs to be able to connect to the internet for this to work.

New screens cannot retrieve content until you authorize them. After connecting, the Player appears in the list under Displays. Open the menu at the end of its row and select Authorise. The Player will only download content after that.

Tip: Keep the key secret

Any device can use the CMS Secret Key to identify itself as a screen to your CMS. It won’t receive content until you authorize it, but don’t include the key in screenshots or public guides. Check new entries under Displays before authorizing them.

Upload Media and Create a Layout

  1. Upload your images, videos, or PDFs under Library > Media using Add Media.
  2. Create a new layout under Design > Layouts. In the layout editor, drag media and widgets such as a clock, weather, RSS ticker, or webpages into the layout regions.
  3. Changes to a layout are drafts at first. Click Publish in the editor to send the updated version to the screens.

Schedule a Layout

Go to Schedule > Events to choose which layout runs on which screen and when. Create an event, select the layout, the screen or a display group, and the time period. To have content run whenever nothing else is scheduled, set a Default Layout in the screen’s settings under Displays.

Players retrieve schedules and new content at regular intervals. The /xmr WebSocket connection also lets the CMS notify current Players immediately, for example when you publish a layout.

Limitations

  • Older Players without WebSocket: The classic push port 9505 (ZeroMQ) is not exposed in the One-Click App. Older Players that only support this method will receive changes at their next scheduled check-in.
  • Reports by email: Charts are missing from reports Xibo sends by email because the required additional service is not included. Reports in the CMS itself work.
  • Uploads: Files can be no larger than 2 GB. With the One-Click App, change the limit in the App environment using CMS_PHP_UPLOAD_MAX_FILESIZE and CMS_PHP_POST_MAX_SIZE.
  • Storage: Every video is stored on the server. The media library can grow quickly if you have many large videos. You can set a limit under Library Size Limit in Administration > Settings > Network.

Conclusion

Xibo lets you control your screens from your own CMS, no matter how many locations they’re at. The quickest way to get started is with the One-Click App: set up your admin account during installation, check the time zone, connect and authorize Players, and schedule a layout. Manual installation with Docker Compose is a good option if you want to run Xibo behind your own web server. Remember to change the default password before making the CMS accessible from the internet.

Free tools

Related tools for servers and developers

View all

FAQ

Frequently asked questions

For most people, the One-Click App is the best place to start: Xibo runs over HTTPS at your address within minutes, you set up your own admin account during installation, and the default xibo_admin / password login is not used. Push notifications to Players work over /xmr without any extra setup. Manual installation with Docker Compose is useful if you don’t use One-Click Apps or want to run Xibo behind your own web server. You’ll need to configure the reverse proxy and certificate yourself, and change the default password.
With the One-Click App, sign in using the values you entered for ADMIN_USERNAME and ADMIN_PASSWORD during installation. You can find them in the app settings (gear icon), under App Environment. The default xibo_admin login with the password password does not work there. With your own Docker installation, it is used after the first startup, so change the password immediately.
The Xibo CMS is open source (AGPL-3.0) and free. There may be a cost for the Players on your screens: Xibo charges a license fee per screen for the Android, webOS, Tizen, and ChromeOS Players, while the Windows and Linux Players are free. You’ll also need a VPS to run the CMS.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.