Use ownCloud to install your personal cloud service in Linux

Source: Internet
Author: User
Tags owncloud

OwnCloud is a free open-source software for sharing files, calendars, contacts, bookmarks and personal audio/video. It is easy to install and manage.

Prerequisites

In this tutorial, I use CentOS 6.5 minimal server to install ownCloud. The following is my testing machine information.

Operating system: CentOS 6.5 Minimal InstallationIP Address: 192.168.1.101/24

After testing on CentOS 6.5 for a period of time, ownCloud applies to all RPM-based releases.

Your service should work on LAMP. Refer to the following link to install the LAMP service.

Recommended reading:

Install the LAMP \ Vsftpd \ Webmin \ phpMyAdmin service and settings in Ubuntu 13.04

Compile and install LAMP in CentOS 5.9 (Apache 2.2.44 + MySQL 5.6.10 + PHP 5.4.12)

Source code for Web server architecture in RedHat 5.4 build the LAMP environment and application PHPWind

Build a WEB Server Linux + Apache + MySQL + PHP in the LAMP source code Environment

Install necessary PHP extensions:

# yum install php-mysql php-json php-xml php-mbstring php-zip php-gd curl php-curl php-pdo
Set a database for ownCloud

Let's create a database named 'ownerclouddb' and Database User 'ownerclouduser' and whose password is 'cento.

# mysql -u root -pEnter password: Welcome to the MariaDB monitor.  Commands end with ; or \g.Your MariaDB connection id is 66Server version: 5.5.34-MariaDB MariaDB ServerCopyright (c) 2000, 2013, Oracle, Monty Program Ab and others.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.MariaDB [(none)]> CREATE DATABASE ownclouddb;Query OK, 1 row affected (0.04 sec)MariaDB [(none)]> GRANT ALL ON ownclouddb.* TO ownclouduser@localhost IDENTIFIED BY 'centos';Query OK, 0 rows affected (0.01 sec)MariaDB [(none)]> flush privileges;Query OK, 0 rows affected (0.01 sec)MariaDB [(none)]> exitBye
Get ownCloud

Switch to your apache root directory and download the latest version of ownCloud.

Go to the Apache root file directory and download the latest version of ownCloud.

# wget http://download.owncloud.org/community/owncloud-6.0.0a.tar.bz2

Run the following command to decompress the tar package:

# tar xvf owncloud-6.0.0a.tar.bz2

Move the decompressed directory to your apache root directory (for example,/var/www/html /)

# mv owncloud/ /var/www/html/

Set the directory ownership and permissions:

# chown -R apache:apache /var/www/html/owncloud/# chmod 777 /var/www/html/owncloud/config/

Enable the apache rewrite mode.

Edit the file "/etc/httpd/conf/httpd. conf ",

# vi /etc/httpd/conf/httpd.conf

Find and modify AllowOverride None to Allowoverride All.

[...]     AllowOverride All[...]

Finally, restart the apachehttpd and mysql services.

# service mysql restart# service httpd restart

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

  • 1
  • 2
  • Next Page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.