So in my last post I setup and configured EHCP onto a Raspberry Pi. I thought this would be a good and easy way to run a web server from home. The installation was fairly straight forward and it all seemed like it was good except I remembered that I work in IT and I really need to do it all manually to keep my skills up. So I wiped the pi and started from scratch.

After I had installed Raspberrian, I then went and installed the LAMP stack (Check out my great post on how to here)

Once that is all done I performed the following steps

  1. Installed CURL

Created the Configuration file for Apache

Change the PHP configuration to allow large uploads

Set the directory permissions

Next we upload the setup-owncloud.php file into the directory and run it to get started. While this was taking place I did the following

  • Created a database ready
  • Added the user and set the permissions on the database
  • Ran “watch ls -la” from the directory to see it downloading and extracting the files into the directory.

The last thing to do was to run through the wizard filling in the information that we setup above (file directory, database details) and set the cron job to be run as a cron job

That is it. After that you should have your very own owncloud installation.