Skip to main content

Install ownCloud 2.0 on Ubuntu Server.

    I recently stumbled upon a tutorial on how to setup ownCloud on a Debian machine.  I had actually never heard of ownCloud until reading this tutorial but now it is one of the projects I am most excited about.  ownCloud is an open source project that allows you to use your own server to store files, songs and do a bunch of other stuff.  It is similar to the many cloud services available on the web except it never leaves your "custody."


    One very easy way to start using ownCloud is to install ownCloud 1.1 from the Ubuntu repository by running:
 $ sudo apt-get install owncloud
    However, ownCloud 1.1 is pretty boring compared to the super sexiness of ownCloud 2.0 in my opinion.  So if you are cool with drab old 1.1 then go ahead and just apt-get it.  But if you want the sexiness of 2.0 on your Ubuntu server please follow along...


Getting ownCloud 2 up and running!


Log into your Ubuntu server and install the necessary packages:
$ sudo apt-get install apache2 git php5 php5-common php5-sqlite
Install some optional packages if you would like:
$ sudo apt-get install mp3info curl libcurl3 libcurl3-openssl-dev php5-curl zip
Get ownCloud via git (see what I did there...):
$ git clone git://gitorious.org/owncloud/owncloud.git
Copy ownCloud to your apache server.
$ sudo cp -r owncloud/ /var/www
Make www-data the owner of the ownCloud directory:
$ sudo chown -R www-data /var/www/owncloud/

    At this point you are finished with the command line side of things (hooray!) and now we can finish set up with ownCloud's fancy web interface.  Just to go to <your server (IP or hostname)>/owncloud in your browser.  Fill out the form to create an admin user.  Click advanced, choose either SQLite or MySQL.  If SQLite be sure to have install php5-sqlite.  fill in form if you chose MySQL. Click on Finish setup and you are finished..




    Now you can upload files, songs, add contact, calendar events, edit files, add users and even give those users quota.  You can do a ton of stuff.  This is awesome service in my opinion.  And if you have a public IP address you've got your own bad ass server that you can access from anywhere, so you are just balls deep in awesome!






Comments

Popular posts from this blog

How to not dread running.

It’s warming up and the sun has been shining (kind of). You could almost say it was running season.  I have to admit however, at the when it first started warming up this year I was dreading starting to run.  Memories of last year's misery haunted me and I was seriously contemplating giving the whole thing up.  Ultimately I did give running one another shot. So how are things going this year? Pretty darn well actually. Better than ever even! This year I’ve earned PRs for every distance Strava keeps track of, I haven’t suffered any injuries and I’m genuinely enjoying myself. This is much better than last year. Last year I had a short and fairly miserable season, plagued with injuries. Last year I had  a few goals tied up with running . I wanted to run longer and faster than I ever had. I had really detailed goals for each week of the summer, how far I should be running and at what pace. I tried to make sure I never broke the  “10% rule”  adding too m...

Why I'm running for the parks board

  Two months ago now I declared my candidacy for election to Northern Wasco County Parks and Recreation District Board of Directors Position Number Five.  A mouth full of a title.  I really enjoy our local parks and have no major qualms with the parks district or the current board.  They have done a fine job maintaining and improving existing parks and programs.  So there's question you are probably asking and I am required to ask myself.  Why am I running? Democracy requires contest   What is the point of an election with only one candidate?  Without contested races there is almost no need for real public discourse unless some controversy springs up.  This is all too common for local elections in Wasco County.  Uncontested races are akin to a business handing a job to the first and only applicant.  This wouldn't work in the private sector and it shouldn't work for public offices.   Surely the citi...

About goals and failing them.

Earlier this year I made a few goals for myself.  One was to run .  A lot.  The other was to write , a lot more than I have.  Sorry to say I haven’t kept either of these really well.  Sometimes life get in the way, sometimes things don’t work out the way you hoped, sometimes you set the wrong goals and sometimes you just plain fail.  I’d like to say life got in the way and things just happened, but I have to be honest. Running Major failures in the running department.  As you can see from the graph below, things were going pretty well for a time.  Right on track.  However, around the 30k per week mark I started to have nagging shin splints.  Not so bad that I was ready to give up running (the proper cure for shin splints) but bad enough I knew I should back off.  So I did, only to later end up with shin splints before during and after every running session.  It was finally bad enough for me to realize I needed to lay it off...