LinuxÏ°²×°ÅäÖà jdk1.6 tomcat6 Apache2.2 jk mod1.2
±¾ÎÄת×Ô http://zhzhiqun2005.javaeye.com/blog/462799
LinuxÏ°²×°ÅäÖà Jdk1.6+Tomcat6+Apache2.2.x+jk_mod1.2 Ïê½â
LinuxÏ°²×°ÅäÖà Jdk1.6+Tomcat6+Apache2.2.x+jk_mod1.2 Ïê½â
±¾ÆªÒÔRedhat AS5£¬ÄÚºËΪLinux 2.6.18-8.el5 ΪÀý£¬ÆäÖÐRedhat/FedoraϵÁлù±¾Ò»Ö£¬ÆäËûLinux»òÕß°æ±¾¾ù¿ÉÒԲο¼¡£
STEP 1
Èí¼þÏÂÔØ:
1. jdk1.6.x http://java.sun.com/javase/downloads/index.jsp
2. tomcat6.x http://tomcat.apache.org/download-60.cgi
3. apache2.x http://httpd.apache.org/download.cgi
4. jk_mod1.2.x http://tomcat.apache.org/download-connectors.cgi
¼ÙÈçÒÔÉÏÎļþ¶¼ÒѾ³É¹¦ÏÂÔØ£¬²¢·Åµ½ÁË/home/work/software/Ï£¬¼ÙÉèÄãÊÇworkÓû§¡£
SETP 2
1. JDK°²×°
1.1 ½âѹ²¢ÊÚȨ¸øÏÂÔسÌÐò¿ÉÒÔÖ´ÐеÄȨÏÞ
[work@localhost webServer]$ chmod a+r jdk-6u10-beta-linux-i586.bin
£ª£ª£ª Ò»¶ÎÐí¿ÉÐÒé ***
Do you agree to the above license terms? [yes or no]
[work@localhost webServer]$ yes
*** ½âѹ¹ý³Ì ***
Done.
# ³öÏÖÒ»¶ÎÐí¿ÉÐÒ飬ÌáʾÊÇ·ñͬÒâÉÏÃæµÄÌõ¿î,ÊäÈëyes¡£
[work@localhost webServer]$ mv jdk1.6.0_10 /home/work/usr/local/
[work@localhost local]$ ln -s jdk1.6.0_10 jdk
Íê³Éºó£¬½«½âѹºóµÄjdk1.6.0_10Îļþ¼ÐÒƶ¯µ½×¨ÃŵÄĿ¼ÏÂÃ棬»¹¿ÉÒÔ×öÒ»¸ö·ûºÅÁ¬½Ó
1.2 ÅäÖÃJava»·¾³±äÁ¿
Ö±½Ó±à¼/etc/profileÎļþ»òÕßÔÚ/etc/profile.d/ÎļþÏÂн¨java.shÎļþ
ÆÕͨÓû§Ã»Óбà¼È¨ÏÞ£¬¿ÉÒÔÊÚȨ»òÕßÇл»µ½rootÕË»§À´±à¼¸ÃÎļþ¡£
[work@localhost local]$ vim /etc/profile.d/java.sh
ÕâÀïÒÔн¨µÄjava.shÎļþΪÀý×Ó(Ò²ÍƼöÕâÖÖ·½Ê
Ïà¹ØÎĵµ£º
Linux µÄ Input Device ÊÇÖØÒªµÄÒ»個 subsystem£¬ÔÚ進ÐÐ實Àý½é紹Ç°£¬ÏÈ´óÂÔÁ˽âÒ»ÏÂÏà關µÄ API¡£input.cÊÇLinuxµÄÊäÈë驅動³Ìʽ£¬Ö÷ÒªÖ§Ô®鍵盤與»¬ÊóµÄ輸È룻input.c½éÃæÌØÊâµÄµØ·½ÊÇ採ÓÃÁËʼþ£¨event£©µ ......
alarm£¨ÉèÖÃÐźŴ«ËÍÄÖÖÓ£©
Ïà¹Øº¯Êý signal£¬sleep
±íÍ·Îļþ #include<unistd.h>
¶¨Ò庯Êý unsigned int alarm(unsigned int seconds);
º¯Êý˵Ã÷ alarm()ÓÃÀ´ÉèÖÃÐźÅSIGALRMÔÚ¾¹ý²ÎÊýsecondsÖ¸¶¨µÄÃëÊýºó´«Ë͸øÄ¿Ç°µÄ½ø³Ì¡£Èç¹û²ÎÊýseconds Ϊ0£ ......
Ò»¡¢Ê×ÏÈҪ׼±¸±ØÐëµÄÈí¼þ£¬ÎÒÑ¡Óõİ汾ÈçÏ£º
apr-1.4.2£¬ÏÂÔصØÖ·£ºhttp://archive.apache.org/dist/apr/
apr-util-1.3.9£¬ÏÂÔصØÖ·£ºhttp://archive.apache.org/dist/apr/
apache£¨httpd-2.2.9£©£¬ÏÂÔصØÖ·£ºhttp://archive.apache.org/dist/httpd/
SQLite-2.6.23.1£¬ÏÂÔصØÖ·£ºhttp://www.sqlite.org/
neon- ......
linuxÏÂoracleµÄ×Ô¶¯±¸·Ý
http://hohai2002.blog.163.com/blog/static/1628166912010323103227543/
±¸·Ý
ÉÏ´«root_cronµ½rootĿ¼
ʹÓÃcrontab ÅäÖÃÎļþ
crontab -u root /root/root_cron
ʹÓÃcrontab -l ¼ì²é
#Îļþ root_cron
01 00 * * * /etc/root_exp.sh
#Îļþroot_exp.sh
su - oracle -c /oracle/db ......
LinuxÏ»·¾³°²×°ÅäÖÃRose HAÈ«¹¥ÂÔ(ͼ)
Ò».°²×°Rose HA
ÈçºÎÔÚLinux»·¾³Ï°²×°Rose HA¡£±¾ÎļÙÉè»·¾³ÎªLinux²Ù×÷ϵͳ£¬²ÉÓÃ9.2°æ±¾µÄoracleÊý¾Ý¿â¡£ÏÂÃæÎÒÃÇ¿´¿´£¬ÔÚLinux Oracle»·¾³ÏÂÈçºÎ°²×°ºÍÅäÖÃRose HA¡£
Ê×ÏȽ«¹âÅ̷Žø¹âÇý
A £º ÔÚ¹¤×÷»úÉϽ«×ÊÔ´Ò»Ò»µãÖУ¬Ê¹×ÊÔ´´¦ÓÚ¸ßÁÁ× ......