We're here to assist with any of your needs, don't hestitate to reach out.
ownCloud is a self-hosted file sync and share platform that allows you to store and access data on your own server. It provides similar functionality to popular cloud storage services, but with the added benefit of complete control over your data. In this guide, we will walk you through the installation process of ownCloud on Ubuntu 18.04.
Before installing ownCloud, make sure you have the following:
First, make sure your Ubuntu system is up to date by running the following commands:
sudo apt update
sudo apt upgrade
ownCloud requires a few extra PHP modules to be installed. Install them using the command below:
sudo apt install -y php-{xml,curl,gd,mbstring,intl,zip}
Next, download the latest version of ownCloud from the official website:
wget https://download.owncloud.org/community/owncloud-complete-*.tar.bz2
Extract the downloaded archive:
tar -xjf owncloud-complete-*.tar.bz2
Move the ownCloud directory to the Apache web root directory:
sudo mv owncloud /var/www/html/
Create a new Apache virtual host configuration file for ownCloud:
sudo nano /etc/apache2/sites-available/owncloud.conf
Insert the following content into the file:
Alias /owncloud "/var/www/html/owncloud/"
Options +FollowSymlinks
AllowOverride All
Dav off
SetEnv HOME /var/www/html/owncloud
SetEnv HTTP_HOME /var/www/html/owncloud
Save and close the file. Then, enable the ownCloud site by creating a symbolic link:
sudo a2ensite owncloud.conf
Enable the required Apache modules:
sudo a2enmod rewrite
sudo a2enmod headers
sudo a2enmod env
sudo a2enmod dir
sudo a2enmod mime
Restart the Apache service to apply the changes:
sudo systemctl restart apache2
Login to your MySQL server using the command below. Replace 'root' with your MySQL username if necessary:
sudo mysql -u root -p
Create a new database and user for ownCloud:
CREATE DATABASE owncloud;
GRANT ALL ON owncloud.* TO 'ownclouduser'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
EXIT;
Open your web browser and navigate to your ownCloud domain name or IP address. You will be presented with the ownCloud setup wizard.
Follow the on-screen instructions to complete the installation process. When prompted, enter the following details:
Click on "Finish Setup" once you have entered all the required information.
That's it! You have successfully installed ownCloud on Ubuntu 18.04. You can now start using ownCloud to store and sync your data.
What our customers say about us
Create your free account today.