Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Serving files online

  1. #1
    Join Date
    Jul 2011
    Beans
    126
    Distro
    Ubuntu Development Release

    Serving files online

    I looking for a good way to serve up files over the internet. I want some of my family members to have access to some of my files on my server. Unfortunately all of the people who would like access are not very technically inclined. So the usual SFTP i think is out unless there is a very easy to use client available. Another program I have tried is Owncloud but it worked rather clunky. I was also looking at Ajaxplorer but im unsure as to how usable it will be for others. I guess im looking for something that appears almost cloud storage like but is being hosted in house by me. Let me know what you may use for such a service or can recommend for me to try.

  2. #2
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    9,885
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Serving files online

    Why not install Apache and let them use a web browser?
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  3. #3
    Join Date
    Jan 2005
    Location
    Illinois USA
    Beans
    1,047

    Re: Serving files online

    If you don't mind leaving your computer on, and have a dedicated IP or use a dynamic dns service you can install a HTTP server like Nginx.

    Or use something like dropbox
    CloudRck.com - Host on CloudRck
    I sponsor open source projects and support users of such technologies. PM for details

  4. #4
    Join Date
    Jul 2011
    Beans
    126
    Distro
    Ubuntu Development Release

    Re: Serving files online

    Apache is not exactly what I had in mind but i will mess with it a little bit in the mean time though.
    Also this is a dedicated server by the way. Also don't want to use an outside cloud service.
    Last edited by bubylou; May 29th, 2013 at 03:10 AM.

  5. #5
    Join Date
    Feb 2008
    Location
    Pelican Bay Correctional
    Beans
    Hidden!

    Re: Serving files online

    Code:
    python -c "import SimpleHTTPServer;SimpleHTTPServer.test()
    in any directory you wish to share.
    Navigate them to http://$HOSTNAME:8000/
    or http://IP.AD..DR.ESS:8000/


    This method IS NOT SECURE
    I have 3 brain cells left, and two of them have restraining orders.
    Linux is just "DOS on 'steroids"

  6. #6
    Join Date
    Jun 2006
    Location
    Brisbane Australia
    Beans
    713

    Re: Serving files online

    Quote Originally Posted by Habitual View Post
    Code:
    python -c "import SimpleHTTPServer;SimpleHTTPServer.test()
    in any directory you wish to share.
    Navigate them to http://$HOSTNAME:8000/
    or http://IP.AD..DR.ESS:8000/
    That's not going to work for 99.9% of people without forwarding a port from their home router. Dropbox, or box.net, or google drive is the best way for the OP to share files.

    And, btw Habitual, you just need to type "python -m SimpleHTTPServer" rather than all that anyhow, In fact, "python3 -m http.server" is better again because it is easier to remember.

  7. #7
    Join Date
    Dec 2007
    Beans
    475

    Re: Serving files online

    I believe you had two key points: 1) do everything in-house, and 2) keep it simple for friends/family

    Apache is probably going to be the easiest solution for you.

    Code:
    apt-get install apache2
    Then put all your files in /var/www and either remove the default index.html (apache will show the directory contents) or add hyperlinks to index.html that point to your files. That's pretty much it. Send out your IP address or domain to your family/friends and it's a done deal. It's literally like a two-step process.

  8. #8
    Join Date
    Nov 2008
    Location
    Sheffield, UK
    Beans
    1,517
    Distro
    Ubuntu

    Re: Serving files online

    I quite liked owncloud, what did you find clunky? You can have it secure with HTTPS and family could map it as a network drive

  9. #9
    Join Date
    Jul 2011
    Beans
    126
    Distro
    Ubuntu Development Release

    Re: Serving files online

    If someone could point me in the right direction for getting started with serving files over apache. Most of the stuff i have found isn't working to well for me.

    The problem i had with owncloud was how slowly it would process anything i did in the web interface. I believe it was a fairly common database issue. Ill have to see if it was fixed but i also had a few nit picks with owncloud.

  10. #10
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    9,885
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Serving files online

    Well, to begin with, if you have installed Apache and navigate to the URL http://localhost/ on the server itself, what do you see? By default the server should display the "It Works!" page. If that works, then you should be able to get the same result by navigating to http://ip.of.the.server/ from another machine on the network. If those both work as expected, we can talk about how to serve the files.

    If the server doesn't have a GUI environment, install the text-based elinks browser ("sudo apt-get install elinks") and use that for testing.

    The simplest solution would be to put all the files below /var/www, but a better solution would be to create a "virtual host" that serves up the directory tree where your files are stored now. So lets start with that, where are the files you want to distribute stored now?
    Last edited by SeijiSensei; June 6th, 2013 at 06:31 PM.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •