In most of the cloud disk off the premise of personal network disk, although there are Baidu cloud disk support, but I believe that most of the use of Baidu cloud disk will be troubled by the download speed limit, as a habit of free service people should not be a few people willing to buy members.

  1. Software environment I bought a VPS on Vultr(similar to Digital Ocean, Linode, bandwagonHost), which is similar to Ali Cloud’s ECS server, but cheaper, and can also be used to build a wall over server. For details, please refer to my previous article: www.jianshu.com/p/4fb272361… Of course, if you don’t require Internet access, you can build it on your own computer. Docker installation is only used for convenience, but you can also use the official native installation: owncloud.org/install/
  2. Install Docker environment I am ubuntu environment, just need to execute a script
$ curl -fsSL get.docker.com -o get-docker.sh
$ sudo sh get-docker.sh
Copy the code

Check whether docker is properly installed

Macbook-pro :~ xvjialing$Docker Version Client: Version: 17.06.2 -CE API version: 1.30 Go version: go1.8.3 Git commit: Cec0b72 Built: Tue Sep 5 20:12:06 2017 OS/Arch: Darwin/AMD64 Server: Version: 17.06.2- CE API Version: 1.30 (minimum version 1.12) Go version: go1.8.3 Git commit: cec0b72 Built: Tue Sep 5 19:59:19 2017 OS/Arch: linux/amd64 Experimental: trueCopy the code
  1. Install ownCloud

First from the Docker Hub will ownCloud mirror pull down, here can use DaoCloud provide free accelerator: www.daocloud.io/mirror, of course you can also use the ali cloud mirror center: dev.aliyun.com/search.html…

docker pull owncloud
Copy the code

To run the ownCloud image, see hub.docker.com/_/owncloud/

docker run -d -p 1234:80 owncloud
Copy the code

-P is port forwarding. It maps port 80 in a container to port 1234 for external access.

  1. Configuring the Database

    accesshttp://IP:1234




Screen shot 2017-09-27 PM 10.03.51.png

SQLite, MySQL\MariaDB, and PostgreSQL are available. By default, SQLite can be installed directly, while the other two need to be installed externally. You are advised to select the latter two if there are too many files or high operation requirements.

  1. Log in after installation




Hint. PNG


OwnCloud offers many ways to access it, from desktop applications to mobile apps.





The main interface


At this point, a private cloud that belongs to oneself has been built successfully. Of course, you can also install the corresponding plug-in extensions in the Market page.

Personal blog: www.xvjialing.xyz/wordpress/