Me Geeky

Sharing Technology with You
Menu
  • Android
    • Gadgets
    • Android News
  • Apple
    • Activation Bypass
    • Cydia Tweaks And Apps
    • Quick Fixes
    • Download IPSW
  • Downloads
    • Custom Roms
    • Mods & Tweaks
    • Stock Roms
  • Reviews
    • Nokia
    • QMobile
    • Samsung
    • App Reviews
    • Apple Reviews
    • Others
  • Tips & Tricks
  • How to
  • Linux
Home
How to
Install owncloud 8 in CentOS 7 – Get your own cloud storage
How to

Install owncloud 8 in CentOS 7 – Get your own cloud storage

Muhammad Hashim

Today I will show you how to install owncloud on centOS 7 via SSH CLI. And get your own cloud storage without any extra cost. I am using a VPS in this guide with 512MB RAM and 100GB space. At the end of this guide, I should have roughly 98GB of cloud storage. Owncloud requires MySQL sever, apache server and PHP 5.5 installed on your server, because owncloud is a web application working on SQL and PHP 5.5. In this tutorial we are going to install Apache as our web server, mariadb as our SQL server and Apache as web-server.

Owncloud is an open-source cloud file storage solution that is available for almost any Operating System you can think of. There are also dedicated owncloud clients available for iPhone, Android and Windows phone market. So you can also access your owncloud storage from your mobile devices.

Things required to install owncloud.

  1. A system running centOS 7. I am using a VPS.
  2. Basic knowledge of SSH commands.
  3. 30 minutes of your time.
  • How To Install VestaCP on CentOS 6.5 VPS
  • How to Install Zpanel on CentOS 6.x and Ubuntu
  • How to Install VNC server on Ubuntu
  • Benifitial uses of VPS, Buying guide.

Install owncloud in centOS 7

  1.  Login to your VPS as root using SSH client. I am using putty for windows but you can also use terminal if you are mac user.
  2. Install php5.5, Apache, mysql server and other extensions required for owncloud. Owncloud requires LAMP stack to be installed to work.
    yum update
    yum install httpd php php-mysql php-dom php-mbstring php-gd php-pdo php-json php-xml php-zip php-gd curl php-curl php-mcrypt php-pear maridb mariadb-server -y
    How to install owncloud 8 via ssh in centos 7
  3. Start mysql server by following command:
    systemctl start mariadb
  4. Make your SQL server secure by running following command:
    mysql_secure_installation
  5. You will be prompted to enter your mysql password, just set a secure and hard-to-guess password and disable anonymous access to mysql server.
  6. Download latest version of owncloud using wget command. I am using owncloud 8.0.4 which is latest at this time.
    wget https://download.owncloud.org/community/owncloud-8.0.4.zip
  7. Extract the downloaded archive using this command.
    yum install -y zip unzip
    unzip owncloud-8.0.4.zip
  8. Now move owncloud directory to apache folder using the command given below.
    mv owncloud /var/www/html/owncloud
  9. Set the owner of data/ apps/ and config folders to apache. Just copy and paste all command one by one.
    chown -R apache:apache /var/www/html/owncloud
  10. After that you have to make a new SQL database and grant full access to a user.
    mysql -uroot -p
    Enter your mysql password that you set in earlier steps
    CREATE DATABASE owncloud;
    GRANT ALL PRIVILEGES ON owncloud.* TO 'owncloud'@'localhost' IDENTIFIED BY 'PASSWORD_HERE';
    FLUSH PRIVILEGES;
    quit;
    Install Owncloud 8 in centos 7 manually
  11. Start the apache server and access you owncloud via http://ip-address/owncloud
    systemctl start httpd
  12. Now you have to make sure that your owncloud files are not directly accessible to public. I highly recommend you to set you data directory somewhere else in the server, because you don’t want unauthorized access to you Owncloud files.Install owncloud manually in centOS 7
  13. In your web browser, you have to create admin account first. Also enter the database details you choose in step 10.
  14. Now you should be able to access owncloud from your computer and mobile as well.

If you liked it, then share with others and help us spread the word. Join the discussion below if you have any suggestion or problem during the process.

Share
Tweet
Google+
Pinterest
Stumble
Prev Article
Next Article

Related Articles

AirBlue Sharing for iOS 8.3
AirBlue Sharing for iOS 8.3 is now available for iOS …

AirBlue Sharing for iOS 8.3 | Now Working 100%

AppAddict for iOS 8.3
AppAddict which is one of the most popular alternative to …

AppAddict for iOS 8.3 | Updated and Working

About The Author

Muhammad Hashim

Leave a Reply

Cancel reply

Pages

  • About us
  • Contact us
  • Download IPSW
  • FB Policy
  • Sitemap

Me Geeky

Sharing Technology with You
Copyright © 2023 Me Geeky
Theme by MyThemeShop.com
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.

SAVE & ACCEPT