Linux³£ÓÃÃüÁî
1¡¢free ²é¿´·þÎñÆ÷µÄÄÚ´æ·ÖÅäÇé¿ö
2¡¢resin ¼ò½é£º
ps -elf|grep java //²é¿´½ø³Ì resinÆô¶¯Çé¿ö
ps -elf|grep java
ll //²é¿´½Å±¾Æô¶¯ÁÐ±í£¨ÒªÆô¶¯µÄÎļþÁÐ±í£©
dl _jsp
//sh½Å±¾Æô¶¯ &±íʾ½«Ó¦ÓóÌÐòºǫִ́ÐÐ
£¨1£©./name.sh &
£¨2£©sh name.sh &
//²é¿´javaÔËÐеÄËùÓÐÏß³Ì
ps -elf|grep java
//ɱËÀij¸öÏß³Ì
kill -9 Ï̺߳Å
setup //´ò¿ªLinux·À»ðǽÉèÖá¢Ö÷ÒªÊǶԶ˿ڵĿª·ÅÉèÖÃ
3¡¢/usr/local/resin/log jvm-default.log //²é¿´resin ·þÎñÆ÷ Æô¶¯Çé¿öµÄÈÕÖ¾
4¡¢É¾³ýÎļþÃüÁ
[root@hmdgtest49 bin]# cd /usr/local/diagramssq.zhcw.com
[root@hmdgtest49 diagramssq.zhcw.com]# rm -rf *
5¡¢java.lang.ClassNotFoundException: oracle.jdbc.driver.or acledriver //risin·þÎñÆ÷ϵÄjar°ü£¨ÈçORCALµÄjar°üµÈ£©ÎļþÉÙÀ²
6¡¢ÐÞ¸ÄÎļþ£º
vi ÎļþÃû£¨eg£ºapp-default.xml£© //½øÈë±à¼×´Ì¬
i //½øÈë²åÈë״̬
esc //Í»³ö²åÈë״̬
:wq //±£´æÍ˳ö
:q! //²»±£´æÖ±½ÓÍ˳ö±à¼×´Ì¬
7¡¢app-default.xml Îļþ ¸Ä±ä·þÎñÆ÷ ÎļþµÄ±àÂ뷽ʽ£º
<servlet servlet-name="resin-file"
servlet-class="com.caucho.servlets.FileServlet">
<init>
<character-encoding>utf-8</character-encoding>
</init>
</servlet>
8¡¢Ð޸ķþÎñÆ÷£¨linus£©hostsÎļþ
vi /etc/hosts //ÅäÖÃHOSTS
//Ð޸ķþÎñÆ÷ʱ¼ä
date -s ""
9¡¢´ò¿ªÍ¼Ðλ·¾³£¨linuxϵͳ£©
java -Djava.awt.headless=true
10¡¢./resin //Ö´ÐÐÒ»¸öresin ½Å±¾³ÌÐò /etc/init.d Ϊresin½Å±¾Â·¾¶
ÐÞ¸Äresin½Å±¾È¨ÏÞ:
#cd /etc/init.d/
Ïà¹ØÎĵµ£º
ѧLinuxÒ»Äê¶àÁË£¬¶ÔÇý¶¯µÄ֪ʶһµã¶¼Á˽⣬ÉÏÖÜÂòÁ˱¾¡¶LinuxÉ豸Çý¶¯¡·£¬O'REILLY³ö°æ£¬´òËãѧϰѧϰ¡£Ñ§Ï°¹ýµÄ´óÏÀ£¬Ï£Íû¿ÉÒÔÖ¸µ¼Ö¸µ¼¡£
Ê×ÏÈÏÂÔØLinuxÄںˣ¬°´×÷ÕßµÄ˵·¨£¬Ö»ÒªÊÇlinux-2.6.xxxµÄÄں˶¼¿ÉÒÔ£¬ÎÒµÄÊÇlinux-2.6.33.2¡£ÓÐÎ»ÍøÓÑ˵ÏÂÔØºó×îºÃ½âѹµ½/usr/src/Ŀ¼Ï£¬½âѹ
ÔÚ¹¹½¨ÄÚºËÊ÷ÊDzο¼ÁËÔÊéµÚËÄÕÂ& ......
¡¾51CTO¾«Ñ¡ÒëÎÄ¡¿¶ÔÓÚLinux¹ÜÀíÔ±À´Ëµ£¬Óкܶà·Ç³£ÓÐÓõŤ¾ß¿É¹©Ñ¡Ôñ¡£ÔÚÕâÀÎÒÖ»ÊÇÁоٳöÆäÖÐ5¸ö£¬Linux¹ÜÀíÔ±ÈÕ³£²Ù×÷¶¼ÒªÓõ½µÄ¹¤¾ß¡£ÎÒÈÏΪ£¬¹¦ÄÜ×îÇ¿µÄ¹¤¾ß¿ÉÄܲ¢²»ÊʺÏÄãµÄʹÓÃÇé¿ö£¬¶øÇÒ¾ø¶ÔÓÐЩ¹¤¾ßÎÒ»¹ÍüÁ˰ÑËüÃÇͳ¼Æ½øÀ´£¬Èç¹ûÊÇÕâÑùµÄ»°£¬ÎÒ¿ÒÇë´ó¼Ò°ÑÎÒûÊÕ¼µÄ¹¤¾ßÔÚÆÀÂÛÖÐд³öÀ´¡£ÁíÍ⣬±¾ÎÄÖÐÌáµ½µÄ¹¤¾ß ......
configureÒ»°ãÊÇtar.gz°üÀïÃæµÄÒ»¸ö¿ÉÖ´ÐÐÎļþ£¬./configureÊÇÖ´ÐÐËü£¬Æä×÷ÓþÍÊǸù¾ÝϵͳÇé¿ö×Ô¶¯Éú³É±àÒëʱËùÐèµÄMakefileÎļþ¡£Linux»·¾³ÏµÄÈí¼þ°²×°£¬²¢²»ÊÇÒ»¼þÈÝÒ×µÄÊÂÇ飻Èç¹ûͨ¹ýÔ´´úÂë±àÒëºóÔÚ°²×°£¬µ±È»ÊÂÇé¾Í¸üΪ¸´ÔÓһЩ£»ÏÖÔÚ°²×°¸÷ÖÖÈí¼þµÄ½Ì³Ì¶¼·Ç³£ÆÕ±é£»µ«Íò±ä²» ÀëÆäÖУ¬¶Ô»ù´ ......
/***************************************************************************** ³ÌÐò˵Ã÷£ºÊ¾Àý³ÌÐòÑÝʾÁË2440ƽ̨ÏÂlinux´®¿ÚÓ¦Óÿª·¢£¬¿ÉʵÏÖ2440´®¿Ú2Óë´®¿Ú3µÄͨѶ*** Ó²¼þÉèÖ㺽«2440°å×ÓÉϵĴ®¿Ú2¡¢3TXD¡¢RXD½»²æ¶Ì½Ó*** ±àÒëÔËÐУºÔÚËÞÖ÷»úÉϱàÒë³ÌÐòÔ´Â룬´ò¿ª³¬¼¶ÖÕ¶Ë£¨¿ÉÓë2440½øÐÐÃüÁî½»»¥£©£¬*** &nb ......
linuxÏÂÌí¼Ó·Óɵķ½·¨£º
Ò»£ºÊ¹Óà route ÃüÁîÌí¼Ó
ʹÓÃroute ÃüÁîÌí¼ÓµÄ·ÓÉ£¬»úÆ÷ÖØÆô»òÕßÍø¿¨ÖØÆôºó·ÓɾÍʧЧÁË£¬·½·¨£º
//Ìí¼Óµ½Ö÷»úµÄ·ÓÉ
# route add –host 192.168.168.110 dev eth0
# route add –host 192.168.168.119 gw 192.168.168.1
//Ìí¼Óµ½ÍøÂçµÄ·ÓÉ
# route add –net IP netma ......