Install Nextcloud on Virtualmin: GDPR-compliant cloud for clubs

Learn how to install Nextcloud step by step on Virtualmin. This gives your club a GDPR-compliant file sharing, calendar, and contact management – without cloud dependency.

Why Nextcloud for clubs?

Clubs face particular challenges: many members, sensitive data, and often a limited budget. At the same time, data protection and GDPR compliance are more important than ever. Nextcloud offers the ideal solution: a self-hosted cloud for file sharing, calendar, contacts, and much more – all in your own hands.

With Nextcloud on your own server, you keep full control over your data. No dependence on external cloud providers, no hidden costs, and no data protection concerns. Instead, you benefit from a flexible and secure solution tailored exactly to the needs of your club.

Requirements for the installation

Before you begin the installation, make sure you meet the following requirements:

  • A server with Virtualmin: You need a server on which Virtualmin is already installed and configured. If you don't have one yet, check out our Virtual Servers.
  • A domain: To access Nextcloud, you need a domain that points to your server. You can register a domain directly with us here.
  • SSL certificate: For a secure connection, an SSL certificate is mandatory. Virtualmin offers you the option to create free Let's Encrypt certificates.
  • Sufficient storage space: Depending on the amount of data your club has, you should plan enough storage space. Our web hosting packages offer flexible storage options.

Step-by-step guide to Nextcloud installation

1. Create a virtual server in Virtualmin

Log in to Virtualmin and create a new virtual server for your Nextcloud domain. Choose the option "Create Virtual Server" and enter the desired domain. Make sure to enable the "SSL enabled" option to obtain a certificate later.

2. Set up the database

Nextcloud requires a database. In Virtualmin, you can easily create a MySQL or MariaDB database via the "Manage Databases" menu. Note down the database name, username, and password – you will need them later.

3. Download and extract Nextcloud

Connect to your server via SSH and navigate to the web directory of your virtual server (e.g., /home/username/public_html). Download the latest Nextcloud release and extract it:

wget https://download.nextcloud.com/server/releases/latest.tar.bz2
tar -xjf latest.tar.bz2
mv nextcloud/* .
rmdir nextcloud
rm latest.tar.bz2

4. Set directory permissions

For Nextcloud to function properly, you need to adjust the permissions for certain directories. Run the following commands:

chown -R username:username .
chmod -R 755 .
chown -R username:username /home/username/.nextcloud

5. Install Nextcloud via the browser

Now open your domain in a browser. Nextcloud's installation wizard will guide you through the setup. Enter the database name, user, and password you created in step 2. Choose "MySQL/MariaDB" as the database type and enter "localhost" as the database host.

After successful installation, you can create an administrator account for your club.

6. Activate SSL certificate

To encrypt the connection, you should set up an SSL certificate. In Virtualmin, under "Server Configuration", select "Manage SSL Certificate" and request a free Let's Encrypt certificate. After that, your Nextcloud instance will be accessible via HTTPS.

GDPR-compliant file sharing and more

After installation, you can use Nextcloud optimally for your club. Here are some features that are particularly useful for clubs:

  • File sharing: Share documents, images, and videos securely with members. You can set permissions and decide who can see or edit what.
  • Calendar: Manage shared appointments and events. Each member can have their own calendar or access shared calendars.
  • Contacts: Maintain a central contact list for all members. Synchronize it with your smartphone or computer.
  • Automatic updates: With the right settings in Virtualmin, you can enable automatic updates for Nextcloud to always use the latest version with security patches.
  • User management: Create user accounts for your members and assign different roles. This helps you keep track of access rights.

Automatic updates and maintenance

To ensure the security of your Nextcloud instance, it is important to perform regular updates. You can set up a cron job in Virtualmin to use the Nextcloud CLI for updates. This way, everything runs automatically in the background.

Don't forget to create regular backups of your database and files. Virtualmin offers integrated backup functions that you can configure easily.

Conclusion

With Nextcloud on Virtualmin, your club gets a powerful and GDPR-compliant cloud solution. Thanks to Virtualmin, installation is surprisingly easy, and you have full control over your data. If you don't have a suitable server yet, check out our VPS servers or web hosting packages – we are happy to support you with your project.