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

linux jdk °²×°ÓиÐ

×¢Òâ×Ô¼ºµÄÄں˰汾 ÓÚ jdk °æ±¾ÎÊÌâ  £»»¹ÓÐ ¾ÍÊÇ Òª½âѹµ½ /usr/javaĿ¼Ï ºÜÖØÒª£¬Òª²»È»µÈ×ųԿàÍ·£»
Ò»¡¢ÏÂÔØJDK

×Ô¼ºÏÂÔØ°É£¬²½Öè²»ÓÃдÁË°É£»ÎÒÏÂÔصÄÊÇjdk
-1_6_0_11-linux-i586.bin
¶þ¡¢°²×°


(1)ÔÚusrÏÂн¨Ò»¸öjavaÎļþ¼Ð
#mkdir /usr/java
(2)ÎÒÓõÄWinSCP½«JDK
Îļþ·ÅÈëµ½/usr/javaÎļþ¼ÐÏÂ
·ÅÈëºó£¬Ö´ÐÐÏÂÃæÕâ¸öÃüÁ
#cd /usr/java
#chmod a+x jdk
-1_5_0_11-linux-i586.bin
ʹµ±Ç°Óû§ÓµÓжÔjdk
-1_5_0_11-linux-i586.binµÄÖ´ÐÐȨÏÞ;
(3)Ö´Ðа²×°
#./jdk
-1_5_0_11-linux-i586.bin
ÔËÐÐjdk
-1_5_0_11-linux-i586.bin£¬Õâʱ»áÏÔʾ³öJDK
µÄ°²×°Ðí¿ÉЭÒ飬°´¿Õ¸ñ·­Ò³£¬×îºó³ÌÐò»áÎÊÄãÊDz»ÊÇͬÒâÉÏÃæµÄЭÒ飬µ±È»Í¬ÒâÀ²£¬ÊäÈë“yes”
Ö®ºó¿ªÊ¼½âѹJDK
µ½µ±Ç°Ä¿Â¼¡£´ËʱÆÁÄ»ÉÏ»áÏÔʾ½âѹµÄ½ø¶È¡£
½âѹÍê³Éºó /usr/javaĿ¼Ï»áн¨Ò»¸öÃûΪ“jdk1.5.0_11”µÄĿ¼£¬ÖÁ´ËÎÒÃÇÒѾ­ÔÚCentOS
Ï°²×°ºÃÁËJDK
¡£
Èý¡¢ÅäÖÃ


ÀíÂÛÉÏÀ´ËµJDK
×°ºÃÁËÒÔºó¾Í¿ÉÒÔÕý³£Ê¹ÓÃÁË£¬µ«ÊÇΪÁËÎÒÃÇÈÕºóʹÓõķ½±ã£¬ÎÒÃÇ»¹Òª¶ÔËüÉèÖÃһϡ£ÓëWindowsϵÄJDK
ÉèÖÃÒ»Ñù£¬ÎÒÃÇͨ³£ÐèÒªÉèÖÃһϻ·¾³±äÁ¿¡£
ÎÒÏ°¹ßÐÞ¸Ä/etc/profileÀ´Ìí¼Ó»·¾³±äÁ¿£¬/etc/profileÖÐÉèÖõĻ·¾³±äÁ¿¾ÍÏñWindowsÏ»·¾³±äÁ¿ÖеÄϵͳ±äÁ¿Ò»Ñù£¬ËùÓÐÓû§¶¼¿ÉÒÔʹÓá£
ÓÃÎı¾±à¼­Æ÷´ò¿ª/etc/profile
# vi /etc/profile
ÔÚ×îºó¼ÓÈëÒÔϼ¸ÐУº
export JAVA_HOME=/usr/java/jdk1.5.0_11
export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$PATH:$JAVA_HOME/bin
ÕâÑùÎÒÃǾÍÉèÖúÃÁËJDK
£¬ÓÃreboot
ÃüÁîÖØÆôһϻúÆ÷¾Í¿ÉÒÔÁË.
ËÄ¡¢É¾³ý/жÔØ


ÓÃ#rm -fr jdk1.5.0_11
ÃüÁî¼´¿Éɾ³ýJDK
£¬±ðÍüÁË°ÑÅäÖÃÎļþµÄÏà¹ØÄÚÈÝÒ²Çå¿Õ°¡


Ïà¹ØÎĵµ£º

Linux ƽ̨Ï MYSQL°²×° Æô¶¯ mysqlÃüÁî

MYSQL°²×°
//½âѹ±àÒë°²×°
# tar xzvf mysql-5.0.27.tar.gz
# cd mysql-5.0.27
# ./configure -prefix=/home/redadmin/mysql
# make
# make install
# cd /home/redadmin/mysql/
# cp share/mysql/my-medium.cnf ./
# mv my-medium.cnf my.cnf
// my.confÎļþÐÞ¸Ä
# vi my.cnf
ÐÞ¸ÄÇ°£º
port  &nb ......

30µÀǶÈëʽLinuxÄÚºËÈí¼þ¿ª·¢µÄ²âÊÔÌâ


Èç¹ûÄãÄÜÕýÈ·»Ø´ðÒÔÏÂÎÊÌâ²¢Éî¿ÌÀí½âÏà¹Ø֪ʶµãÔ­Àí£¬ÄÇôÄã¿ÉÒÔËãµÃÉÏ»ù±¾ºÏ¸ñµÄLinuxÄں˿ª·¢¹¤³Ìʦ£¬ÊÔÊÔ¿´£¡
1)LinuxÖÐÖ÷ÒªÓÐÄļ¸ÖÖÄÚºËËø£¿
2)LinuxÖеÄÓû§Ä£Ê½ºÍÄÚºËģʽÊÇʲôº¬Ò⣿
3)ÔõÑùÉêÇë´ó¿éÄÚºËÄڴ棿
4)Óû§½ø³Ì¼äͨÐÅÖ÷ÒªÄļ¸ÖÖ·½Ê½£¿
5)ͨ¹ý»ï°éϵͳÉêÇëÄÚºËÄÚ´æµÄº¯ÊýÓÐÄÄЩ£¿
 
6)Í ......

LinuxÐźÅ

from: http://cc.byexamples.com/20070520/tap-the-interrupt-signal/
When you hit control+c, you are actually send a SIGINT ( Interrupt signal ) to your program. By default, your program will be terminated after receiving SIGINT. But you can change the way of handling Interrupt signal.
Some of the a ......

Linux USBÇý¶¯¿ò¼Ü·ÖÎöÉÏ

³õ´Î½Ó´¥ÓëOSÏà¹ØµÄÉ豸Çý¶¯±àд£¬¸Ð¾õ»¹Í¦ÓÐÒâ˼µÄ£¬ÎªÁ˲»ÖÁÓÚÍüµô¿´¹ýµÄ¶«Î÷£¬±Ê¼Ç¸ú×ܽᵱȻ²»¿Éȱ£¬¸üºÎ¿öÎÒ¾ö¶¨ÎªÇ¶ÈëʽÂôÃüÁË¡£ºÃ£¬ÑÔ¹éÕý´«£¬ÎÒ˵һ˵Õâ¶Îʱ¼äµÄÊÕ»ñ£¬¸ú´ó¼Ò·ÖÏíÒ»ÏÂLinuxµÄÇý¶¯¿ª·¢¡£µ«Õâ´ÎÖ»ÏÈÕë¶ÔLinuxµÄUSB×Óϵͳ×÷·ÖÎö£¬ÒòΪÖÜÎåÑÐÌÖÀÏ°å´ß»õ¡£µ±È»£¬»¹»á˳´øÌáÒ»ÏÂÆäËûµÄÇý¶¯³ÌÐòд·¨¡£
&n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ