Steps to Install ownCloud 8.2 on CentOS 7/RHEL7
ownCloud is open source file sync and share software for everyone from individuals operating the free ownCloud Server edition, to large enterprises and service providers operating the ownCloud Enterprise Subscription. ownCloud provides a safe, secure, and compliant file synchronization and sharing solution on servers that you control.
You can share one or more files and folders on your computer, and synchronize them with your ownCloud server. Place files in your local shared directories, and those files are immediately synchronized to the server and to other devices using the ownCloud Desktop Sync Client, Android app, or iOS app. To learn more about the ownCloud desktop and mobile clients, please refer to their respective manuals:
Hostname and ip address of my CentOS 7 machine is “owncloud.hackthesec.co.in” & “192.168.1.101″
Following are the prerequisites for ownCloud.
- PHP
- Apache Web Server ( Apache )
- Database Server ( MariaDB or SQLite or Oracle or PostgreSQL )
Step:1 Install PHP and Web Server (HTTPD)
Use below yum command to install php and apache web server (httpd) and other PHP dependencies.
Start the Web Server service
Step:2 Install and Configure Database for ownCloud.
In CentOS 7 MariaDB is the default database server.
Start the Database Service
Set the Root password and other database parameters using below command :
Create the database (owncloud_db).
Create a database user(dbuser) and grant all the privileges on the database (owncloud_db)
Step:3 Install ownCloud package using yum command.
ownCloud Package is not available in the default yum repositories so we will set below EPEL and ownlcoud repositories.
Note : Install wget package in case it is not installed on your system.
Allow Web Server’s port in the OS(Operating System) firewall.
Set the required permissions on ownlcoud folder “/var/www/html/owncloud”
Set the below SELinux Rules if SELinux is enabled on your system
Step:4 Start ownCloud Installation from the Browser.
To start the ownCloud installation open the web browser and type :
http://192.168.1.101/owncloud/
Replace the ip address as per your setup.
Specify the User name as ‘admin’ and give password that you want set for admin user. Data Folder as ‘/var/www/html/owncloud/data’ and Database name (owncloud_db) and database user (dbuser) credentials that we created in above steps.
Click on ‘Finish setup’
Get ownCloud Clients and aaps to sync your data.
Home Page of Our ownCloud will look like below.
Installation and Configuration of ownCloud is completed. Now upload data and share it among users.
By Default only 513MB data file can be uploaded in case you want to change this limit , edit the file ‘/var/www/html/owncloud/.htaccess‘ and set the limit as per requirement.
0 comments:
Post a Comment