OwnCloud is a free software developed from the KDE community and provides private Web services. Currently, main functions include file management (built-in file sharing), music, calendar, and contacts, which can be run on PCs and servers.
In short, it is a Php-based self-built Network Disk. This is basically a private use, because the registration function has not been exposed until now in the development version. I am using a backend built by a machine, but I have not set up storage. You can build distributed storage at the backend.
First, let me introduce the environment.
System: CentOS 6.3 172.16.170.115
Software: owncloud 5.0
Local Environment: LAMP
Next we will install:
1. Environment preparation:
[Root @ localhost ~] # Yum install httpd mod_ssl php-gd php-xml php-mysql php-mbstring
2. Configure owncloud:
[Root @ localhost ~] # Wget http://download.owncloud.org/community/owncloud-5.0.0.tar.bz2 (if you can not download, you can open the browser to enter this URL to download and then upload to the server .)
[Root @ localhost ~] # Tar xf owncloud-5.0.11.tar.bz2-C/var/www/(extract to web directory)
[Root @ localhost ~] # Cd/var/www/owncloud (go to The owncloud web directory)
[Root @ localhost ~] # Mkdir data (Create a database directory)
[Root @ localhost ~] # Chown apache: apache {config, data, apps} (permission setting, modifying config, data, and apps owner and owner permissions)
[Root @ localhost ~] # Cd/var/www/html (enter the html directory)
[Root @ localhost ~] # Ln-s ../owncloud/core (create soft link)
[Root @ localhost ~] # Vi/etc/httpd/conf. d/owncloud. conf
<Directory/var/www/owncloud>
AllowOverride All
</Directory>
Alias/owncloud/var/www/owncloud (if there is no owncloud. conf file, write these items .)
3. Open your browser, enter http: // IP/owncloud, and enter relevant data in the following figure:
Refer:
Install ownCloud 4.0.6 platform on Ubuntu 12.04 LTS
OwnCloud 6.2 installation in CentOS 4.0
Use ownCloud in Ubuntu 12.04 to build a private storage cloud