How to Install ownCloud 10 on Fedora 34/33

Channel: Linux
Abstract: Now extract downloaded archive under website document root and setup appropriate permissions on files and directories. tar xjf owncloud-10.8.0.tar.bz2

ownCloud provides data access using web interface. It also provides options to sync and share across devices—all under your control. Using ownCloud we can easily implement restrictions on file (ACLs) per user. ownCloud provides its desktop clients (Windows, MAC, Linux) as well as mobile apps (Android and iPhone) to keep our data sync on your device.

This tutorial will help you to Install ownCloud 10 on Fedora 31/30/29/28 Linux systems.

Step 1 – Setup LAMP

Before installation, we first need to set up a running LAMP server. If you have already running the LAMP stack skip this step else use the followings commands to set up the lamp stack.

Install Apache
sudo dnf install httpd
sudo systemctl enable httpd.service
sudo systemctl start httpd.service
Install MariaDB
sudo dnf install mariadb-server
sudo systemctl enable mariadb.service
sudo systemctl start mariadb.service
/usr/bin/mysql_secure_installation
Install PHP
sudo dnf install php php-common php-mysqlnd php-xml php-json php-gd php-mbstring
sudo systemctl restart httpd
Step 2 – Download ownCloud Archive

After successfully configuring lamp server on your system, Let’s download latest ownCloud from its official website.

cd /var/www/html
wget https://download.owncloud.org/community/owncloud-10.8.0.tar.bz2

Now extract downloaded archive under website document root and setup appropriate permissions on files and directories.

tar xjf owncloud-10.8.0.tar.bz2
chown -R apache.apache owncloud
chmod -R 755 owncloud

Now, remove the archive file.

rm -f owncloud-10.8.0.tar.bz2
Step 4 – Create MySQL Database and User

After extracting code, let’s create a MySQL database and user account for configuring ownCloud. Use the following set of commands to log in to the MySQL server and create a database and user.

mysql -u root -p
Enter password:

mysql> CREATE DATABASE owncloud;
mysql> GRANT ALL ON owncloud.* to 'owncloud'@'localhost' IDENTIFIED BY '_password_';
mysql> FLUSH PRIVILEGES;
mysql> quit
Step 5 – Install ownCloud with Web Installer

Now access the ownCloud directory on the web browser as below. Change localhost to your server IP address or domain name.

 http://localhost/owncloud/

Enter new admin credentials to create an admin account and provide the location of the data folder.

Now slide your page down and input the database credentials and click on Finish Setup.

After completing the setup you will get the admin dashboard. Where you can create users, groups assigned them permissions, etc.

Ref From: tecadmin

Related articles