LINUX°²×°tomcat
rpm -ivh j2sdk-1_4_1_07-fcs-linux-i586.rpm
export JAVA_HOME=/usr/java/j2sdk1.4.1_07
export CLASSPATH=/usr/java/j2sdk1.4.1_07/lib
export PATH=$PATH:/usr/java/j2sdk1.4.1_07/bin
echo "export JAVA_HOME=/usr/java/j2sdk1.4.1_07" >> /etc/rc.local
echo "export CLASSPATH=/usr/java/j2sdk1.4.1_07/lib" >> /etc/rc.local
echo "export PATH=$PATH:/usr/java/j2sdk1.4.1_07/bin" >> /etc/rc.local
export TOMCAT_HOME=/usr/local/tomcat
echo "export TOMCAT_HOME=/usr/local/tomcat" >> /etc/rc.local
echo "/usr/local/tomcat/bin/startup.sh" >> /etc/rc.local
______________________________________________
# vi /etc/profile
JAVA_HOME=/usr/local/java/
CLASSPATH=.:/usr/local/java/lib/dt.jar:/usr/local/java/lib/tools/jar
PATH=/usr/local/java/bin:$PATH
export PATH JAVA_HOME CLASSPATH
JAVA_HOME=/opt/SUNWappserver/jdk
JRE_HOME=/opt/SUNWappserver/jdk/jre
CLASSPATH=.:$JAVA_HOME/lib/tools.jar
PATH=$JAVA_HOME/bin:$PATH
export JAVA_HOME CLASSPATH PATH JRE_HOME
#>java -version ²é¿´°æ±¾
2¡¢°²×°Tomcat
1£©ÏÂÔØapache-tomcat-6.0.10.tar.gz
2£© tar -zxvf apache-tomcat-6.0.10.tar.gz //½âѹ
3£© cp -R apache-tomcat-6.0.10 /usr/local/tomcat //¿½±´apache-tomcat-6.0.10µ½/usr/local/ϲ¢ÖØÃüÃûΪtomcat
4) /usr/local/tomcat/bin/startup.sh //Æô¶¯tomcat
ÏÔʾ Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TEMDIR: /usr/local/tomcat/temp
Using JAVA_HOME: /usr/java/jdk1.6.0_01
µ½´ËtomcatÒѾ°²×°Íê³É£¬ÏÖÔÚʹÓÃä¯ÀÀÆ÷·ÃÎÊ http://localhost:8080£¬³öÏÖtomcatĬÈÏÒ³Ã棬˵Ã÷ÒѾ°²×°³É¹¦¡£
°²×°mod_jk¡£
¡¡¡¡ÔÚ°²×°mod_jk֮ǰ£¬ÒªÊ×ÏÈ°²×°httpd-devel£¬ÒÔ±ãÓÚÓÃapxsÃüÁîÀ´ÈÃmod_jkÄ£¿éµÄ°²×°Ë³Àû½øÐС£
ÏÂÔØjk2 wget http://archive.apache.org/dist/jakarta/tomcat-connectors/jk2/jakarta-tomcat-connectors-jk2-src-current.tar.gz
./configure --with-apxs=/usr/sbin/apxs \
--with-apr-lib=/usr/lib \
--with-tomcat-41=/usr/local/tomcat \
--with-java-home=/usr/local/jdk1.6.0_01/ \
--with-jni --with-pcre
Ïà¹ØÎĵµ£º
Linux»·¾³Ï¸÷¸öä¯ÀÀÆ÷µÄ±È½Ï
2009Äê05ÔÂ11ÈÕ ÐÇÆÚÒ» 09:46
kingliyouдµÀ "Èç¹ûÄ㻹ÊÇÒ»¸öLinuxµÄ²ËÄñ£¬ÄÇôÄãÊ×ÏÈ»á¶ÔËü¼¯³ÉµÄÍøÒ³ä¯ÀÀÆ÷ÓÐÐËȤ¶ø²»ÊÇÄÇЩÎÄ×Ö±à¼Æ÷£¬¿ª·¢ÓÃIDEµÈ¡£ÄÇô³ýÁ˶úÊìÄÜÏêµÄFirefoxÍâÄ㻹¶ÔÏÂÃæÄÇÒ»¿î¸ÐÐËȤÄØ£¿
Konqueror:KDE×ÀÃæ»·¾³ÏÂÖøÃûµÄ"°ëºì²»ºÚ"µÄä¯ÀÀÆ÷£»ËüÎȶ¨£¬Ëü¼ò½à£¬Ëü×°ÔØÒ ......
µÚÒ»ÐУ¬ºÜÈÝÒ׿´³öÀ´ÁË°ÉeZpLinuxÁªÃË
¼òµ¥ËµÒ»ÏÂload average: * * *eZpLinuxÁªÃË
µÚÒ»¸öÊýÊÇ£ºÆ½¾ù£µ·ÖÖÓÒÔÄÚÓжàÉÙ½ø³ÌÔÚ¾ºÕù£Ã£Ð£ÕeZpLinuxÁªÃË
µÚ¶þ¸öÊýÊÇ£ºÆ½¾ù£±£°·ÖÖÓÒÔÄÚÓжàÉÙ½ø³ÌÔÚ¾ºÕù£Ã£Ð£ÕeZpLinuxÁªÃË
µÚÈý¸öÊýÊÇ£ºÆ½¾ù£±£µ·ÖÖÓÒÔÄÚÓжàÉÙ½ø³ÌÔÚ¾ºÕù£Ã£Ð£ÕeZpLinuxÁªÃË
eZpLinuxÁªÃË
µÚ¶þÐУºeZpLinu ......
ÔÚredhat2.4.20-8ϱàÒëͨ¹ý£º
ÓÉÓÚ±¾³ÌÐò´°¿Ú²¿·ÖÓÉglad¹¤¾ß±àÖÆ£¬Ô´´úÂë²»Ò×Ìù³ö£¬ÏÖÖ»¸ø³ö²¿·Ö»Øµ÷º¯ÊýµÄ´úÂ룺
1£¬“Í˳ö”°´Å¥»Øµ÷º¯Êý£º
void
on_button9_clicked (G ......