Escolar Documentos
Profissional Documentos
Cultura Documentos
[root@curso7:/usr/src/lighttpd-1.4.52/]# ./configure
# Compilação
[root@curso7:/usr/src/lighttpd-1.4.52/]# make
# Instalação
[root@curso7:/usr/src/lighttpd-1.4.52/]# lighttpd –h
usage:
-tt test config-file syntax, load and init modules, then exit
[root@curso7:/usr/src/lighttpd-1.4.52/src/]# cp server.c
servernew.c
@@ -646,7 +646,7 @@
" -tt test config-file syntax, load and init modules, then exit\
n" \
"\n"
" -1 process single (one) request on stdin socket, then exit\
n" \
" -p print the parsed config-file in internal form, and exit\
n" \
" -tt test config-file syntax, load and init modules, then exit\
n" \
[root@curso7:/usr/src/lighttpd-1.4.52/]# lighttpd –h
usage:
-tt test config-file syntax, load and init modules, then exit
[root@curso7:/usr/src/lighttpd-1.4.52/src/]# lighttpd –h
usage:
-tt test config-file syntax, load and init modules, then exit
# 1.4.52/src/)
[root@curso7:/usr/src/lighttpd-1.4.52/src/]# cp server.c
newserver.c
[root@curso7:/usr/src/lighttpd-1.4.52/src/]# cd /usr/src
[root@curso7:/usr/src/]# diff -u
/usr/src/lighttpd-1.4.52/src/server.c
/usr/src/lighttpd-1.4.52/src/newserver.c > ./lighttpd2.patch
--------------------------
--------------------------
File to patch:
1 2 3
/usr/src/lighttpd-1.4.52/src/
[root@curso7:/usr/src/lighttpd-1.4.52/]# lighttpd –h
usage:
-tt test config-file syntax, load and init modules, then exit
-v SHOW-version