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

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
Remove these adsRemove these ads by Signing Up
The current location seems to be:

This did work

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

sudo tar -xjf owncloud-4.5.7.tar.bz2
BlueD2 GR0B7 months ago

This did not work