Decrease your stress

By Peter Baer Galvin, Unix Insider |  Networking



gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI config.c getcgi.o cgiutils.o auth.o

popen.o ../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c

../xdata/xsd

default.c -o config.cgi

gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c edata.c

gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI extinfo.c getcgi.o cgiutils.o auth.o

popen.o ../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c

../xdata/xsd

default.c ../common/comments.c ../xdata/xcddefault.c edata.o

../xdata/xeddefault.c -o extinfo.cgi

gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c lifo.c

gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI history.c getcgi.o cgiutils.o auth.o

popen.o ../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c

../xdata/xsddefault.c lifo.o -o history.cgi

gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI notifications.c getcgi.o cgiutils.o auth.o

popen.o ../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c
../xdata/xsddefault.c lifo.o -o notifications.cgi

gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI outages.c getcgi.o cgiutils.o auth.o

popen.o ../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c

../xdata/xsddefault.c ../common/comments.c ../xdata/xcddefault.c -o

outages.cgi

gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI showlog.c getcgi.o cgiutils.o auth.o

popen.o ../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c

../xdata/xsddefault.c lifo.o -o showlog.cgi

gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI status.c getcgi.o cgiutils.o auth.o

popen.o ../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c

../xdata/xsddefault.c ../common/comments.c ../xdata/xcddefault.c edata.o

../xdata/xeddefault.c -o status.cgi

gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statuswrl.c getcgi.o cgiutils.o auth.o

popen.o ../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c

../xdata/xsddefault.c -lm edata.o ../xdata/xeddefault.c -o statuswrl.cgi

cd ./html; make ; cd ..



# #comment - create "netsaint" user in /etc/passwd and "netsaint" group in

/etc/group



# make install

cd ./base; make install ; cd ..

/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d /opt/netsaint/bin

/opt/sfw/bin/ginstall -c -m 774 -o netsaint -g netsaint netsaint

/opt/netsaint/bin

cd ./cgi; make install ; cd ..

/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d /opt/netsaint/sbin

for file in *.cgi; \

do /opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint $file
/opt/netsaint/sbin; done

cd ./html; make install ; cd ..

/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d
/opt/netsaint/share

/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d

/opt/netsaint/share/media

/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d
/opt/netsaint/share/stylesheets

/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d

Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

Answers - Powered by ITworld

ITworld Answers helps you solve problems and share expertise. Ask a question or take a crack at answering the new questions below.

Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

Ask a Question
randomness