Run C++ Program on Browser

This is my second training job.the task is run c++ program on browser.

1) first you install c++ compiler .

2)run this command in terminal

sudo apt-get install build-essential

3)install ths cgicc file package

4)download cgicc package form this link

5)run this command

sudo apt-get install libcgicc5 libcgicc5-dev libcgicc-doc

6)now configure your apache server

7)open the httpd.conf of apache

8)find the htttpd configure file with help of this command

9)locate httpd.conf

10)sudo gedit /path/to/file/httpd.conf

11)now add this

<Directory “/var/www/cgi-bin”>
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all

12)now your cgicc  module is install


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s