I want to expose a directory on my Ubuntu server, for user to explore over a browser and download. Users would be within my LAN, and I don't have security/authentication need.

Any software which provides an interface like this would work - http://download.virtualbox.org/virtualbox/5.0.16/

Most important: 1. Ease of use, 2. Transfer speed, 3. Ease of installation


The one of the fastest ways will be

python -m SimpleHTTPServer 8000

Useful links:

If you can't access created website, check your's Linux user permissions.

  • Thanks. I will try it out – NRJ May 14 '16 at 12:17
  • Where should I put the files to be served? – Nicolas Raoul May 16 '16 at 3:17
  • In the directory, where you start the server, e.g., if you are in /home/lukasz/test, run python -m SimpleHTTPServer 8000, then all files stored in this directory will be available. – l.augustyniak May 16 '16 at 6:25

The first thing that sprung into my mind is to install and run the default HTTP server:

apt-get install apache2

and then copy in /var/www/html the files and directories you want to share, or just change the DocumentRoot location.

The interface that will be shown to the users will be exactly like the one you linked.

You'll need to learn some basic Apache webserver configuration, but it's not that hard and it's a skill that might be useful to you in the future.

  • I tried apache2, and changed the DocumentRoot, restarted the server, then it started giving me "Forbidden" message. Do you have a sample configuration which works ? – NRJ May 14 '16 at 12:16
  • Do a chgrp -R www-data /foo/bar && chmod -R 775 /foo/bar where /foo/bar is your DocumentRoot. – dr_ May 14 '16 at 14:38
  • You'd need to change the access rules in the Apache configuration as well if you changed the DOCUMENT_ROOT. Check for all occurences of the "old location" and adjust them accordingly. – Izzy May 27 '16 at 13:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.