Create a webserver for download files

1- create an super user

2- install python

3- install the file in the correct directory

4- run the python server

sudo adduser super             #password: juniper123
sudo usermod -aG  sudo super
sudo apt-get install python

sudo mkdir www
sudo cd /home/super/www/                                                                                                   # upload the file to this folder ( ssh/sftp)
sudo python -m SimpleHTTPServer 8082

python -m SimpleHTTPServer 8082      ( will server files on port 8082 )


I have used this on linux VNFs or on the NFX jdm shell for example, using 

python -m SimpleHTTPServer 8082 &


Webserver1  on ESXi 172.30.95.71   

IP@  172.30.95.221 ( super /   juniper 123 )