ID #1414

How do I set up ownCloud on my (v)server ?

Create a cloud on your own server and be independent from commercial storage services. The ownCloud is a free software suite with which you can address and share data locally via an interface.

As a basis the project relies on a working web server (Apache) with PHP and a connected SQLite, MySQL or PostgreSQL database.


For ownCloud to work properly on your machine the packages php5, php5-json php-xml php-mbstring php5-zip and phph5-gd have to be installed:


under Debian:

apt-get install apache2 php5 php5-json php-xml php-mbstring php5-zip php5-gd


under Ubuntu

sudo apt-get install apache2 php5 php5-json php-xml php-mbstring php5-zip php5-gd


Download the latest version of ownCloud from the website and create a folder called owncloud in /tmp.

Upload the previously downloaded file owncloud-x.x.x.tar.bz2 there.

An FTP client like FileZilla serves you best..


cd /tmp

mkdir owncloud


Unzip this file (owncloud-x.x.x.tar.bz2) using the following commands:


tar -xjf /tmp/owncloud-x.x.x.tar.bz2 --strip 1 -C /tmp/owncloud

cp -r owncloud /pfad/zu/ihrem/webserver/ (under Debian /var/www/)


and copy the owncloud folder into the path of your web servers.

Now specify the permissions for the configuration and data of the ownCloud.

The owner of the web server also has to have the user permissions for the folders data/ and config :.


chown -R www-data:www-data /path/to/your/owncloud/install/data


Now open your web browser an enter http://yourwebsite/ (or: http://yourwebsite/owncloud) into the address bar.



Now you can set up your ownCloud with username, password and database connection (database user, database password, database name).

At the same time you can determine the data directory where all ownCloud files are installed:

under Debian: /var/www/owncloud/install/data

under CentOS: /var/www/html/owncloud/install/data 




After you have set up your ownCloud successfully log in with your usernam and password.


Tags: cloud, owncloud, server, Webspace

Related entries:

You cannot comment on this entry