|

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

The latest ownCloud 2 isn’t available in the official Ubuntu repositories so you must install it manually.

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
5. Open a browser and enter http://localhost/owncloud – if you get an error similar to this: «No database drivers (sqlite or mysql) installed.«, restart your computer and the error should be gone.

Ok, now back to: http://localhost/owncloud – here you’ll be prompted to enter a new admin username and password and you’re done!
These instructions* can also be found @ ownCloud’s website, along with Arch Linux, openSuse, Fedora, CentOS, Gentoo, Mac and Windows installation instructions.

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


Publicaciones Similares

Deja una respuesta