Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

LinuxÖа²×°Tomcat6ÊÖ¼Ç

°²×°²½Ö裺
Ø  °²×°tomcatÇ°ÏÈÒª±£Ö¤°²×°ÁËJDK£¬¿ÉÒÔÓÃÃüÁî²é¿´ÊÇ·ñ°²×°ÁËJDK£º
[root@wxr webapps]# java -version
java version "1.6.0_19"
Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
Java HotSpot(TM) Client VM (build 16.2-b04, mixed mode, sharing)
 
Ø  ÏÂÔØTomcat6µÄѹËõ°ü£¬ÎļþÃûΪ£ºapache-tomcat-6.0.26.tar.gz £»
Ø  ÔÚ /usr/localĿ¼Ï½âѹ´ËѹËõÎļþ£º
 [root@wxr local]# tar xzvf apache-tomcat-6.0.26.tar.gz
Ö®ºóÉú³ÉÒ»¸öÃûΪ“apache-tomcat-6.0.26”µÄÎļþ¼Ð, °²×°µÄTomcatĿ¼¡££»
 
Ø  Æô¶¯tomcat£º
cd /usr/local/ apache-tomcat-6.0.26/bin
[root@wxr bin]# ./startup.sh
×¢£º¿ÉÒÔ°Ñ°²×°µÄtomcatÎļþ¼Ð¸Ä¸öÃû×Ö»òÕß×ö¸ö±¸·ÝΪtomcat6£º
[root@wxr bin]# mv apache-tomcat-6.0.26 tomcat6
[root@wxr bin]# cp -r apache-tomcat-6.0.26 tomcat6
 
Ø  ΪtomcatÌí¼Ó»·¾³±äÁ¿£º
[root@wxr ~]# more .bashrc
# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
 
# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi
export JAVA_HOME=/usr/java/jdk1.6.0_19
export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH:$HOMR/bin
export TOMCAT_HOME=/usr/local/tomcat6
 
Ø  ²é¿´²âÊÔÒ³£º
ÔÚÆäËû»úÆ÷ÉÏÈç¹ûÄÜpingͨ°²×°ÁËtomcatµÄ·þÎñÆ÷µØÖ·£¬¾ÍÓ¦¸ÃÄÜ·ÃÎÊtomcatµÄ²âÊÔÒ³ÁË£¬ÈçÔÚieÖÐÖ±½Ó·ÃÎÊ£ºhttp://192.168.2.254:8080
Ø  The End…


Ïà¹ØÎĵµ£º

³£ÓõÄLinuxÃüÁî

1.²é¿´ÏµÍ³ÄÚºË
#uname -a
2.²é¿´cpuÐÅÏ¢
#cat /proc/cpuinfo
3.²é¿´ÄÚ´æʹÓÃÇé¿ö
#free -m
4.²é¿´Ó²ÅÌÊ£Óà¿Õ¼ä
#df -h
5.²é¿´Ä¿Â¼Õ¼Óÿռä
#du -hs Ŀ¼Ãû
6.²é¿´µ±Ç°ÓÐÄÄЩ½ø³Ì
#ps -A
7.²é¿´µ±Ç°½ø³ÌµÄʵʱÇé¿ö
#top
8.²é¿´½ø³Ì´ò¿ªµÄÎļþ
#lsof -p
9.²é¿´Ä³¸öÎļþ±»ÄÄЩӦÓóÌÐò¶Áд ......

linuxÉ豸ºÅÖ®²Ù×÷

×÷ÕߣºÀîÇ¿,»ªÇåÔ¶¼ûǶÈëʽѧԺ½²Ê¦¡£
ÔÚLinuxÉ豸Çý¶¯ÖУ¬É豸ºÅÉèÒ»¸öºÜÖØÒªµÄ¸ÅÄîºÍ±äÁ¿¡£²»ÂÛÊÇÖ÷É豸ºÅ£¬»¹ÊÇ´ÎÉ豸ºÅ£¬ÔÚÉ豸Çý¶¯Öж¼Õ¼¾ÝÁ˺ÜÖØÒªµÄµØλ¡£ÄÇôËûÔÚKernelÖÐÊÇÈçºÎ²Ù×÷µÄ£¿Õâ¸öÊý¾Ý½á¹¹¶¼ÊÇͨ¹ýÄÇЩº¯Êý¿ÉÒÔºÜÈÝÒ×µÄÔÚÎÒÃÇдLinuxÉ豸Çý¶¯Ä£¿éʱ±»ÎÒÃÇËùʹÓÃÄØ£¿
ÔÚinclude/linux/type.hÎļþÖÐÎÒÃÇÄ ......

Linux Ï°²×°jdk

Ò»£º°²×°jdk Îҵİ汾ÊÇ£ºjdk-6u10-linux-i586.rpm
°²×°jdk1.6°²×°°ü£º rpm -ivh jdk-6u10-linux-i586.rpm
ÅäÖû·¾³±äÁ¿£º
1£¬½øÈëprofileÎļþ£ºvi/etc/profile
2,ÔÚÎļþÖÐÌí¼ÓÒÔÏ´úÂ룺
   export JAVA_HOME = /usr/usr/java/jdk1.6.0_10 --jdk°²×°Ä¿Â¼
   export CALSSPATH = $JAVA_HOM ......

Redhat Linux AS4 ls Îļþ¼Ð ÑÕÉ«£¨À¶É«£©µÄ ¸Ä±ä·½·¨

Îı¾½çÃæÏ£¬ºìñÓÃÀ¶É«×÷ΪlsµÄĿ¼µÄÑÕÉ«£¬ÅäºÏËûµÄºÚÉ«±³¾°£¬¸Ð¾õÌ«°µÁË£¬¿´²»Çå¡£
¸Ä³É±ðµÄÑÕÉ«µÄ·½·¨£º
Ê×ÏÈ£¬
# vi
/etc/DIR_COLORS
ÄÚµÄÉ趨“DIR 01£»34”£¬ÎªlsÃüÁîµÄĿ¼µÄÑÕÉ«ÉèÖã¬01±íʾ´ÖÌ壬34±íʾ×ÖÌåÀ¶É«¡£
ÎÒ°ÑËü
¸Ä³ÉÁË“DIR 01£»37£»44”£¬37ÊÇ×ÖÌå°×É«£¬44ÊÇ×Ö±³¾°À¶É«£¬ ......

̽Ë÷ Linux ͨÓà SCSI Çý¶¯Æ÷

¡¡Í¨¹ý SCSI ÃüÁî¹ÜÀí¼ÆËã»úÉϵÄÊý¾Ý£¬²¢½«Êý¾Ý´«Êäµ½ SCSI É豸¡£ÔÚ±¾ÎÄÖУ¬×÷Õß½éÉÜÁËһЩ SCSI ÃüÁÒÔ¼°ÔÚ Linux? ÖÐʹÓà SCSI API ʱִÐÐ SCSI ÃüÁîµÄ·½·¨¡£Ëû½éÉÜÁË SCSI ¿Í»§»ú/·þÎñÆ÷Ä£Ðͺʹ洢 SCSI ÃüÁîµÄ±³¾°¡£½ÓÏÂÀ´½âÊÍ Linux ͨÓà SCSI Çý¶¯Æ÷ API£¬²¢Ìṩһ¸öʾÀý£¬ÌÖÂÛʹÓÃͨÓÃÇý¶¯Æ÷Ö´ÐÐ inquiry ÃüÁîµÄÏ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ