Wednesday, May 22, 2013

Own Cloud Web app for centralized File sharing.

Administrators manual for ownCloud, a flexible, open source file sync and share solution. It comprises of the ownCloud server, as well as client applications for Microsoft Windows, Mac OS X and Linux (Desktop Client) and mobile clients for the Android and Apple iOS operating system.

Install the following packages:    yum -y install httpd php php-mysql php-mbstring php-devel mysql mysql-server zlib zlib-devel pcre-devel phpmyadmin 

Installed:
  pcre-devel.i686 0:7.8-6.el6           php.i686 0:5.3.3-22.el6            php-devel.i686 0:5.3.3-22.el6
  php-mbstring.i686 0:5.3.3-22.el6      php-mysql.i686 0:5.3.3-22.el6

Dependency Installed:
  php-cli.i686 0:5.3.3-22.el6        php-common.i686 0:5.3.3-22.el6        php-pdo.i686 0:5.3.3-22.el6

Updated:
  httpd.i686 0:2.2.15-26.el6.centos    mysql.i686 0:5.1.69-1.el6_4       mysql-server.i686 0:5.1.69-1.el6_4
  zlib.i686 0:1.2.3-29.el6             zlib-devel.i686 0:1.2.3-29.el6

Dependency Updated:
  httpd-devel.i686 0:2.2.15-26.el6.centos              httpd-manual.noarch 0:2.2.15-26.el6.centos
  httpd-tools.i686 0:2.2.15-26.el6.centos              mysql-libs.i686 0:5.1.69-1.el6_4

[root@test ~]# wget http://download.owncloud.org/community/owncloud-5.0.0.tar.bz2
--2013-05-05 09:25:16--  http://download.owncloud.org/community/owncloud-5.0.0.tar.bz2
Resolving download.owncloud.org... 50.30.42.17
Connecting to download.owncloud.org|50.30.42.17|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13799361 (13M) [application/x-bzip]
Saving to: “owncloud-5.0.0.tar.bz2”

100%[====================================================================>] 13,799,361   246K/s   in 69s

2013-05-05 09:26:26 (194 KB/s) - “owncloud-5.0.0.tar.bz2” saved [13799361/13799361]


[root@test ~]# cp -rf owncloud /var/www/html/
[root@test ~]# chown -R apache:apache /var/www/html/owncloud
[root@test ~]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
[root@test bin]# service mysqld start
Starting mysqld:                                           [  OK  ]

[root@test bin]# mysql -u root -p                                             
Enter password:                                                                   
Welcome to the MySQL monitor.  Commands end with ; or \g.                         
Your MySQL connection id is 13                                                    
Server version: 5.1.69 Source distribution

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> create database owncloudtest;
Query OK, 1 row affected (0.00 sec)

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| owncloudtest       |
+--------------------+
3 rows in set (0.00 sec)

mysql> exit
Below are some of the screen shots of the owncloud webapplication.
More details in  http://doc.owncloud.org/server/5.0/admin_manual/index.html











No comments: