How to Install your ownCloud on VPS CentOS 6 VULTR

It provides universal access to your files via the web, your computer or your mobile devices — wherever you are. It also provides a platform to easily view and sync your contacts, calendars and bookmarks across all your devices and enables basic editing right on the web.

The steps on this tutorial will help you to install ownCloud on your CentOS-powered virtual server using Apache, PHP and SQLite. You can use MySQL instead, but it’s easier with SQLite.

Keep on account that you will need root privileges for issuing some of the commands below. If you don’t know what I mean, there is a great tutorial from the community here.

Step 1 — Installing dependencies

Let’s get started with some basic commands to run Apache with PHP (and some necessary modules) on our virtual server. Log into your SSH console as root and issue the following command.

Once installed, you will be able to start Apache.

It’s highly recommended to config your system to run Apache whenever your virtual server boots up. This can be done using a simple command.

That’s all! Go ahead and type your server’s address into your favorite browser to check that Apache is working fine.

Step 2 — Downloading ownCloud

We need to use the wget command for downloading ownCloud. Install wget by issuing the following command.

Now that we have wget installed we can use it for downloading the installation files from ownCloud’s website. You can find the latest version of this file by visiting the official site.

You almost got it! Let’s try uncompressing it with the tar utility.

Remember to change the version if you have downloaded a newer version during the previous step.

Step 3 — Moving to public

You can move the ownCloud files to your public folder by running a simple command.

The /var/www/html path is the main directory of your web server, so the ownCloud installation will be accessible from You can change it, it doesn’t matter.

Now we need to set the correct permissions for Apache’s user. This can be done running these three commands.

Almost done! The final step will be easy, I promise.

Step 4 — Creating your user

If you’ve ran all these commands, your ownCloud installation should be ready to go. Open on your browser and fill the registration form. You’re done!

Remember that you can download awesome clients for your devices for keep your information synced with your new personal cloud. Happy coding!