服务器监控--cacti中英文版安装全解
作者 佚名技术
来源 Linux系统
浏览
发布时间 2012-05-15
#### #7、安装httpd-2.2.8 cd /opt tar jxvf httpd-2.2.8.tar.bz2 cd httpd-2.2.8 ./configure --prefix=/usr/local/apache2 --enable-so --enable-ssl --with-ssl=/usr/local/ssl --enable-track-vars --enable-rewrite --with-zlib --enable-mods-shared=most --enable-suexec --with-suexec-caller=daemon make;make install echo "/usr/local/apache/bin/apachectl start" >> /etc/rc.d/rc.local /usr/local/apache/bin/apachectl start #################(8)安装libPNG###################################### cd /opt tar zxvf libpng-1.2.26.tar.gz cd libpng-1.2.26 cp scripts/makefile.linux ./makefile ./configure --prefix=/usr/local/libpng make;make install ##################(9)安装freetype################################## cd /opt tar zxvf freetype-2.3.5.tar.gz cd freetype-2.3.5 ./configure make;make install ##################(10)安装JPEG6################################## cd /opt tar zxvf jpegsrc.v6b.tar.gz cd jpeg-6b mkdir -pv /usr/local/jpeg/{,bin,lib,include,man/man1,man1} ./configure --prefix=/usr/local/jpeg --enable-shared --enable- static make;make install ##################(11)安装GD#################################### cd /opt tar zxvf gd-2.0.35.tar.gz cd gd-2.0.35 ./configure --with-png --with-freetype --with-jpeg=/usr/local/jpeg/ make;make install ##################(12)安装LIBXML2################################ cd /opt tar zxvf libxml2-2.6.31.tar.gz cd libxml2-2.6.31 ./configure --prefix=/usr/local/libxml2 make;make install cp xml2-config /usr/bin ##################(13)安装libmcrypt############################### cd /opt tar zxvf libmcrypt-2.5.7.tar.gz cd libmcrypt-2.5.7 ./configure make;make install ##################(14)安装PHP5.2.5################################### cd /opt tar zxvf php-5.2.5.tar.gz cd php-5.2.5 ./configure --prefix=/usr/local/php5 --with-mysql=/usr/local/mysql5 --with-apxs2=/usr/local/apache2/bin/apxs --with-jpeg-dir=/usr/local/jpeg --with-freetype-dir=/usr/local/include/freetype2 --with-zlib --with-png-dir=usr/local/libpng12 --with-libxml-dir=/usr/local/libxml2 --with-gd --enable-ftp --enable-sockets -enable-mbstring=all- --with-mcrypt --with-mysqli=/usr/local/mysql5/bin/mysql_config make;make install cp php.ini-dist /usr/local/php5/lib/php.ini mv /usr/local/apache/conf/http.conf /usr/local/apache/conf/http.conf.bak cp /opt/httpd.conf /usr/local/apache2/conf/httpd.conf cp /opt/index.php /usr/local/apache2/htdocs/ ############################################## # INSTALL ZendOptimizer cd /opt tar -zxvf ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz cd ZendOptimizer-3.3.3-linux-glibc23-i386 ./install echo "LINUX MYSQL APACHE2 PHP5 ZEND INSTALL OK" #安装Time::HiRes cd /opt tar zxvf Time-HiRes-1.9715.tar.gz cd Time-HiRes-1.9715 perl Makefile.PL make make test make install #安装File::Tail cd /opt tar zxvf File-Tail-0.99.3.tar.gz cd File-Tail-0.99.3 perl Makefile make make test make install cd /opt rpm -ivh libart_lgpl-devel-2.3.17-4.i386.rpm tar zxvf cgilib-0.5.tar.gz cd cgilib-0.5 make cp libcgi.a /usr/local/lib cp cgi.h /usr/include ln -s /usr/local/include/freetype2/ /usr/include/fr |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
上一篇: [伊达原创]如果fstab这个文件消失了怎么办?下一篇: linux服务---DNS
关于服务器监控--cacti中英文版安装全解的所有评论