ÈçºÎÔÚWINDOWSºÍLinuxÏÂÅäÖû·¾³±äÁ¿
ÍøÂçÉϺÍÊéÉÏÓи÷ÖÖÅäÖÃJDK»·¾³±äÁ¿µÄ·½·¨£¬µ«ÊÇÈ·ÃèÊö²»Ò»Ö£¬¸ø³õѧÕßÔì³ÉÁËÒ»¶¨µÄÀ§ÄÑ£¨ÏëÆðµ±Ê±µÄÎÒ£©¡£ÒÔÏÂÊÇÎÒ×Ô¼º×ܽáµÄ£¬°Ù·Ö°Ù¿ÉÒÔÓá£
´ËÎÄÏêÊöÁËÈçºÎÔÚwindowsºÍlinuxÏÂÅäÖû·¾³±äÁ¿¡£
Ò»¹²ÐèÒªÅäÖÃ3¸ö±äÁ¿£º
JAVA_HOME£ºÖ÷ÒªÊÇΪÁËÆäËüÁ½¸öʹÓ㬼ò»¯ÅäÖã¬jdk°²×°µÄÍêÕûµÄ·¾¶Ãû£¬Ò»Ö±µ½jdk...Ϊֹ¡£
CLASSPATH£ºjava³ÌÐòÔËÐÐʱҪÓõ½µÄjar°ü£¨Ò²¾ÍÊÇÆäËü³ÌÐòÀïµÄº¯Êý¿âµÄ¸ÅÄ
PATH:ϵͳÉϳÌÐòµÄ·¾¶µÄ¼¯ºÏ£¬ÔÚÃüÁîÐÐÏÂÕÒ¸÷ÖÖ³ÌÐò£¬²»ÓôòÍêÕûµÄ·¾¶Ãû¡£ÎÒÃÇ°ÑjdkµÄ¿ª·¢ºÍÔËÐеÄÃüÁÈçjava,javacµÈ£©µÄ·¾¶£¨ÔÚJAVA_HOMEÏÂÃæµÄbinĿ¼Ï£©·ÅÈëµ½PATHÖУ¬ÕâÑùÎÒÃǾͿÉÒÔÖ±½ÓʹÓÃÃüÁîÁË¡£
windows:
×ÀÃæ-->ÎҵĵçÄÔ(ÓÒ¼ü)-->ÊôÐÔ-->¸ß¼¶-->»·¾³±äÁ¿£º
ÔÚϵͳ±äÁ¿ÏÂн¨
JAVA_HOME=D:\Program Files\Java\jdk1.6.0_10 (ÄãµÄjdk°²×°µÄĿ¼)
CLASSPATH=%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\dt.jar;. £¨Â·¾¶·Ö¸ôΪ·ÖºÅ£©
È»ºóÕÒµ½path±äÁ¿£¬Ñ¡Ôñ±à¼£¬ÔÚpath±äÁ¿µÄ×îÇ°Ãæ¼ÓÉÏ%JAVA_HOME%\bin; (×îºóÓÐÒ»¸ö·ÖºÅ)
´ËʱÎÒÃǵÄJDKÏà¹ØµÄ±äÁ¿¾ÍÒѾÍêÈ«ÅäÖúÃÁË¡£ÏÖÔÚÎÒÃÇ¿ÉÒÔ²âÊÔһϣº]
¿ªÊ¼-->½øÐÐ ÊäÈëcmd ½øÈëÃüÁîÐÐ
echo %path%
echo %classpath%
echo %java_home%
java
javac
Äã¿ÉÒÔ±àд¸öhelloWordµÄС³ÌÐò²âÊÔһϡ£
linux주
ÔÚlinuxÏÂÅäÖû·¾³±äÁ¿£¬ÓëÔÚWindowsϵÄÔÀíÏàͬ
ÒòΪbash shellÿ´ÎÆô¶¯¶¼Ö´ÐмÒĿ¼Ï嵀 .bashrc½Å±¾£¬ÎÒÃÇ¿ÉÒÔ½«jdkµÄ»·¾³±äÁ¿Ð´ÔÚÕâÀ
Èç¹ûÄãÏëÈÃËùÓеÄÓû§¶¼¿ÉÒÔʹÓÃjdk£¬¿ÉÒÔ¿¼Âǽ«jdkµÄ»·¾³±äÁ¿ÅäÖÃÔÚ/etc/profileÖÐ
´ò¿ªÒ»¸öÖնˣ¬ÓÃvimµÈ±à¼Æ÷´ò¿ª.bashrc
vim .bashrc
¶¨Î»µ½Îļþβ
Ìí¼ÓÒÔϼ¸Ðл·¾³±äÁ¿,ÐèҪעÒâµÄÊÇlinuxÀïµÄÎļþºÍ±äÁ¿ÊÇÇø·Ö´óСдµÄ²¢ÇÒ·¾¶·Ö¸ô·ûΪ:(ðºÅ)
#jdk environment
JAVA_HOME=/opt/jdk1.6.0_15
CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
PATH=/opt/mybin/bin:$JAVA_HOME/bin:$PATH
±£´æÍ˳ö¡£
ÔÚshellÏÂÖ´ÐÐÒÔÏÂÃüÁîʹÅäÖÃÁ¢¼´ÉúЧ
source .bashrc
ÕâʱÎÒÃÇ¿ÉÒÔ²âÊÔÒ»ÏÂÎÒÃǵÄjdkÁË:
echo $PATH
echo $CLASSPATH
echo $JAVA_HOME
java
javac
Ïà¹ØÎĵµ£º
´´½¨×ÀÃæͼ±ê
Ä¿Ç°½«ÍøÂçÓ¦ÓÃÀ©Õ¹µ½×ÀÃæÊÇÒ»¸öÇ÷ÊÆ£¬´æÔÚןܶà½â¾ö·½°¸£¬±¾ÎÄÒÔ Mozilla Prism ΪÀý£¬ÀàËƵķ½·¨Í¬ÑùÊÊÓÃÓÚ Google Chrome ¡£
1. µ½ Mozilla Prism µÄÍøÕ¾ÉÏÏÂÔØ Prism£¬µã»÷ Download Now Ö®ºó»áÌáʾÓÐÁ½ÖÖ£¬Ò»ÖÖÊÇÒÔ Mozilla Firefox À©Õ¹µÄ·½Ê½£¬ÊʺÏÒѾ°²×°ÓÐ Firefox µÄÅóÓÑ£»Ò»Ö ......
°²×°ÓëʹÓÃMySQL
Ò» ¡¢ÏÂÔØMySQLµÄ°²×°Îļþ
¡¡¡¡°²×°MySQLÐèÒªÏÂÃæÁ½¸öÎļþ£º
¡¡¡¡MySQL-server-4.0.16-0.i386.rpm
¡¡¡¡MySQL-client-4.0.16-0.i386.rpm
¡¡¡¡ÏÂÔصØַΪ£ºhttp://www.mysql.com/downloads/mysql-4.0.html£¬ ´ò¿ª´ËÍøÒ³£¬ÏÂÀÍøÒ³ÕÒµ½“Linux x86 RPM downloads”ÏÕÒµ½“Server&rdquo ......
×÷ÕߣºÀîÖÇÃô,»ªÇåÔ¶¼ûǶÈëʽѧԺÉϺ£·ÖÖÐÐĽ²Ê¦¡£
ÔÚ Linux ÄÚºËÄÚ£¬½ø³ÌÊÇÓÉÏ൱´óµÄÒ»¸ö³ÆΪ task_struct µÄ½á¹¹±íʾµÄ¡£´Ë½á¹¹°üº¬ËùÓбíʾ´Ë½ø³ÌËù±ØÐèµÄÊý¾Ý£¬´ËÍ⣬»¹°üº¬ÁË´óÁ¿µÄÆäËûÊý¾ÝÓÃÀ´Í³¼Æ£¨accounting£©ºÍά»¤ÓëÆäËû½ø³ÌµÄ¹Øϵ£¨¸¸ºÍ×Ó£©¡£ÏÂÃæ¸ø³öÁË task_struct µÄһС²¿·Ö¡£task_struct λÓÚ ./linux ......
LinuxϽâѹÃüÁî´óÈ«
LinuxϽâѹÃüÁî´óÈ«
.tar
½âѹ:tar xvf filename.tar
´ò°ü:tar cvf filename.tar dirname
.gz
½âѹ:gzip -d filename.gz / gunzip filename.gz
ѹËõ:gzip filename
.tar.gz/.tgz
½âѹ:tar zxvf  ......
ÔÚÅäÖÃÐéÄâ»·¾³µÄʱºò Á¬½Ó·½Ê½Ñ¡ÔñÇŽӷ½Ê½£¬ÔÚlinuxÆäËû°æ±¾µÄϵͳÖнøÈ¥¾Í¿ÉÒÔÖ±½ÓÉÏÍøµÄ£¬µ«ÊÇÔÚredhat9µÄä¯ÀÀÆ÷ϽøÈëÍøÕ¾ÀÏÊÇÌáʾÕÒ²»µ½¡£´ËʱÈç¹ûÄãÊÔÒ»ÏÂifup eth0Äã»á·¢ÏÖÌáʾÈçÏ£º
determining ip information for eth0... failed no link present. check cable
Íø¿¨¼¤»îʧ°Ü¡£
´ËʱÄã¿ÉÒÔ³¢ÊÔÐÞ¸ÄÒ»ÏÂ/etc/s ......