Quick Install Owncloud in Centos 6.x 64 bit

Status
Not open for further replies.

Bharat

Active Member
2,003
2010
841
340
With owncloud you can have drive storage like dropbox or google drive with your own server and your own infrastructure. Owncloud made by PHP and backend database MySQL, SQLLite or PostgreSQL. Owncloud is Opensource.

OwnCloud gives you universal access to your files through a web interface or WebDAV. It also provides a platform to easily view & sync your contacts, calendars and bookmarks across all your devices and enables basic editing right on the web. Installation has minimal server requirements, doesn’t need special permissions and is quick. ownCloud is extendable via a simple but powerful API for applications and plugins.

ownCloud started with a keynote by Frank Karlitschek at Camp KDE’10 where he talked about the need of a self-controlled free and open source cloud.

For more :- http://owncloud.org/

This chapter will introduce you to the installation of ownCloud in Centos 6 64bit.

Assumption:
Clean Fresh Minimal Installed Centos 6 64Bit .

Lets start with getting latest update for your installed system .

Code:
yum update -y

u5MOof7.png


Using above command , the system will automatically detect and install latest updates available . Once its finished it'll be something like this

AxsSPM1.png


Lets install the Prerequisites needed to install Owncloud .

To run ownCloud, your webserver must have the following installed:

Code:
yum -y install mysql-server httpd php php-mysql unzip wget php-json php-xml php-mbstring php-zip php-gd curl php-curl php-pdo

ZaWez6I.png


The system will then start installation of the above packages . After install it should be something like this :

nJKNujy.png


Code:
chkconfig httpd on
Code:
chkconfig mysqld on

Mefs1iM.png


Starting Apache & MySQL

Code:
service mysqld start

Code:
service httpd start

v2YJY8p.png


Install the MYSQL user and database.

Code:
mysql_secure_installation

ucfG8Le.png


5qwPDdi.png


Lp0KvCZ.png


Lets create an database :

Code:
echo 'CREATE DATABASE owncloud;' | mysql -p
Code:
echo "GRANT ALL PRIVILEGES ON owncloud.* TO 'owncloud'@'localhost' IDENTIFIED BY 'your_password';" | mysql -p
Code:
echo "FLUSH PRIVILEGES;" | mysql -p

19t3sGj.png


Change Directory to /var/www/html

Code:
cd /var/www/html

ESZK50G.png


Download Owncloud :

Code:
wget http://download.owncloud.org/community/owncloud-4.5.10.tar.bz2

7qJB1gl.png


Lets extract it :

Code:
tar xvf owncloud-4.5.10.tar.bz2

PhdjPrr.png


It will then extract every file to owncloud folder .

PAr2rdc.png


OwnCloud needs these to be writable by the Webserver .

Code:
chown -R apache:apache owncloud

Ck1LVom.png


Follow the Install Wizard

Open your web browser and navigate to your ownCloud instance. If you are installing ownCloud on the same machine as you will access the install wizard from, the url will be: http://IP/owncloud . Click on the Advanced options to show the configuration options. You may enter admin credentials and let ownCloud create its own database user, or enter a preconfigured user. If you are not using apache as the webserver, please set the data directory to a location outside of the document root. See the advanced install settings.

xiG3hP4.png


we1GWaF.png


Click on Finish Setup to finish up the installation . You will then have your own Cloud Server for your files .

Z0c1p4b.png


You can also add as many users or admin in this cloud for uploading the files .

syrkUdn.png


This cloud server can be used for many purposes likewise saving your documents that you can access from anywhere using cloud and if its personal then its the best .

Let me know if anyone is facing any issues in the installation or need this to be installed . Just PM me with your questions , i'll get back to you asap .
 
Last edited:
8 comments
Status
Not open for further replies.
Back
Top