A long time ago, our document data was recorded in the diary, and then the computer was recorded in the local computer, and then the mobile devices such as USB flash disk would be backed up on it for easy carrying. Later, the online disk was available, and we can store it on the online disk. Now we have cloud storage The platform can also be stored on the platform and managed and synchronized by multiple devices. But these online disks and cloud storage One problem with the platform is the security of data. Even the largest company may close the storage project at any time because of project adjustment, not because of the capital chain.
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
![Owncloud creates an administrator account](https://images.laozuo.org/wp-content/uploads/2014/12/owncloud-1.jpg)
Set account information according to our own.
B - Select Database
![Owncloud Select Database](https://images.laozuo.org/wp-content/uploads/2014/12/owncloud-2.jpg)
You can select SQLITE and MYSQL databases.
C - Optional synchronization tool
![owncloud-3](https://images.laozuo.org/wp-content/uploads/2014/12/owncloud-3.jpg)
We can choose to use different synchronization tools according to our needs.
Fourthly, the owncloud installation is completed
![Owncloud installation completed](https://images.laozuo.org/wp-content/uploads/2014/12/owncloud-4.jpg)
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.
Scan the code to follow the official account
Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge