How install simple HTTP server in Linux?

How install simple HTTP server in Linux?
Answer
Open up a terminal and type:
  1. $ cd /home/somedir $ python -m SimpleHTTPServer. That’s it! …
  2. Serving HTTP on 0.0. 0.0 port 8000 … …
  3. http://192.168.1.2:8000. You can also access it via:
  4. http://127.0.0.1:8000. If the directory has a file named index. …
  5. $ python -m SimpleHTTPServer 8080.
 

Tìm kiếm

Back
Top