linuxÖÐ jdk µÄжÔغͰ²×°
zz http://yushan.javaeye.com/blog/261148
Ò».jdk1.4жÔØ
ÓÉÓÚredhat Enterprise 5 ÖÐ×Ô´ø°²×°ÁËjdk1.4µÄ£¬ËùÒÔÔÚ°²×°jdk1.6Ç°ÎÒ°Ñjdk1.4µÄжÁË£¬²½ÖèÈçÏ£º
1.´ò¿ªÖÕ¶ËÊäÈë#rpm -qa | grep gcj
£¬ÆäÏÖʵÄÚÈÝÓУº
java
-1.4.2-gci-compat.........
java
-1.4.2-gcj-compat-devel.....(¾ßÌåÍüÁËÊÇʲôÁË£¬·´ÕýÓÐÁ½¸öjava
¿ªÍ·µÄÎļþ)
2.жÔØ
#rpm -e --nodeps java
-1.4.2-gci...
(ÀûÓÃrpm -e --nodeps ÃüÁîɾ³ýÉÏÃæ²éÕÒµÄÄÚÈÝ)
´Ëʱjdk1.4Òѱ»Ð¶ÁË¡£
¶þ.jdk1.6°²×°
1. ´ÓÍøÕ¾ÉÏÏÂÔØjdk1.6°ü(jdk-6u10-linux
-i586-rpm.bin
),ͨ¹ýleapFTPÉÏ´«µ½linux
ϵͳµÄ/var/ftp/pubĿ¼ÏÂ
2.ÔÚlinux
ÖÐÇл»µ½ /var/ftp/pubĿ¼Ï£¬ÐÞ¸Äjdk1.6µÄʹÓÃȨÏÞ£º#chmod u+x
jdk-6u10-linux
-i586-rpm.bin
3.½âѹ²¢°²×°£º#./
jdk-6u10-linux
-i586-rpm.bin (ĬÈÏ°²×°ÔÚ/usr/java
ÖÐ)
4.»·¾³±äÁ¿ÅäÖãº
#vi /etc/profile
ÔÚ¸ÃprofileÎļþÖÐÌí¼Ó£º
JAVA_HOME=/usr/java
/jdk1.6.0_10
JRE_HOME=/usr/java
/jdk1.6.0_10/jre
PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin
CLASSPATH=.:$JAVA_HOME/lib/jt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib(×¢Ò⣺ǰÃæµÄ.:
£¬linux
Öеģ»ºÅΪ£ººÅ)
export JAVA_HOME JRE_HOME PATH CLASSPATH
Ìí¼ÓÍê±Ï±£´æÍ˳ö
#source /etc/profile
#java
-version
ÏÔʾ java
version "1.6.0_10" (jdk1.6°²×°³É¹¦)
жÔØrpm°æµÄjdk£º
#rpm -qa|grep jdk
ÏÔʾ£ºjdk-1.6.0_10-fcs
жÔØ£º#rpm -e --nodeps jdk-1.6.0_10-fcs
=======================
µ½http://java.sun.com/javase/downloads/index.jspÏÂÔØ JRE 1.6£¬Ä¿Ç°£¨2008Äê3ÔÂ5ÈÕ£©µÄ°æ±¾ÊÇJava SE Runtime Environment 6 Update 5.
×¢Ò⣺ҪÏÂÔصÄÊÇLinux self-extracting file
¶ø·ÇLinux RPM in self-extracting file
ÏÂÃæÖ´ÐеÄÃüÁîÊÇÔÚrootÌØȨÕÊ»§ÏÂÖ´ÐеÄ
ÏÂÔص½µÄÎļþÊÇjre-6u5-linux-i586.bin
²½Öè1£º mv jre-6u5-linux-i586.bin /opt/
²½Öè2£º cd /o
Ïà¹ØÎĵµ£º
Ŀ ¼
1.1 Ç°ÑÔ£º... 4
1.2 °²×°¼°ÅäÖò½Ö裺... 4
1.2.1 £º°²×°×¼±¸... 4
1.2.2 £º°²×°·½Ê½Ñ¡Ôñ... 4
1.2.3 £º¹âÅ̼ì²â... 5
1.2.4 £º»¶Ó½çÃæ... 5
1.2.5 £ºÑ¡Ôñ°²×°¹ý³ÌµÄÓïÑÔ¡£... 6
1.2.6 £º¼üÅ̺ÍÊó±êÉèÖÃ... 6
1.2.7 £º´ÅÅÌ·ÖÇø·½Ê½Ñ¡Ôñ... 7
1.2.8 £º¸ñʽ»¯È·ÈÏÐÅÏ¢... 8
1.2.9 £º½¨·ÖÇø... 8
1. ......
mount -t iso9660 /dev/cdrom /mnt/cdrom ¹Ò¹âÇý
mount -t vfat /dev/fd0 /mnt/floppy ¹ÒÈíÇý (ÎļþÄÚÐÍ¿ÉÒÔ×Ô¼ºÑ¡)
mount -t vfat -o rw,utf8,umask=000 /dev/sda1 ......
http://hi.baidu.com/emersonm/blog/item/ee230a36ca566fd7a2cc2b4a.html
linuxϽâ¾ömysqlµÄ×Ö·û±àÂëÎÊÌâ
2009-10-06 21:03
mysqlµÄ×Ö·û±àÂëÊDZȷ±ËöµÄÊÂÇ飬ÎÒÓõÄfedora11ĬÈÏ°²×°mysql5.1
$mysql --user=root --password=²¼À²¼À²¼À
½øÈëºó
mysql>show variables like 'character%';   ......
ÄãÊÇ·ñÏë½øÈëǶÈëʽ¸ßнÁìÓò£¬È´¸Ð¾õÎÞ´ÓÏÂÊÖ£¿
ÄãÊÇ·ñÔÚ¿´Êé¡¢²é×ÊÁÏ¡¢ÂÛ̳ÌáÎÊÖлºÂý¶ø³ÔÁ¦µÄÇ°ÐУ¿
ʱ¼ä±ãÊdzɱ¾£¡Ñ§Ï°µÄ·ÉÏ£¬ÎÒÃǸüÐèҪר¼ÒϵͳµÄÖ¸Òý£¬ÕâÑù»áÊ°빦±¶£¡
»ªÇåÔ¶¼û—ǶÈëʽLinuxÈëÃÅʵսÃâ·ÑÌåÑéÈÕ£¬Ò»ÌìµÄʱ¼ä£¬½â¾öÄúµÄ·³ÄÕ£¬¾ø¶Ô³¬ÖµµÄ»Ø±¨£¡
ÓÅÊÆ/ÌØÉ«£º
¡ñ ÄÚÈÝ£¬´«ÊÚ×îϵͳ£¬×îʵÓÃµÄ ......
×î½üÖØ×°ÁËLinuxϵͳ£¬ÓõÄÊÇ Debian 5.0 (lenny), ½ñÌì¿´×ÊÁÏʱ·¢ÏÖÓ¢ÎÄ×ÖµäûÓÐ×°£¬
ÓÚÊÇ¿ªÊ¼×°Ó¢Óï×ֵ䡣µ«ÊÇ×Ô¼ºË¼Á¿×ÅÒª¶à×°¼¸¸ö×Öµä ·´ÕýÓ²ÅÌ×ã¹»£¬µ«ÊÇÄÇô¶à×ÖµäÒ»¸öÒ»¸öÇÃʵÔÚÊÇÂé·³£¨¸ü²»ÓÃ˵ÔÚgui
ÏÂÓÃÊó±êÁË£©£¬ÓÚÊǾÍËæÊÖдÁËС½Å±¾À´´¦Àí¡£
Ê×ÏÈ °²×° stardict
>> apt-get install stardict
È»ºóÏ ......