Hack Quest

Adventures through development.

Trying Owncloud

I have a ton of files scattered around the web and various backup external drives as well as usb drives. It’s a pain keeping track of where any given file is at. I need a central place to keep all my files and be able to access them mostly from all my computers at home, as well as use it sort of like a dropbox replacement. I have an extra box running on an Intel Atom processor, so I therefore installed Linux on it, a webserver and slapped Owncloud on it.

The installation is pretty simple and straightforward specially if you have installed a php application on a vps before. The website has pretty clear installation instructions.

After the initial install I would highly recommend mounting the webdav locally and then plug in your external devices and perform an rsync or cp -R into it.

Install davfs2 package first if you don’t already have it installed.

sudo apt-get install davfs2

Create the folder it will be mounted on.

sudo mkdir /mnt/DavDropbox

Mount the webdav folder of course replace the content inside the single quotes with the path to your webdav.php (you can use localhost here).

sudo mount.davfs 'http://127.0.0.1/owncloud/files/webdav.php' /mnt/DavDropbox

You are now ready to start copying files into that folder.

Now the only issue is organizing files and what not. Also remember you can make this accessible outside of your LAN by forwarding port 80 from your router to your linux box and setting up some kind of dynamic dns service like Dyn, or no-ip, a simple web search will get you more alternatives.

First Post Using Octopress

Installing Octopress on OSX Lion required a small extra step. RVM required me to install osx-gcc-installer because it does not work with the current version of XCode which kind of bummed me out a bit because I had to download an extra 200 somewhat megabyte file, and install it. From there things were a bit easier using RVM to install 1.9.2 was pretty easy, as well as doing the initial setup of Octopress. The only thing that I need to figure out is why instead of just using rake I have to use bundler exec rake. Not a big issue but just a bit annoying, and I’m sure I’ll find a way around it eventually. First order of business is tweak the layout around, hopefully I’ll get a chance soon.