

Hit ENTER when prompted for the root password and press ‘Y’ to set the root password. To get started with securing your MySQL server, run the command: $ sudo mysql_secure_installation We, therefore, need to perform additional steps to harden the MariaDB server.
Owncloud data directory permissions install#
$ sudo apt install mariadb-serverīy default, MariaDB is not secured and is prone to security breaches. It’s a fork of MySQL and has been preferred to MySQL since the takeover of MySQL by Oracle.

MariaDB is a popular open-source database server that is widely used by developers, database enthusiasts, and also in production environments. Verify Apache Page in UbuntuĬheck PHP Version in Ubuntu Step 3: Install MariaDB in Ubuntu Now head over to your browser and type in your server’s IP address in the URL bar as shown: You should get a webpage below showing that Apache is installed and running. To start and enable Apache to run on boot, run the commands. $ sudo dpkg -l apache2įrom the output, we can see that we have installed Apache version 2.4.29. Once the installation is complete you can verify if Apache is installed by running the dpkg command. $ sudo apt install apache2 libapache2-mod-php7.2 openssl php-imagick php7.2-common php7.2-curl php7.2-gd php7.2-imap php7.2-intl php7.2-json php7.2-ldap php7.2-mbstring php7.2-mysql php7.2-pgsql php-smbclient php-ssh2 php7.2-sqlite3 php7.2-xml php7.2-zip For this reason, we are going to install the Apache webserver to serve Owncloud files as well as PHP 7.2 and additional PHP modules necessary for OwnCloud to function smoothly. OwnCloud is built on PHP and is typically accessed via a web interface. Update Ubuntu System Packages Step 2: Install Apache and PHP 7.2 in Ubuntu $ sudo apt update -y & sudo apt upgrade -y Step 1: Update Ubuntu System Packagesīefore getting started, update the system packages and repositories using the following apt command.
Owncloud data directory permissions how to#
In this article, you will learn how to install OwnCloud on Ubuntu 18.04 and newer versions. Nevertheless, you can still share files such as documents, images, and videos to mention a few, and access them across multiple devices such as smartphones, tablets, and PCs. However, unlike Dropbox, OwnCloud does not have the datacenter capacity to store hosted files. OwnCloud is a leading open-source file sharing and cloud collaboration platform whose services and functionalities are similar to those offered by DropBox and Google Drive.
