Skip to content
Uplusware edited this page Sep 15, 2016 · 31 revisions

install niuhttpd

  • sudo apt-get install libssl-dev HTTP2 depends on TLSv.12. Please download openssl.1.1 from http://openssl.org
  • sudo apt-get install openssl
  • Run release.sh to generate the installation files package
  • run sudo intsall.sh in installation package
  • configure /etc/niuhttpd/niuhttpd.conf
  • sudo /etc/init.d/niuhttpd start

install demo

  • cd api and make clean and sudo make install (it's for API code sample)
  • cd api and make clean and sudo make install MYSQLDB=1 (It's MySQL sample)
  • cd api and make clean and sudo make install MONGODB=1 (It's MongoDB sample)
  • cd cgi and make clean and sudo make install (it's for CGI code sample)
  • cd ws and make clean and sudo make install (it's for WebSocket code sample)
  • cd webpy and sudo make install (it's for web.py, need to install Spawn-fcgi)
  • cd ext and make clean and sudo make install (it's for Web Server Extension)

Clone this wiki locally