Step 4: Download and install own cloud

Picture of download and install own cloud
Now we have Apache and PHP setup we need to download own cloud

$ wget http://mirrors.owncloud.org/releases/owncloud-4.5.1.tar.bz2

once download it needs unziping

$ sudo tar -xjf owncloud-4.5.1.tar.bz2

And then copying in to the web root

$ sudo cp -r owncloud /var/www

After it's been copied we need to give the webserver permission to access the owncloud directory

$ sudo chown -R www-data:www-data /var/www/owncloud/

We also need to edit the .htaccess file to change the max upload file these values need to changed to the same values as you set in you php.ini

$ sudo nano /var/www/owncloud/.htaccess
The current location seems to be:
wget http://download.owncloud.org/community/owncloud-latest.tar.bz2

This did work

GR0B2 years ago
For a newer versions of owncloud use "4.5.7" instead of "4.5.1"

wget http://mirrors.owncloud.org/releases/owncloud-4.5.7.tar.bz2
sudo tar -xjf owncloud-4.5.7.tar.bz2
BlueD2 GR0B9 months ago

This did not work