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

New Years Resolutions 2014

  I don't normally do new years resolutions.  I typically keep a long list goals in my head; I'm sure some of them fall out every once in a while.  But I figure it is not bad to write  some of these goals down and put a 12 month deadline on them.  Writing down, publicly stating and setting deadlines for goals is like some kind of weird magic sauce that makes you actually want to get shit done. Pay mortgage down to $110k   Having a 30 year mortgage with a 0% down payment we essentially started out behind and only making slightly more than the minimum monthly payment has not given us much progress.  Even with adding on to our house we are still under water. As it sits now the mortgage is at about $129,700.  I'd like to get that number down to $110,000 by the end of the year.  That will set us up nicely to be able to refinance and start saving for another house.  According to my lender if we keep making the normal payment I will b...

4 reasons I commute by bike

This is my bicycle there are many like it but this one is mine. Since roughly the beginning of summer I have been exclusively riding my bike to work as opposed to driving.  I'm starting to see that I may not need that second car to get from my house to my job everyday .  Here is a nice little four part list of why I've decided bicycle commuting is for me. Its good for my body It is recommended that adults have at least  150 minutes per week  of moderate exercise per week.  Without biking I'd have a hard time justifying taking time away from my family or job to go run on a treadmill or do whatever other boring thing people do to stay in shape.  Biking to work takes me about 15 minutes down hill, coming back 20 something minutes uphill...  I'm sure I have 150 minutes of moderate intensity excessive in there somewhere ;) It's pretty incredible to see the difference I have in endurance after just one week of picking up the bicycle again.  ...

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