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

linuxÏ°²×°jdk

2.ÉèÖû·¾³±äÁ¿¡£
#vi /etc/profile
ÔÚ×îºóÃæ¼ÓÈë
#set java environment
export JAVA_HOME=/usr/java/jdk-1_5_0_02
export CLASSPATH=.:$CLASSPATH:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
:$JAVA_HOME/lib/mysql-connector-java-3.2.0.jar:$JAVA_HOME/lib/classes12.jar
export PATH=$PATH:$JAVA_HOME/bin
export JRE_HOME=$JAVA_HOME/jre
±£´æÍ˳ö¡£
# source /etc/profile  ##ʹ»·¾³±äÁ¿ÉúЧ
# set             
ҪʹJDKÔÚËùÓеÄÓû§ÖÐʹÓ㬿ÉÒÔÕâÑù£º
vi /etc/profile.d/java.sh
ÔÚеÄjava.shÖÐÊäÈëÒÔÏÂÄÚÈÝ£º
#set java environment
JAVA_HOME=/usr/java/jdk-1_5_0_02
CLASSPATH=.:¡çJAVA_HOME/lib/tools.jar
PATH=¡çJAVA_HOME/bin:¡çPATH
export JAVA_HOME CLASSPATH PATH
±£´æÍ˳ö£¬È»ºó¸øjava.sh·ÖÅäȨÏÞ£ºchmod 755 /etc/profile.d/java.sh
3.ÔÚÖÕ¶ËʹÓÃechoÃüÁî¼ì²é»·¾³±äÁ¿ÉèÖÃÇé¿ö¡£
#echo ¡çJAVA_HOME
#echo ¡çCLASSPATH
#echo ¡çPATH
4.¼ì²éJDKÊÇ·ñ°²×°³É¹¦¡£
#java -version
Èç¹û¿´µ½JVM°æ±¾¼°Ïà¹ØÐÅÏ¢£¬¼´°²×°³É¹¦£¡
ÎÒÔÚFedora Core 3ÉÏÒѾ­³É¹¦°²×°ÁËjdk(jdk-1_5_0_02-linux-i586.rpm)£¬ÆäËü°æ±¾µÄLinux»ù±¾Ïàͬ£¬¹ý³ÌÈçÏ£º
1. ÏÈ´ÓÍøÉÏÏÂÔØjdk(jdk-1_5_0_02-linux-i586.rpm) £¬ÍƼöSUNµÄ¹Ù·½ÍøÕ¾www.sun.com£¬ÏÂÔغó·ÅÔÚ/homeĿ¼ÖУ¬µ±È»ÆäËüµØ·½Ò²ÐС£
½øÈ밲װĿ¼
#cd /home
#cp jdk-1_5_0_02-linux-i586.rpm /usr/local
#cd /usr/local
¸øËùÓÐÓû§Ìí¼Ó¿ÉÖ´ÐеÄȨÏÞ
#chmod +x jdk-1_5_0_02-linux-i586.rpm.bin
#./jdk-1_5_0_02-linux-i586.rpm.bin
´Ëʱ»áÉú³ÉÎļþjdk-1_5_0_02-linux-i586.rpm£¬Í¬Ñù¸øËùÓÐÓû§Ìí¼Ó¿ÉÖ´ÐеÄȨÏÞ
#chmod +x jdk-1_5_0_02-linux-i586.rpm
°²×°³ÌÐò
#rpm -ivh jdk-1_5_0_02-linux-i586.rpm
³öÏÖ°²×°Ð­ÒéµÈ£¬°´½ÓÊܼ´¿É¡£
2.ÉèÖû·¾³±äÁ¿¡£
#vi /etc/profile
ÔÚ×îºóÃæ¼ÓÈë
#set java environment
JAVA_HOME=/usr/java/jdk-1_5_0_02
CLASSPATH=.:¡çJAVA_HOME/lib.tools.jar
PATH=¡çJAVA_HOME/bin:¡çPATH
export JAVA_HOME CLASSPATH PATH
±£´æÍ˳ö¡£
ҪʹJDKÔÚËùÓеÄÓû§ÖÐʹÓ㬿ÉÒÔÕâÑù£º
vi /etc/profile.d/java.sh
ÔÚеÄjava.shÖÐÊäÈëÒÔÏÂÄÚÈÝ£º
#set java environment
JAVA_HOME=/usr/java/jdk-1_5_0_02
CLASSPA


Ïà¹ØÎĵµ£º

Virtio£ºÕë¶Ô Linux µÄ I/O ÐéÄ⻯¿ò¼Ü

¸Å¶øÑÔÖ®£¬virtio
ÊÇ°ëÐéÄ⻯ hypervisor ÖÐλÓÚÉ豸֮ÉϵijéÏó²ã¡£virtio
ÓÉ Rusty Russell ¿ª·¢£¬Ëûµ±Ê±µÄÄ¿µÄÊÇÖ§³Ö×Ô¼ºµÄÐéÄ⻯½â¾ö·½°¸ lguest
¡£±¾ÎÄÔÚ¿ªÆªÊ±½éÉÜ°ëÐéÄ⻯ºÍÄ£ÄâÉ豸£¬È»ºó̽Ë÷ virtio
µÄϸ½Ú¡£±¾ÎĵÄÖصãÊÇÀ´×Ô 2.6.30 Äں˷¢ÐаæµÄ virtio
¿ò¼Ü¡£
Linux ÊÇ hypervisor չ̨¡£ÈçÎÒµÄ ÆÊÎö ......

linuxѧϰ±Ê¼ÇÖ®£¨ÈëÃÅlinuxÎļþϵͳ£©

bin£º¸ÃĿ¼´æ·Å×î³£ÓõĻù±¾ÃüÁ±ÈÈ翽±´ÃüÁîcp¡¢±à¼­ÃüÁîvi¡¢É¾³ýÃüÁîrmµÈ¡£
boot:¸ÃĿ¼°üº¬ÁËϵͳÆô¶¯ÐèÒªµÄÅäÖÃÎļþ¡¢Äںˣ¨vmliuxz£©ºÍϵͳ¾µÏñ(initrd….img)µÈ¡£
dev£º¸ÃĿ¼Ï´æ·ÅµÄÊÇLinuxÖÐʹÓûòδʹÓõÄÍⲿÉ豸Îļþ£¨fd´ú±íÈíÅÌ£¬hd´ú±íÓ²Å̵ȣ©£¬Ê¹ÓÃÕâЩÉ豸Îļþ¿ÉÒÔÓòÙ×÷ÎļþµÄ·½Ê½²Ù×÷É豸¡£ ......

LINUXµ÷ÓÅ·½·¨×ܽá

LINUXµ÷ÓÅ·½·¨×ܽá
----------------------------------------------------------------------------------------------------------------------------
´ó¶àÊý Linux ·¢²¼°æ¶¼¶¨ÒåÁËÊʵ±µÄ»º³åÇøºÍÆäËû Transmission Control Protocol£¨TCP£©²ÎÊý¡£¿ÉÒÔÐÞ¸ÄÕâЩ²ÎÊýÀ´·ÖÅä¸ü¶àµÄÄڴ棬´Ó¶ø¸Ä½øÍøÂçÐÔÄÜ¡£ÉèÖÃÄں˲ÎÊýµÄ· ......

Oracle 11g R1 for Linux(RHEL5)°²×°

1 ¡¢°²×°Ç°µÄ×¼±¸
1.1 ¼ì²éÓ²¼þ
ÎïÀíÄڴ棺 # grep MemTotal /proc/meminfo
½»»»¿Õ¼ä£º # grep SwapTotal /proc/meminfo
½»»»¿Õ¼äµÄ´óСÊǸù¾ÝÎïÀíÄÚ´æµÄ´óСÀ´ÉèÖõģ¬ÎïÀíÄÚ´æÉÙÓÚ 2G µÄÔò½»»»¿Õ¼äÉèΪÎïÀíÄÚ´æµÄÁ½±¶£¬ÎïÀíÄÚ´æ´óÓÚ 2G µÄÔò½»»»¿Õ¼äºÍÎïÀíÄÚ´æ´óСһÑù¡£Èç¹û²»·ûºÏÉÏÊö¹æ¶¨£¬ÄÇô¾ÍÐèÒªÖØÐÂÉèÖý ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ