-
Notifications
You must be signed in to change notification settings - Fork 4
Installation
Uplusware edited this page Jun 19, 2017
·
31 revisions
- Enter the directory the source code of heaphttpd
- Downlload and build OpenSSL
- Download openssl from http://openssl.org into the heaphttpd source code tree.
- eg.:
wget https://www.openssl.org/source/openssl-1.1.0c.tar.gz
- eg.:
- Extract it and rename or
ln -sit to openssl. cd openssl./configmakemake test
- Download openssl from http://openssl.org into the heaphttpd source code tree.
- Build heaphttpd
cd src/make
- Run
release.shto generate the installation files package - run
sudo intsall.shin installation package - configure /etc/heaphttpd/heaphttpd.conf. Please refer to the exampleand Load balance solution
sudo /etc/init.d/heaphttpd start
- cd api and
make cleanandsudo make install(it's for API code sample) - cd api and
make cleanandsudo make install UPLOADSAMPLE=1(it's for file uploading) - cd api and
make cleanandsudo make install MYSQLDB=1(It's MySQL sample) - cd api and
make cleanandsudo make install MONGODB=1(It's MongoDB sample) - cd cgi and
make cleanandsudo make install(it's for CGI code sample) - cd ws and
make cleanandsudo 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 cleanandsudo make install(it's for heaphttpd extension)