OWNCLOUD 2: YOUR PERSONAL CLOUD SERVER
ownCloud is a free software alternative to some proprietary web services and it currently includes file management (with built-in file sharing), music streaming, calendar, contacts and more – all running on your computer or server..
Try ownCloud 2
If you want to try ownCloud before installing it, simply go to http://demo.owncloud.org/ .
Install ownCloud 2
1. Install the ownCloud 2 dependencies:
sudo apt-get install apache2 php5 php-pear php-xml-parser php5-sqlite php5-json sqlite php5-mysql mp3info curl libcurl3 libcurl3-dev php5-curl zip
2. Download ownCloud 2 and copy it to /var/www/:
cd wget http://owncloud.org/releases/owncloud-2.tar.bz2 tar -xvf owncloud-2.tar.bz2 sudo mv owncloud /var/www/owncloud
3. Set up the permissions:
sudo chown -R www-data:www-data /var/www/owncloud
4. Restart Apache:
sudo /etc/init.d/apache2 restart
Increase the maximum allowed file size
By default, you can’t upload files larger than 2 mb to ownCloud. To change this you need to edit /etc/php5/apache2/php.ini:
gksu gedit /etc/php5/apache2/php.ini
In this file, search for:
upload_max_filesize post_max_size
And change their value to whatever you want. Then save the file and restart Apache:
sudo /etc/init.d/apache2 restart