I am afraid my question could be very stupid, and also be duplicate. But I didn't manage to find what I want after looking for some similar questions on this site.
My question is simple, I have a big file, i.e. 1GB on my Ubuntu server, and I want to share this file with other users. How can I create a URL address for public users, in other words, when one user click this URL, the download will automatically start without demanding a username and password, just like we download many stuff (pdf, music) when we find an usable url with google.
Someone suggests me to setup an anonymous ftp. I think it's a possible solution, but I didn't succeed to accomplish it. Can some one give me more details how I achieve my goal, (with or without ftp will both ok).
Thanks for any help, and I am very grateful for some examples, or some tutorials !
Install Apache2
sudo apt-get install apache2
Place your into file the /var/www/ directory (might need root privileges for this)
sudo cp yourfile /var/www/yourfile
Access the file with the following link:
http://your-ip-address/yourfile
If your running under a router or firewall, you might have to open port 80 and forward it to your pc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With