How to Do that?
1. As Root go to the location which you want to Share to the External Users.
[root@localhost ~]# cd /tmp
2. Run the Python Command with a Defined port or default will be used (Port 8000).
[root@localhost tmp]# python -m SimpleHTTPServer 19000 &
Note :
a) To Run the Command in background use "&" at the end.
b) In the above case the Port number is set to be 19000.
3. From the Remote System In the browser Type in the IPaddress:Portno you have used. Now you can see the contents of the /tmp directory
http://ip.addr.ess:19000
4. Yeppie Thats it !!!! you are now sharing your files without setting up WebServer or any FTP Server or any knowledge of system administration.
No comments:
Post a Comment