linux - How to create a downloadable public link for files on server -
i afraid question stupid, , duplicate. didn't manage find want after looking similar questions on site.
my question simple, have big file, i.e. 1gb on ubuntu server, , want share file other users. how can create url address public users, in other words, when 1 user click url, download automatically start without demanding username , password, download many stuff (pdf, music) when find usable url google.
someone suggests me setup anonymous ftp. think it's possible solution, didn't succeed accomplish it. can 1 give me more details how achieve goal, (with or without ftp both ok).
thanks help, , grateful examples, or tutorials !
install apache2
sudo apt-get install apache2
place file /var/www/ directory (might need root privileges this)
sudo cp yourfile /var/www/yourfile
access file following link:
http://your-ip-address/yourfile
if running under router or firewall, might have open port 80 , forward pc.
Comments
Post a Comment