I describe here how to install and confugure your own cloud with owncloud.org
assuming we have apache and mysql intalled
> wget http://download.owncloud.org/community/owncloud-5.0.13.tar.bz2 > tar -xjf owncloud-5.0.13.tar.bz2 -C [/path/to/apache]/www/ > cd /path/to/apache/www/owncloud
and suppose that apache user is www-data and its group is www-data
> chown -R www-data:www-data [/path/to/your/owncloud]/config > chown -R www-data:www-data [/path/to/your/owncloud]/apps > mkdir [/path/to/your/owncloud]/data > chown -R www-data:www-data [/path/to/your/owncloud]/data
edit /etc/apache2/sites-enabled/000-default and set AllowOverride to All in the Directory /path/to/apache/www/
> a2enmod rewrite > a2enmod headers > service apache2 restart
open browser localhost/owncloud and see if some php modules are missed
> sudo apt-get install php5-gd
> apt-get install php-xml-parser
> apt-get install php5-mysql (or any other database driver)
restart apache
> service apache2 restart
and got to http://localhost/owncloud : step require database connection parameters
create empty mysql database for owncloud
> mysql -uroot -p mysql> use mysql; mysql> create user sonar identified by 'sonar'; mysql> update user set host='%' where user = 'sonar'; mysql> create database sonar; mysql> grant all privileges on sonar.* to sonar; mysql> flush privileges; mysql> quit
provide database username, password, and dbname to owncloud assistant in http://localhost/owncloud. And let owncloud initializes its database.
now, you have your own cloud !