建构PHPJSP环境

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

1PHP+JSP2007.08.29路:JDK5.0:::(mod_jk)::::::InstallMySQL:cd/usr/local/src/tar-zxvfmysql-max-4.1.20-pc-linux-gnu-i686.tar.gzln-s/usr/local/src/mysql-max-4.1.20-pc-linux-gnu-i686/usr/local/mysqlcd/usr/local/mysqlgroupaddmysqluseradd-gmysqlmysqlscripts/mysql_install_db--user=mysqlchown-Rroot.chown-Rmysqldatachgrp-Rmysql.bin/mysqld_safe--user=mysql&cpsupport-files/my-medium.cnf/etc/my.cnfBootStart:4vi/etc/rc.d/rc.local/usr/local/mysql/bin/safe_mysqld--user=mysql&InstallJDK:chmod755JDK1.5.0.rpm.bin./JDK1.5.0.rpm.binSetPATH:vi/etc/profilesJAVA_HOME=/usr/java/jdk_1.5.0/PATH=$PATH:$JAVA_HOME/binexportPATHJAVA_HOMEsource/etc/exportsInstallApache:cd/usr/local/src/tar-zxvfhttpd-2.0.59.tar.gzConfigure:./configure\--prefix=/usr/local/apache\--enable-modules=so\--enable-mods-shared=most\--enable-v4-mapped\--enable-proxy\--enable-ssl\--enable-proxy-http\--enable-proxy-ftp\--enable-cache\--enable-disk-cache\--enable-mem-cache\--enable-so\--enable-speling\--enable-cgi\--with-ssl=/usr/share/ssl5make;makeinstallBootstart:vi/etc/rc.d/rc.local/usr/local/apache/bin/apachectlstartInstallPHP:CheckRPMInstall:yum-yinstalllibselinux*yum-yinstalllibc-client*yum-yinstallbzip*yum-yinstallgmp*yum-yinstallcurl*yum-yinstallxmlsec*yum-yinstallnet-snmp*yum-yinstallcyrus-imapd*yum-yinstallgdyum-yinstalllibpng*yum-yinstallzlib*yum-yinstallbisonyum-yinstallflexyum-yinstallopenssl*yum-yinstallgtkspell*yum-yinstallautoconfyum-yinstalllibtoolyum-yinstalllibjpeg-develyum-yinstalllibjpegConfigure:./configure\--prefix=/usr/local/php\--with-mysql=/usr/local/mysql\--with-apxs2=/usr/local/apache/bin/apxs\--with-config-file-path=/etc\--with-gd\--with-gettext\--with-zlib\--with-kerberos\--with-imap-ssl\6--with-snmp\--with-openssl\--with-zlib\--with-iconv\--with-imap\--with-bz2\--with-curl\--without-gdbm\--with-gmp\--with-png\--with-pspell\--with-xml\--with-layout=GNU\--with-pic\--enable-mbstring\--enable-roxen-zts\--enable-magic-quotes\--enable-libgcc\--enable-versioning\--enable-bcmath\--enable-calendar\--enable-exif\--enable-ftp\--enable-filepro\--enable-shared\--enable-static\--enable-fast-install\--enable-zend-multibyte\--enable-memory-limit\--enable-experimental-zts\--enable-safe-mode\--enable-ucd-snmp-hack\--enable-bcmath\--enable-pic\--enable-inline-optimization\--enable-force-cgi-redirect\--enable-sockets\--enable-sysvsem\--enable-track-vars\--enable-trans-sid\--enable-yp\7--enable-wddx\--enable-gd-native-ttf\--enable-shmop\--enable-dbx\--enable-dio\--enable-mbstr-enc-trans\--enable-mbregex\--disable-debug\--disable-rpathmake;makeinstallcp/usr/local/src/php4.4.7/php.ini-recommended/etc/php.iniSetupApache:vi/usr/local/apache/conf/httpd.confAddTypeapplication/x-httpd-php.phpLoadModulephp4_modulemodules/libphp4.so/usr/local/apache/apachectlrestartInstallTomcat:cd/usr/local/tar-zxvfapache-tomcat4.1.3.6.tar.gzCompilemod_jk:cd/usr/local/src/tar-zxvftomcat-connectors-1.2.25-src.tar.gzConfigure:./configure--with-apxs=/usr/local/apache/bin/apxsvi/usr/local/apache/conf/httpd.confLoadModulejk_modulemodules/mod_jk.soVirtualHost*:808JkMount/*.jspajp13/VirtualHost/*JSP路/usr/local/tomcat/webapps/ROOT*Apache錄/usr/local/apache/htdocs/不JSP*錄/usr/local/tomcat/webapps/ROOT/dir1**VirtualHost*:80*JkMount/*.jspajp13*JkMount/dir1/*.jspajp13//類*/Vi

1 / 9
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功