ownCloud is a self-hosted file synchronization and sharing platform that enables you to access your files and data securely from anywhere. It provides a user-friendly interface and offers features such as file sharing, file versioning, and collaboration tools.
To install ownCloud on CentOS 8, follow the steps below:
$ sudo dnf update
$ sudo dnf install epel-release
$ sudo dnf install -y httpd mariadb-server php php-mysqlnd php-pdo php-gd php-mbstring php-xml
$ sudo systemctl start httpd
$ sudo systemctl enable httpd
$ sudo systemctl start mariadb
$ sudo systemctl enable mariadb
$ sudo mysql_secure_installation
$ sudo mysql -u root -p
MariaDB> CREATE DATABASE owncloud;
MariaDB> CREATE USER 'owncloud'@'localhost' IDENTIFIED BY 'password';
MariaDB> GRANT ALL PRIVILEGES ON owncloud.* TO 'owncloud'@'localhost';
MariaDB> FLUSH PRIVILEGES;
MariaDB> exit;
$ sudo dnf install -y https://download.owncloud.org/download/repositories/stable/owncloud/owncloud-files-10.8.0-1.el8.noarch.rpm
$ sudo nano /etc/httpd/conf.d/owncloud.conf
ServerAdmin [email protected]
DocumentRoot /var/www/html/owncloud/
ServerName example.com
ServerAlias www.example.com
Alias /owncloud "/var/www/html/owncloud/"
Options +FollowSymlinks
AllowOverride All
Require all granted
ErrorLog /var/log/httpd/owncloud_error.log
CustomLog /var/log/httpd/owncloud_access.log combined
$ sudo firewall-cmd --permanent --add-service=http
$ sudo firewall-cmd --reload
$ sudo chown -R apache:apache /var/www/html/owncloud/
$ sudo chmod -R 755 /var/www/html/owncloud/
$ sudo systemctl restart httpd
http://your_domain_or_ip/owncloud
Congratulations! You have successfully installed ownCloud on CentOS 8. You can now start using ownCloud to securely store and share your files.
What our customers say about us
Create your free account today.