A long time ago, our document data was recorded in the diary, and then all the computers were recorded on the local computer, and then mobile devices such as USB flash drives were backed up on it for portability, and then we could store it on the online disk. Now, with the cloud storage platform, we can also store it on the platform and use multiple devices to manage and synchronize. However, there is a problem with these online disks and cloud storage platforms, that is, the security of data. Even the largest companies may close storage projects at any time because of project adjustment, not because of capital chain problems.
The best way is that we can set up our own storage platform. Even on the virtual host and VPS, the data is at least in our hands. The premise is that we need to do many channels of backup. The open-source program of ownCloud can solve this problem. We can use ownCloud to build the platform in an environment that supports PHP, SQLite, MySQL, Oracle, and PostgreSQL databases. The method of building a website is the same as that of building a CMS website.
First, prepare the website environment and download the OWNCLOUD script
We can build an environment supporting PHP on the virtual host and VPS, and then download the owncloud program.
http://download.owncloud.org/community/owncloud-7.0.3.tar.bz2
The current version is 7.0.3. If the latest version is available, follow the official update information. The command to decompress tar.bz2 is tar - jxf owncloud-7.0.3. tar.bz2
Second, installation and deployment
The installation method is simple. We put the script in the corresponding website directory. Then enter the web address in the address bar to configure user information and database connection information.
III. OnCloud deployment and installation
After uploading the program, some systems may need to authorize the directory to write, and adjust according to the actual situation.
A - Create administrator account

Set account information according to our own.
B - Select Database

You can select SQLITE and MYSQL databases.
C - Optional synchronization tool

We can choose to use different synchronization tools according to our needs.
Fourthly, the owncloud installation is completed

In this way, the deployment of owncloud cloud storage in our own space has been completed, and the specific use is still very simple. It is basically the same as the network disk and cloud storage we use, so I will not repeat it here. If you need it, you can research it and install it.