06Templates (apps on your server)
Nextcloud from a template on your VPS
Set up Nextcloud on your VPS using a template: Apache, PHP, MariaDB, Redis and SSL certificate. Requirements, first login, files and help with errors.
In short
The template installs Nextcloud with Apache, PHP-FPM, MariaDB, Redis, background jobs and an SSL certificate from Let’s Encrypt. You get the address, user name and password of your admin account.
Requirements
Section titled “Requirements”- at least 2 GB RAM, 20 GB free storage
- Debian 12, Debian 13 or Ubuntu 24.04 (Ubuntu 22.04 has a PHP version that’s too old)
- a domain that points to your server’s IP
- ports 80 and 443 free. Nextcloud uses Apache and doesn’t get along with the other templates’ HTTPS proxy on the same server.
Installation
Section titled “Installation”- Server Hub → your server → Templates → Nextcloud → Install.
- Enter the domain, email address and admin user name, and check the Let’s Encrypt terms.
- Start installation. After about 10 minutes, your Nextcloud is ready.
Afterwards
Section titled “Afterwards”- Log in and change the password under Personal settings → Security, and ideally enable two-factor authentication too.
- Under Administration settings → Overview, Nextcloud shows whether there’s anything left to do.
- For emails, enter an SMTP server under Administration settings → Basic settings. On VPS, mail ports are blocked at first – use a service with port 2525 or ask our support.
| What | Where |
|---|---|
| Program | /var/www/nextcloud |
| Your files | /var/nextcloud-data |
| Background jobs | systemctl list-timers nextcloudcron.timer |