How To Install ownCloud on CentOS 6

ownCloud provides universal access to all files over the Internet, and it does not matter wherever you are. This is a platform for easily viewing or synchronizing your bookmarks, calendars or contacts. This allows basic editing directly on the Internet.

Dependency Installation

You must log in to your server through the SSH or VNC console as root and enter the following:

yum -y install httpd php php-gd php-intl php-sqlite php-xml-parser sqlite

After installation, we can start Apache

service httpd start

We recommend that you configure your system to start Apache every time the server boots. You can do this as follows:

chkconfig httpd on

Download ownCloud

Next, use wget to load your ownCloud

yum -y install wget

Further, after wget is installed, you can find the latest version of this file, the link to which can be found on the official website here:


Next, you need to put it. This can be done using the tar utility.

tar -xjf owncloud-6.0.0a.tar.bz2

Going to the public

You can move your ownCloud files to a shared folder, the command:

mv owncloud /var/www/html

The path to the main directory of your web server is /var/www/html, so will be available to install OwnCloud. You can change it, it does not matter. After that, you need to set the correct permission for the Apache user. Plese use this commands:

chown -R apache:apache /var/www/html/owncloud/apps
chown -R apache:apache /var/www/html/owncloud/config
chown -R apache:apache /var/www/html/owncloud/data

Create your user

In conclusion, you need to create your user. To do this, open in your browser and complete the registration by filling out all the fields!

Was this article helpful?

Related Articles

Leave A Comment?