How to Install ownCloud on CentOS 8


Easily deploy your favorite applications in seconds at an unbeatable price for your next projects.

Installing ownCloud on CentOS 8

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:

  1. Update your system:
    $ sudo dnf update
  2. Enable the EPEL repository:
    $ sudo dnf install epel-release
  3. Install other required dependencies:
    $ sudo dnf install -y httpd mariadb-server php php-mysqlnd php-pdo php-gd php-mbstring php-xml
  4. Start and enable the Apache service:
    $ sudo systemctl start httpd
    $ sudo systemctl enable httpd
  5. Start and enable the MariaDB service:
    $ sudo systemctl start mariadb
    $ sudo systemctl enable mariadb
  6. Secure your MariaDB installation:
    $ sudo mysql_secure_installation
  7. Create a new MariaDB database and user for ownCloud:
    $ 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> exit;
  8. Install ownCloud:
    $ sudo dnf install -y https://download.owncloud.org/download/repositories/stable/owncloud/owncloud-files-10.8.0-1.el8.noarch.rpm
  9. Configure Apache for ownCloud:
    $ 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
  10. Allow necessary ports through the firewall:
    $ sudo firewall-cmd --permanent --add-service=http
    $ sudo firewall-cmd --reload
  11. Set the correct ownership and permissions:
    $ sudo chown -R apache:apache /var/www/html/owncloud/
    $ sudo chmod -R 755 /var/www/html/owncloud/
  12. Restart Apache:
    $ sudo systemctl restart httpd
  13. Access ownCloud:
    Open a web browser and visit http://your_domain_or_ip/owncloud
    Follow the on-screen instructions to complete the installation.

Congratulations! You have successfully installed ownCloud on CentOS 8. You can now start using ownCloud to securely store and share your files.

Refer A Friend
Get $25

Installing ownCloud
ownCloud installation
CentOS 8 ownCloud
how to install ownCloud on CentOS 8
ownCloud setup on CentOS 8
ownCloud installation guide
ownCloud CentOS 8 tutorial
ownCloud installation on CentOS
step-by-step ownCloud installation
CentOS 8 ownCloud installation instructions

Why Customers Love Us

What our customers say about us

Ready To Get Started For Free?

Create your free account today.