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

Linux JDK and ANT install

Linux JDK and ANT install
linux JDKµÄ°²×°

°²×°JDK
´ÓsunÍøÕ¾ÉÏÖ±½ÓÏÂÔØJDK£ºhttp:
//java.sun.com/j2se/1.4.2
/download.htmlÌṩÁËÁ½¸öÏÂÔØ£º
1¡¢RPM in self-extracting file
(j2sdk-1_4_2_04-linux-i586.bin,
32.77 MB) Õâ¸öÊÇ×Ô½âѹµÄÎļþ£¬ÔÚlinuxÉÏ°²×°ÈçÏ£º

chmod u+x
./j2sdk-1_4_2_04-linux-i586.bin

./j2sdk-1_4_2_04-linux-i586.bin

ÔÚ°´ÌáʾÊäÈëyesºó£¬jdk±»½âѹµ½./j2sdk1.4.2_04
Ŀ¼Ï¡£ÎªÓëÏÂÃæ2ÖÐJDK°²×°Â·¾¶Ò»Ö£¬
ÎÒÃǽøÐÐ
ÏÂÁвÙ×÷,ÔÚ/usr/javaϽ¨Á¢°²×°Â·¾¶£¬²¢½«ÎÄ
¼þ¿¼µ½¸Ã·¾¶Ï£º

mkdir
/usr/java

cp -fr ./j2sdk1.6 /usr/java

2¡¢
RPM in self-extracting file
(j2sdk-1_6-linux-i586-rpm.bin, 32.77
MB)Õâ¸öÒ²ÊÇÒ»¸ö×Ô½âѹÎļþ£¬²»¹ý½âѹºóµÄÎļþÊÇj2sdk-1_6-linux-i586-rpm°ü£¬Ö´ÐÐrpmÃü
Áî×°µ½linuxÉϾͿÉ
ÒÔÁË¡£°²×°ÈçÏ£º

chmod u+x ./j2sdk-1_6-linux-i586-rpm.bin

./j2sdk-1_6-linux-i586-rpm.bin

rpm -ivh j2sdk-1_6-linux-i586-rpm

°²×°Èí¼þ»á½«JDK×Ô
¶¯°²×°µ½ /usr/java/j2sdk1.6Ŀ¼Ï¡£
¶þ¡¢ÅäÖû·¾³±äÁ¿
1.ÐÞ¸ÄÓû§»·¾³±äÁ¿
¼ÙÉèʹÓÃjavaµÄÓû§Îª
kunp£¬±à¼­¸ÃÓû§µÄ.bashrc
Îļþ½øÐл·¾³±äÁ¿ÉèÖá£

vi
/home/kunp/.bashrc

ÔÚ .bashrcÎļþÖмÓÈ룺
export
JAVA_HOME=/usr/java/j2sdk1.6
export
CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:
$JAVA_HOME/jre/lib export
PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:
$PATH:$HOMR/bin
2.ÐÞ¸ÄËùÓÐÓû§µÄ»·¾³±äÁ¿

vi /etc/profile

ÔÚ¸ÃÎļþÖмÓ
Èë:
export JAVA_HOME=/usr/java/j2sdk1.6
export
CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:
$JAVA_HOME/jre/lib export
PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:
$PATH:$HOMR/bin
Ò»¶¨ÒªÔÚCLASSPATH·¾¶ÖмÓÈë$CLASSPATH

ANT


antÔÚlinuxϵÄÅäÖà 1. /etc/profile

ANT_HOME=/usr/local/ant; export ANT_HOME
PATH="$ANT_HOME/bin:$PATH";
export PATH
2.ÏÂÔØant
http://apache.justdn.org/ant/binaries/
apache-ant-1.6.5-bin.tar.gz
3.ÔÚlinuxϽâѹËõ
tar xvzf apache-ant-1.6.5-bin.tar.gz
mv
apache-ant-1.6.5 /usr/local/ant
4.su -
5.build.xml
6.ant


Ïà¹ØÎĵµ£º

LinuxÉ豸Çý¶¯ÖеÄ×èÈûÓë·Ç×èÈûI/O

LinuxÉ豸Çý¶¯ÖеÄ×èÈûÓë·Ç×èÈûI/O
×èÈûÓë·Ç×èÈûI/O
×èÈû²Ù×÷ÊÇÖ¸ÔÚÖ´ÐÐÉ豸²Ù×÷ʱÈô²»ÄÜ»ñµÃ×ÊÔ´Ôò¹ÒÆð½ø³Ì£¬Ö±µ½Âú×ã¿É²Ù×÷µÄÌõ¼þºóÔÙ½øÐвÙ×÷¡£
ÒòΪ×èÈûµÄ½ø³Ì»á½øÈëÐÝÃß״̬£¬Òò´Ë£¬±ØÐëÈ·±£ÓÐÒ»¸öµØ·½Äܹ»»½ÐÑÐÝÃߵĽø³Ì¡£»½Ðѽø³ÌµÄµØ·½×î´ó¿ÉÄÜ·¢ÉúÔÚÖжÏÀïÃ棬ÒòΪӲ¼þ×ÊÔ´»ñµÃµÄͬʱÍùÍù°éËæ×ÅÒ ......

LinuxÖ÷»ú¼à¿Ø¹¤¾ßmunin monit ntop

À´Ô´£ºhttp://linux.chinaunix.net/ebook/doc/2009/09/17/1135830.shtml
±¾ÎĽéÉÜÔÚcentos 5.x»·¾³ÏÂͨ¹ýyumÔ´µÄÀ©Õ¹Ê¹ÓÃmunin¡¢ monit¡¢ntop¹¤¾ßÀ´¼à¹ÜÄãµÄÓ¦ÓóÌÐòºÍ·þÎñÆ÷¡£ÌâΪÀÁÈË˵˵µÄÊǼò±ãµÄ°²×°·½Ê½¶øÒÑ£¬½«Ç¿´óµÄ¹¦ÄÜÅäÖüòµ¥µÄÓ¦ÓÃÆðÀ´ÊǺÜÖØÒªµÄ£¬¿ÉÒÔ½Úʡʱ¼ä²¢Ìá¸ßЧÂÊ¡£
Monit£ºhttp:#www.tildeslas ......

ÈçºÎ´î½¨linux¿ª·¢·þÎñÆ÷

    ÔÚ¿ª·¢¹ý³ÌÖУ¬±ØÈ»»á³öÏÖ¶àÈËͬʱ¹¤×÷¡¢Ð­×ŵÄÇé¿ö£¬ÔÚǶÈëʽ¿ª·¢ÏîÄ¿ÖиüΪƽ³££¬ÕâÑù¿ÉÒÔ¼Ó¿ìÏîÄ¿ÖÜÆÚ£¬Îª²úÆ·ÉÏÊÐÕ¼µÃʱ¼äÏÈ»ú¡£Ä¿Ç°£¬Ê¹ÓÃlinux×÷Ϊ¿ª·¢²úÆ·µÄ²Ù×÷ϵͳÇé¿öÔ½À´Ô½¶à£¬Ê¹ÓÃÔ½À´Ô½¹ã·º¡£ÎªÁ˽»²æ±àÒ룬ΪÁË×î½Ó½ü¿ª·¢Ä¿±ê£¬ÎÒÃÇÒ»°ã¶¼»á×Ô¼º´î½¨Ò»Ì¨linux¿ª·¢·þÎñÆ÷¡£linux¿ª·¢·þÎñÆ÷ ......

LinuxϵͳÉϼÜÉèVSFTP·þÎñÆ÷ʵÀý½âÎö

     
ʵÑé»·¾³£ºAS4×îС»¯°²×°
ʵÑéÄ¿±ê£º¼ÜÉèVSFTP·þÎñÆ÷
Õâ´ÎÎÒÃÇÀ´Ñ§Ï°LinuxϵͳÖÐµÄ vsftp·þÎñÆ÷µÄÅäÖá£
ÏÂÃæÎÒÃÇ¿ªÊ¼ÁË£¡Ê×ÏÈÎÒÃÇ°²×°vsftp·þÎñÆ÷¶ËµÄÈí¼þ¡£
vsftpd·þÎñÆ÷µÄ°²×°ÎļþλÓÚµÚ1ÕÅ°²×°¹âÅÌÖС£
ʹÓÃrpmÃüÃû¿É˳Àû°²×°¸ÃÈí¼þ°ü¡£
# rpm -ivh vsftpd-2.0.1-5.i386.r ......

LinuxÖÐerrnoʹÓÃ

µ±linuxÖеÄC apiº¯Êý·¢ÉúÒ쳣ʱ,Ò»°ã»á½«errno±äÁ¿(Ðèinclude
errno.h)¸³Ò»¸öÕûÊýÖµ,²»Í¬µÄÖµ±íʾ²»Í¬µÄº¬Òå,¿ÉÒÔͨ¹ý²é¿´¸ÃÖµÍƲâ³ö´íµÄÔ­Òò£¬ÔÚʵ¼Ê±à³ÌÖÐÓÃÕâÒ»Õнâ¾öÁ˲»ÉÙÔ­±¾¿´À´ÄªÃûÆäÃîµÄÎÊÌâ¡£µ«ÊÇ
errnoÊÇÒ»¸öÊý×Ö£¬´ú±íµÄ¾ßÌ庬Ò廹Ҫµ½errno.hÖÐÈ¥ÔĶÁºê¶¨Ò壬¶øÿ´Î²éÔÄÊÇÒ»¼þºÜ·±ËöµÄÊÂÇé¡£ÓÐÏÂÃ漸ÖÖ·½·¨ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ