Skip to content

How to build a cpp service as c service interface

Taymindis Woon edited this page Sep 27, 2017 · 2 revisions

Step 1. Install Nginx

you can just follow this link to install Nginx https://www.linode.com/docs/web-servers/nginx/install-nginx-web-server-on-debian-8/

Step 2. Install FCGI

Download the latest from https://github.com/FastCGI-Archives/FastCGI.com/blob/master/original_snapshot/fcgi-2.4.1-SNAP-0910052249.tar.gz

untar it and do ./configure make sudo make install

Noted: please include <stdio.h> in fcgio.cpp if you having EOF not defined issue

Step 3.

Follow the https://github.com/Taymindis/c-service-interface#step-of-installation .

Step 4.

Done and enjoy your Service