Instructables

How to Access your Media from Anywhere by Hosting your Own Cloud!

Picture of How to Access your Media from Anywhere by Hosting your Own Cloud!

********** I HAVE UPDATED THIS GUIDE***********

Please view the new version of this guide here.

Have you ever dreamed of accessing your media from anywhere in the world? This tutorial will show you how to host your own cloud at home which will allow you to access your media from anywhere as long as you have an internet connection.

I decided to make this tutorial after struggling for months trying to figure out how to host my own cloud. My goal is to compile all the information I learned from various sources into one, easy to use guide. I will try my best to explain all steps as specifically as I can.

Let's get started with the Prerequisites.

 
Remove these adsRemove these ads by Signing Up

Step 1: Prerequisites

These are the things you will need in order to be able to host your own cloud

1. Media to stream

2. A computer that currently has your media on it. (I will refer to this as the Home computer from now on).

3. A computer to host your media on. This computer does not have to be an excellent computer, but it may need to have quite a bit of storage space depending upon how much media you have. If you only want to stream music, then I would imagine a 120gb Hard drive would be large enough. If you want to host music, movies, documents, pictures, etc. then a larger hard drive will be necessary. I would also reccommend this computer have a CD drive, its not required, but for this tutorial, I am going install the Operating System via a CD Drive. If the computer does not have a CD drive, it can still be used, but I will not specifically cover how. I use a computer from 2004; I replaced the Hard Drive that came with the computer with a substantially larger one (1.5TB), and it works beautifully.
Here is a guide on how to replace a Hard Drive

4. Ubuntu 12.04 LTS Ubuntu is the operating system we are going to use on the computer that will host the media files. Download this file to the Home computer. Just hit the big orange GET UBUNTU! button, and let the file download.

5. A blank CD

6. ImgBurn Download and install ImgBurn to the Home Computer. This program will be used to write Ubuntu to to blank CD.

Miscellaneous

1. Be sure to place your Server (From now on, that is what I am going to refer to the computer you are using above as) next to your router because that is where you will plug it into.
2. Make sure you router has spots for a hard-line Ethernet connection. I believe most routers nowadays do have them, so it shouldn't be too much of a concern. The reason for having a hard-line Ethernet connection to your router is so that when you stream to a computer outside of the network, the streaming doesn't become choppy.
3. You will need a monitor while you are setting up your server, but after it is up and running, a monitor will no longer be needed.

Alright, Let's Install Ubuntu!
nova681 month ago

so i was able to to do exactly as instructed but when i get to step 10 where it says type in localhost/ampache it doesn't work it says unable to connect but when i go back and change the port to 80 on both the ports.conf and 000-default it works and i get all green oks.

jayredge (author)  nova681 month ago
Change the port back to 8080, and then try using this command:
localhost:8080/ampache
roosterx3 months ago

I followed your tutorial however in the end i didn't get Ampache to work and after working around and some tweaks it is on the wed serving@badassmachine.strangled.net. I am still working on it and don't really have my media on it but thanks to you and linux and all the others from the open source community i have learned a great deal about computers and end up with a web server that I built pretty much from parts and advice. Much Thanks to All. roosterx813@gmail.com

tarar_Tauqeer5 months ago
hello everyone can anyone guide me to setup a Ubuntu server os for the same purpose but for larger scale, the only problem I m having is that I m unable to connect internet after installation for apt-get update for lamp and other packages , ,,and please let me know if Ubuntu desktop version can be used for commercial purpose as it might crash with big load ,
jayredge (author)  tarar_Tauqeer5 months ago
I don't know if Ubuntu Desktop would be the best solution for large data projects like you say you have. I would try to use Ubuntu Server edition or possibly even FreeNAS. Both of those are somewhat built for larger applications.
jadronx6 months ago

I have a question. It seems like you are doing this in the gnome desktop environment. Is there any way to do this in the terminal shell?

jayredge (author)  jadronx6 months ago

Yes you can use the terminal. When I initially wrote this guide, I was not familiar with terminal commands, so I used the graphical side of Ubuntu. This entire guide can be completed using the terminal.

jadronx jayredge6 months ago

So you downloaded the standard ubuntu OS with graphical interface, not the streamlined server edition?

jayredge (author)  jadronx6 months ago
Correct. I believe you could successfully follow this guide using command line only.
gleebe1 year ago
great tut just what ive been looking for,
i am stuck on step 11,
how do you make   >etc>apache2>httpd.conf    file writable? so i can paste  


<Directory /var/www/videos>
AuthType Basic
AuthName "Password Required"
AuthUserFile /home/ubuntu/.htpasswd
Require valid-user
</Directory>

thanks gleebe
jayredge (author)  gleebe1 year ago
I am assuming that you cannot save the changes that you make to the file. If that is the case then you need to:

alt+f2
gksudo nautilus
then navigate to the file and make changes
thank this worked, i tryed to edit httpd.conf from a window already open
goatmilt1 year ago
"Error: Unable to make Database Connection"
That's the message that I get after completing the following steps:

>>>>>>>>
6. On the next page change:
MySQL hostname to: localhost:8080
Type the MySQL password you used when you installed MySQL
Check the box where it says 'Create Database User for New Database
Type a password where it says 'Ampache Database User Password'

7. Click 'insert database'
<<<<<<<<
jayredge (author)  goatmilt1 year ago
On this one, are you running the Ampache configuration on the computer the server is on? If not, try that.
goatmilt1 year ago
I hate to be a pest, but have you had any luck?
jayredge (author)  goatmilt1 year ago
Sorry, I meant to get back to you yesterday, but I ran out of time. Anyway, could you be more specific as to where exactly you are stuck on this project?
Here
"Then double-click the folder that says home. Then there should be a folder that says ubuntu. Double click, and then you are presented with your home folder. This contains folders like music, videos, pictures, documents, etc."

The only folder that is found here is one that says 'Desktop'
I changed all the folders' properties to enable sharing...
I am retracing my steps to see where I stumbled and I will reply again in a few minutes!
jayredge (author)  goatmilt1 year ago
Ok so I am assuming that you did gksudo nautilus before this. What you need to do is click on the right-hand taskbar and click File System. Then Click home, and then your username and you files will be there!
goatmilt1 year ago
Wow, that would be A-M-A-Z-I-N-G!
I was very close to throwing in the towel. This is probably the 6th or 7th tutorial that I have tried following without any luck.
I thought I was just in over my head....I mean, I am, but at least there is still hope. I've been at this for a while now.
goatmilt1 year ago
I must have misunderstood. I thought this instructable was going to have Ubuntu on both the server and host. So, I followed every detail and got to a point where I first read "Windows" and now I am stuck. Will this work using Ubuntu on both of my computers?
jayredge (author)  goatmilt1 year ago
Yes, this can work woth ubuntu as the host OS. In fact, you posted yhis as I was writing a revised version of this guide. Because you are using ubuntu, you will be able to do cool stuff like automatic backups to your cloud. Tomorrow I can send you more personal instructions on how to set it up properly.
adeimar1 year ago
If I were to set this up on a computer I use as a media pc, could I install XBMC alongside this to run as a frontend? If so would it be very difficult to set up with this running?
jayredge (author)  adeimar1 year ago
So you want to run your server and XBMC on the same computer? If that is what you are asking, then yes you can do that, but if you are going to watch movies on the media PC (which I think you will be), then I wouldn't do what I did in the XBMC step. I would just point XBMC towards the files that are stored on the computer instead of pointing it towards a website. You could still point XBMC towards your website, but that would slow things down...

Do this answer your question?
schumi231 year ago
This is great! I've been meaning to set up my computer as a server - but have never gotten around to it - hope this gets me to get by that barior!
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!