Linux, Windows, Virtualization, OpenSource & Blogging

Setup ownCloud 5 on Fedora 18


ownCloud Logo

ownCloud is a web suite that provides a cloud storage over the network, data can be uploaded via web browser or using software client. Data will be stored on the server and can be downloaded or access any time with browser. The project is based on PHP and a SQLite, MySQL, Oracle or PostgreSQL database, so it can run on all platforms that meet these requirements. It provides almost all possibility of functions that are available on commercial suites; it is released under AGPLv3 license, so you can setup own cloud storage server without any additional cost; commercial version of ownCloud is also available.


The following are the list of features available on ownCloud.

  • File storage in conventional directory structures (also via WebDAV)
  • Cryptography
  • Synchronization of personal computers
  • Calendar (also as CalDAV)
  • Task scheduler
  • Address book (also as CardDAV)
  • Music streaming (through Ampache)
  • User and group administration (via OpenID or LDAP)
  • Sharing of content across groups or public URLs
  • Online text editor with syntax highlighting and code folding
  • Bookmarking
  • URL shortening Suite
  • Photo gallery
  • PDF viewer (using pdf.js)
  • Viewer for ODF Files (.odt, .odp, .ods)

New Features in ownCloud 5:

  • New User interface
  • Restore Deleted files.
  • contact groups
  • New powerful search
  • File Version
  • Mount External Storage (Dropbox, FTP, Google docs etc)
  • Migration and backup
  • Application store


Here is the small guide to setup ownCloud 5 on Fedora 18


As mentioned earlier, it is based on PHP and database combination, database can be any of the above four. So install PHP, Apache web server and MySQL server on Fedora 18. For demo purpose i installed both SQLite and MySQL on Fedora, we will talk about reason behind later.

yum install wget httpd php php-mysql mysql-server mysql sqlite php-dom php-mbstring php-gd php-pdo

Disable SELinux

vi /etc/selinux/config

Download and Setup:

Download ownCloud from official website or enter the fallowing command on terminal.


Extract the archive.

tar -jxvf owncloud-5.0.5.tar.bz2

Move ownCloud under Apache server document root.

mv owncloud /var/www/html/cloud

Allow the web server to read and write the files on cloud directory.

chown -R apache.apache /var/www/html/cloud/

Create Database: (Optional)

MySQL server must be started before creating the database, login to MySQL server.

mysql -u root -p

Create database called “clouddb”

create database clouddb;

Allow “clouddbuser” to access the “clouddb” database on localhost with predefined password.

grant all on clouddb.* to 'clouddbuser'@'localhost' identified by 'password';

Configure Apache server:

While configuring Apache web server, it is recommended that you to enable .htaccess to get a enhanced security features, by default .htaccess is disabled in Apache server. To enable it, open your virtual host file and make AllowOverride is set to All.For example, here i used main config file because cloud directory placed under default root directory, open up and change the directive.

vi /etc/httpd/conf/httpd.conf

Change accordingly.

<Directory “/var/www/html”>
Options Indexes FollowSymLinks
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be “All”, “None”, or any combination of the keywords:
#   Options FileInfo AuthConfig Limit
AllowOverride None
# Controls who can get stuff from this server.
Require all granted

Remember to restart all services related to Apache server.

Configure ownCloud:

Open up web browser, point a URL to ( http://Your-custom-domain). Browser will automatically take you to ownCloud setup page where it must be configured before going to live. Enter admin user name, password, data folder location and database details. You can choose any one of the database from SQLite or MySQL. If you choose SQLite database, you do not require to enter database details.

where as MySQL database requires database user, password and data base name.

Now you can start upload a file via browser, alternately you can download ownCloud client to upload the files.

That’s All!.


You might also like
  • Andrew

    I keep getting this error when attempting to access


    You don’t have permission to access /cloud on this server.”

    Do you have any idea why that would be?


  • Estela

    Taking about more home-based activities for grade school students
    will want to tell a bug in the early days, people still play the way at number 7.

    Like many other types of costumes and wearables available
    in the UFA. So really pay attention a multitude of new options for ‘having a good theme that is play game part of our time.
    Although, a player would not want them to ensure proper care and a jail concept also sound like
    your dream restaurant onlineplay.

  • stop going bald

    It’s a pity you don’t have a donate button! I’d most certainly donate to this fantastic blog!

    I suyppose for now i’ll settle for bookmarking and adding your RSS feed to mmy Google account.
    I look forward tto new updates and willl share
    this sitge with my Facebook group. Chaat soon!

  • delonghi classic

    I know this if off topic but I’m looking into starting my own weblog
    and was wondering what all is neered to get setup?

    I’m assuming having a blog like yours would cost a pretty penny?
    I’m nott very web savvy so I’m not 100% positive. Any suggestions or advice would be greatly appreciated.

  • tracking

    certainly like your web-site but you have to check the spelling on quite a few
    of your posts. Several off them are rife with spelling issues and I to find it very bothersome to tell the truth nevertheless I will definitely
    come again again.

  • Short Url

    You maqde some ood points there. I checked on the net to learn more about
    the issue and found most individuals will goo along with your views
    on this site.

Setup ownCloud 5 on Fedora 18