Owncloud server debian

In this guide, we are going to learn how to install ownCloud Server on Debian 11. If you need to have your own self-hosted cloud storage that provides a safe, secure, and .

How to Install and Configure ownCloud on Debian 11

ownCloud is an open source project that can be installed on your server to securely store and access files.

Prerequisites

Debian 11 installed and root access to the server.

ownCloud requires either a LAMP Stack (Apache) or LEMP Stack (Nginx) installed and running.

In this case, We are going with LAMP (Apache, MariaDB and PHP) Stack.

Update the system

Update the Debian system and all it's packages with below command,

Install and Setup LAMP Stack

To begin with, run the commands below to install Apache and MariaDB.

Install PHP and other Required Modules.

Run the below command to install PHP and it's modules

Install ownCloud Server on Debian 11

Install ownCloud repository

Owncloud is not included by default on Debian 11 repositories. ownCloud maintains it's own repository for different kinds of Linux distributions.

There are different packages available for various Debian releases.

Click the following link to install ownCloud repositories for Debian 11 server from opensuse.org.

Once the GPG key is added, proceed with the below command.

Run a system update once again,

Once the update is done, install owncloud.

Configure Apache for ownCloud

Once the ownCloud is installed, the contents are placed in directory.

You will have to create an ownCloud apache configuration for the Apache web server to serve the contents,

Copy and paste the command below to create configuration file.

Enable ownCloud site via apache.

Disable default Apache site;

Enable additional recommended Apache modules.

Verify Apache configuration syntax.

Restart Apache if the configuration is fine.

Create ownCloud Database and User

Run the script to set root password, disable remote root login, remove test databases.

Login to MariaDB database server and create ownCloud database and database user.

If you already enabled password authentication, then login via;

Next, execute the commands below to create ownCloud database and it's user.

Finalize ownCloud Configuration

Open your browser and navigate to .

This will load the ownCloud Panel and prompts you to configure some of the things like below,

  • Creating Admin user account with password, Configure the DataBase with the information that was used earlier during the setup.

  • Click on the Finish Setup button to complete the configuration.

Next, login with the Admin user created moments ago and you will enter the ownCloud Dashboard.

When configuration completes, you will get to a login page.

Enter your admin user login details to login to ownCloud dashboard.

This concludes our guide on installing ownCloud on Debian 11 system.

In this guide,

CrownCloud
Get a SSD powered KVM VPS at $4.5/month!
1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month
Use Code:
WELCOME for 10% off!

Get Started Now!