linux start simple http server

C++
python -m SimpleHTTPServer
# or the Python 3 equivalent
python3 -m http.server

Source

Also in C++: