We’ll show you, how to Install ownCloud on CentOS 6. OwnCloud is an open-source cloud application which can be used to set up your own cloud server for file-sharing, calendar, contacts, bookmarks, music-streaming, and a lot more. For more info about this application visit the ownCloud website. Installing ownCloud on CentOS 6, is easy task and should take less then 10 minutes to complete.
You must have SSH access.
You must have php5 (>= 5.3), apache2 and MySQL installed on your VPS server.
2. Enable ATrpms
Enable ATrpms repository:
rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
Make sure the following lines are included in /etc/yum.conf
[atrpms-stable] name=RHEL 6 - atrpms-stable - $releasever - $basearch baseurl=http://dl.atrpms.net/el6-$basearch/atrpms/stable/ gpgcheck=1 enabled=1 priority=3 exclude=*release
3. Install PHP Components
Install the required PHP components:
yum update yum install php-pecl-apc php-mcrypt php-pear php-mysql php-gd php-mbstring php-pspell php-pdo php-xml
4. Download and Extract ownCloud
Download, extract and move ownCloud to your CentOS VPS webserver directory.
wget http://mirrors.owncloud.org/releases/owncloud-4.0.1.tar.bz2 tar -xjf owncloud-4.0.1.tar.bz2 mv owncloud /path/to/your/webserver
5. Assign Permissions
Set the directory permissions
chown -R apache: /path/to/your/webserver/owncloud
6. Create new MySQL Database
Create a new MySQL database using the following commands:
mysql -uroot -pYourPassword CREATE DATABASE owncloud; GRANT ALL PRIVILEGES ON owncloud.* TO 'owncloud_user'@'localhost' IDENTIFIED BY 'owncloud_user_pasword'; FLUSH PRIVILEGES;
7. Continue the Installation via Web Installer
Open your web browser, navigate to your ownCloud instance and follow the install wizard.
Of course you don’t have to Install ownCloud on CentOS 6, if you use one of our Managed CentOS hosting plans in which case you can simply ask our expert Linux admins to Install ownCloud on CentOS 6, for you. They are available 24×7 and will take care of your request immediately.
PS. If you liked this post, on how to Install ownCloud on CentOS 6, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.