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...

2018 reading list

  Near the end of 2017 I did something I hope becomes an end of year tradition.  I planned out all the books I’m going to read in the next year.  I read some great books last year and I hope that having a plan will make this year even better. Why would I plan out a year of reading? Last year I was able to read a lot more than I have before.  However, there were still long periods throughout the year in which I wasn't reading anything, and some of what I read was just whatever was in front of me, not what I really wanted to read.  Like most things in life, I suspect, having a plan will help align what I do read with my goals.  There are several subjects I’m interested in, and didn’t read about.  There are authors I want to read more of, but haven’t made time to.  And modern fiction?  What is that?  (I  think I read one new book last year) I made a realization a few months back.  My pile of books I want to read is much tall...

Lunch time in The Dirty!

    The Dalles has quite a few restaurants relative to it's size.  Some are great some are down right bad.       These are my five favorite places to eat lunch in The Dalles in no particular order.  Some are old favorites and others are relatively new establishments.  All serve delicious food and drink. Montira's Thai     Montira's is the only thai place in town.  But that lack of competition doesn't keep them from delivering a quality product.  Other restaurants of the Asian  variety  have them beat as far as portion size and price go but they  serve  a quality product consistently.  I can't say that about many other places in town.     Montira's serves really great food for a decent price.  Just be warned if you ask for extra-spicy you will feel it all the next day...  But its worth it if you really like spicy. Spooky's     Spooky's is one of t...