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

Ubuntu games?

    One of the things I have been doing very little of for the last several years is PC gaming.  This is probably mostly due to a complete lack of a Windows machine in my life.  Plus with all of the great games available for Android my needs as a casual gamer are more than met.     However, this years humble bundled has reignited my interest in PC gaming.  I got it and installed a couple of the games on my Ubuntu machine.  So far they are a lot of fun especially VVVVVV .  This got me asking "what else can I play on Ubuntu?"  Turns out there is a plethora of free open source games, some awesome, some not so much.  Many are available from the   Ubuntu Software Center and many you have to hunt down around the web.     One thing that keeps many Windows users from Ubuntu (or any Linux OS for that matter) is a supposed lack of games.  This is simply not the case.  While yes many of th...

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

Ubuntu Games: Retro Blazer demo

    Loved blasting Nazis in  Wolfenstein?  Hacking apart demons or whatever in Doom?  Just plain get nostalgic for running around inside a pseudo-3d environment, gunning down your enemies?  Me too!        Retro Blazer is a truly retro FPS based on the Darkplaces game engine .  Missed using arrow keys?  They got you covered.  Retro Blazer just released a demo/alpha test for all us FPS lovers to download and play.  It's a lot of fun and so far the alpha release seems very stable.  Don't worry about  the game crashing to much.       To play Retro Blazer on Ubuntu simply download it , unzip and execute the proper binary (probably  darkplaces-linux-x86_64-sdl and  ignore all those .exe files...).  The game is also available on Windows and OS X. Get it!     If you are a terminal junky  here is a quick how to.  Fir...