Use ownCloud to build your personal cloud service (ubuntu14.04server)

Source: Internet
Author: User
Tags owncloud seafile

Use ownCloud to build your personal cloud service (ubuntu14.04server)

What is ownCloud?

OwnCloud is a free and open-source personal cloud storage solution (similar to Baidu network disk or Dropbox), which consists of two parts: server and client.

OwnCloud can be used on the client through the webpage interface or by installing dedicated client software. The webpage interface is certainly supported by any platform that can open the webpage, and the client software also supports many platforms, including Windows, Linux, iOS, and Android.

In addition to cloud storage, ownCloud can also be used to synchronize calendars, email contacts, and Web browser bookmarks. In addition, it also provides the ability to synchronize and collaborate online files.


ECS comparison

Seafile is also applicable before owncloud is installed. In general, seafile functions and details are still lacking. However, the biggest difference between seafile and owncloud is:

The owncloud data files are directly stored on the server disk, and the directory structure is the same as that seen on the webpage (client. In this way, even if the owncloud crashes one day or the development stops, it is very convenient to export data, or even directly Delete the owncloud.

Data Files of seafile are sliced and integrated when they are stored on the server (whether encryption is unclear by default). This ensures data security and prevents you from viewing the file even if you have a root account on the server, however, the seafile administrator can modify the passwords of other users. Therefore, this encryption function seems to be faulty. In addition, if the seafile fails or the update is stopped, data export is almost impossible.


The following describes how to build the ownCloud server on ubuntu (test version: 14.04 server)


Install (via apt-get)

For different linux versions, see:

You can add the software source key to apt. Remember that the owner of this key will be able to distribute updates, software packages, and software sources that your system will trust (more information ). To add this key, run:


The installation time may be a little long, because the software package needs to be downloaded from download.opensuse.org, and the domestic network access speed is not very fast. You can connect to the vpn to download the installation package.

During the installation process, mysql requires you to enter the root password, enter and confirm.


Configuration


Note: After you modify the configuration, restart apache to make the configuration take effect.

Sudo/etc/init. d/apache2 restart


Before setting the data file location, you must modify the access permission for the path location.
Modify default encoding

Edit the file:/etc/php5/apache2/php. ini

Remove the following line # Make the configuration take effect:

Default_charset = "UTF-8"



Upload size limit (set to 10 Gb)

Edit file:/var/www/html/owncloud/. htaccess

Php_value upload_max_filesize 10240 M

PHP value post_max_size 10240 M

Php_value memory_limit 2048 M


Change to default page (access url is not needed/owncloud)

Edit the file:/etc/apache2/sites-enabled/000-default.conf

Modify row:

DocumentRoot/var/www/http

Changed:

DocumentRoot/var/www/owncloud




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.