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

Three Books for Novice Investors

    I have only been seriously investing for about sixth months now.  I say "seriously" because I have attempted to invest for about 5 years but it looked a lot like this ...  So my only successes have been in investing in index funds.  Which If you don't have the time or energy to pick your own investments is the best way to go, in my opinion.       Almost all of my "education" has come through reading a handful of books. The Richest Man In Babylon     The Richest Man in Babylon comes all the way from the deep dark past of 1920's America.  It is series of stories and parables set in ancient Babylon and designed to teach financial wisdom.  The book stresses discipline and prudence, consistently saving, avoiding debt, not investing in risky ventures etc.  I have to wonder if people in the 1920's had taken his advice if the whole financial mess that followed wouldn't have happe...

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

Favorite Things: May 2018 Edition

New series of monthly (my intentions at least) things I'm really enjoying... Ride Report Ride Report  is an app which uses your phone's location data to automatically keep track of your bike rides.  For each ride it asks you a simple survey "How was your ride."  After collecting enough survey data from rides Ride Report can generate a map showing the worst and best rides for a city.  Some cities are even using this data to make better transportation decisions.   I'm not sure if this app will work at a smaller scale for a city like The Dalles, but the idea is very cool.  The more people the use it the more helpful it will be.  At this point I've only ever said my rides were great and being the only user in town this is very unscientific. I highly recommend using this app for fun and better city planning or at least better informed fellow cyclists. Libby Libby is an app which allows you to borrow ebooks through your local library....