Slaris10 is fully installed by default
# uname -srvmpi
SunOS 5.10 s10_58 sun4u sparc SUNW,Ultra-250 //Operating environment
Go to the website to download and install gcc autoconf automake bison ncurses Wait for the compilation environment software.
#PATH=/usr/sbin:/usr/bin:/usr/local/bin/:/usr/ccs/bin
Compile and install HTTPD2
# tar xvf httpd-2.1.3-beta.tar
# cd httpd-2.1.3-beta
# CC=gcc CFLAGS="-O6" CXX=gcc CXXFLAGS="-O6 - felide-constructors -fno-exceptions -fno-rtti"
//The previous line of command can be omitted, and I don’t quite understand its specific meaning.
# ./configure --enable-so
//DSO mode installation apache
# make
# make install
//Edit Configuration file httpd.conf, add the following changes, start httpd successfully
# vi /usr/local/apache2/conf/httpd.conf