How you can set-up an ubuntu machine like a file server? I already saw the steps to host a webpage using ubuntu(with apache2) but I wish to have the ability to save my file and provide the direct link from the apply for installing. Any ideas? Or perhaps is there every other good way to allow hosting of the file?

Thanks

If you want to serve files for testing then

python -m SimpleHTTPServer &lifier

Can make the present directory available as http://localhost:8000/whatever. Clearly this is not secure, but when you want to share files on the network you control (you are able to replace localhost using the title from the machine) then it is a fast method of doing it.