Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Linux Tutorials»How to Install ownCloud 10 on Fedora 34/33

    How to Install ownCloud 10 on Fedora 34/33

    RahulBy RahulMay 16, 20192 Mins ReadUpdated:July 25, 2021

    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.

    install owncloud 1

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

    install owncloud 2

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

    install owncloud after login

    filemanager owncloud
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow to Install Webmin on Ubuntu 18.04 & 16.04 LTS
    Next Article How To Disable Directory Listing in Apache

    Related Posts

    (Resolved) userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms

    Updated:May 10, 20221 Min Read

    How to Install Apache ActiveMQ on Ubuntu 22.04

    3 Mins Read

    How To Enable SSH Server on Ubuntu 22.04

    Updated:April 22, 20222 Mins Read

    How To Install LAMP Stack on Ubuntu 22.04 LTS

    Updated:April 20, 20225 Mins Read

    10 Best Linux Video Players in 2022

    Updated:February 18, 20226 Mins Read

    How to Switch Python Version in Ubuntu & Debian

    Updated:April 22, 20223 Mins Read

    2 Comments

    1. John Galt on February 8, 2022 10:09 pm

      You have only HALF of these commands preceded by “sudo”, but in fact *ALL* of them have to be done that way. Either that or just do a “sudo -i” and skip the sudo command going forward.

      And as has been the case for EVERY tutorial for setting up Nextcloud/Owncloud, there is NO explanation of what values need to be used with mysql_secure_installation. So we have to make wild and probably wrong decisions. Nnd with the “GRANT ALL ON owncloud.* to ‘owncloud’@’localhost’ IDENTIFIED BY ‘_password_’;” command, do we chose our own password, or does Owncloud have to be hard-coded to that one specific password?

      In the end, as has been the case with **EVERY** Nextcloud/Owncloud tutorial, all we get is a completely non-functioning server.

      There must be something other than these two, because these obviously will never work.

      Reply
    2. Sebastian on June 2, 2019 10:19 am

      Great tutorial. But I would recommend to use Nextcloud instead. It works very similar but has a lot more features, is faster and 100% open source. The original developers of Owncloud moved all to Nextcloud. But most of your tutorial should work 100% with Nextcloud. 🙂

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • How to Enable / disable Firewall in Windows
    • How to Install JAVA on Ubuntu 22.04
    • Switching Display Manager in Ubuntu – GDM, LightDM & SDDM
    • Changing the Login Screen Background in Ubuntu 22.04 & 20.04
    • How To Install PHP (8.1, 7.4 or 5.6) on Ubuntu 22.04
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.