
常用软件类: |
|杀毒安全 | |联络聊天 | |网络软件 | |多媒体类 | |系统工具 | |图形图像 | |系统工具 | |应用软件 | |行业软件 |
开发设计类: |
|动画制作 | |图像处理 | |3D设计 | |操作系统 | |站长学院 | |网络相关 | |WEB设计 | |数据库类 | |程序开发 |
# cd /usr/local/src # tar zxvf httpd-2.2.4.tar.gz # cd httpd-2.2.4 # ./configure --prefix=/usr/local/apache # make # make install # echo "/usr/local/apache/bin/apachectl start" >> /etc/rc.local(系统启动时服务自动启动)
# cd /usr/local/src # wget -c http://download.discuz.net/gdinstaller.tar.gz # tar xzvf gdinstaller.tar.gz # cd GDInstaller # ./install.sh
# cd /usr/local/src # wget -c http://download.discuz.net/php-5.1.2.tar.gz # tar xjvf php-5.2.1.tar.gz # cd php-5.2.1 # ./configure --prefix=/usr/local/apache/php --with-apxs2=/usr/local/apache/bin/apxs \ --with-zlib-dir --with-bz2 --with-tiff-dir --with-libxml-dir --with-gd \ --with-freetype-dir --with-jpeg-dir --with-png-dir --with-ttf --enable-mbstring \ --with-mysql=/usr/local/mysql --with-config-file-path=/etc --disable-ipv6 \ --enable-gd-native-ttf --enable-ftp --enable-zip --enable-ldap --enable-mbregex \ --enable-calendar --enable-curl --disable-debug --enable-inline-optimization # make # make install # cp php.ini-dist /etc/php.ini 编辑apache配置文件httpd.conf # vi /etc/httpd/httpd.conf
# cd /usr/local/src # tar xzvf ZendOptimizer-3.0.0-linux-glibc21-i386.tar.gz# cd ZendOptimizer-3.0.0-linux-glibc21-i386
# ./install.sh
# vi /usr/local/apache/htdocs/test.php ** 在系统默认目录下建立test.php测试文档。以下为内容:<?php
phpinfo();
?> * 要求熟悉VI文本编辑器基本命令,保存后退出。
