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

Book Review: Tribes

 Tribes  by Seth Godin is a quick read on leadership.  I read this book because it was listed on "Books every leader needs to read" or some such similarly named list.    There are some good bits to glean out of this short book.  I'll try to condense them here:   Managers are not by nature leaders.  Managers allocate resources to accomplish a defined outcome.  Leaders change things by setting a vision and building a tribe around that vision.   Tribes are everywhere big and small.  Mega-tribes, sub-tribes, etc.   Leadership is inherent risky.  But far less risky than our minds tend to think.  This is evidenced by the many failures of several highly successful leaders.  (Think Elon Musk and the Tesla Truck presentation ).   Find people who are doing exceptionally better than average and amplify their influence on everyone else.   Leadership is about challenging the status quo.  It is s...

Bike disaster leads to awesome discovery about my neighborhood.

  While replacing the tire on my front wheel last week my quick release just completely fell apart.  Being a bicycle maintenance noob I said to myself "No!  Now I need to go buy a whole new wheel!" (and quick because this is my  commuter bike ) I quickly hopped in the car and drove down town to the local bike shop downtown, which was closed.  Apparently the owner is "biking and eating in Italy." I have only ever known of this one bike shop in The Dalles.  In desperation I did a search for bike shops near The Dalles and low and behold a location popped up just blocks from my house.   T & Nae's Cycles is a little appointment only bike shop a couple operates out of their house.  I didn't know it was appointment only at the time so I just hoofed it up there to see if they could help me fix my bike.  Luckily somebody was home and willing to help me out.  Once I explained to him my problem he  got me the part I needed (for free! ...

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