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

javaÈçºÎ¿ØÖÆÔ¶³ÌLinuxÖØÆô

ÎÒĿǰÔÚ±¾µØµÄlinuxÉÏдÁËÒ»¸öswingµÄ½çÃæ£¬Ïëͨ¹ýÕâ¸ö½çÃæÀ´¿ØÖÆÆäËüµçÄÔµÄlinuxÖØÆô¡£
ÎÒÖªµÀÓÃRuntime.getRuntime().exec("shutdown -r");¿ÉÒÔ¿ØÖƱ¾»úLinuxÖØÆô£¬µ«ÊÇÔõô¿ØÖÆÔ¶³ÌµÄlinuxÖØÆôÄØ£¿
±ÈÈçÎҵĵØÖ·ÊÇ£º202.115.132.80 ,Ô¶³ÌµÄÊÇ202.115.132.81,¶¼ÔÚ¾ÖÓòÍøÄÚ£¬ÎÒ»¹ÓÐ81µÄrootµÄÕ˺š£ÎÒÏÖÔÚÏ£Íû81Éϲ»ÓÃ×öÈκÎÅäÖ㬶øÎÒ¾ÍÔÚ±¾»úÉÏдjava³ÌÐòÀ´¿ØÖÆ81µÄÖØÆô£¿ÇëÎʸÃÔõôʵÏÖÁË£¿
Õâ¿ÉÄÑÁË£¬±ð˵linuxÁË£¬¾ÍÊÇ¿ØÖÆwindows´ÓÆô¶¼ÎÞ´ÓÏÂÊÖ°¡¡£È¥¿´Ô´Âë°É¡£»ò˭д¹ýÔ¶³Ì¿ØÖƵÄ×é¼þÄÃÀ´Óðɡ£

¿´¿´Õâ¸ö¡£JSCHÊÇÒ»¸öJAVAÔ¶³ÌÁ¬½ÓµÄ¿â£¬¿ÉÒÔSSHµÇ¼¡£ÎÒûÓùý£¬Äã¿ÉÒÔÊÔÊÔSSHµÇ¼·þÎñÆ÷ºóÄÜ·ñÖ´ÐÐÃüÁîÐС¯restart'À´ÖØÆôµçÄÔ

http://www.jcraft.com/jsch/

up...
Õâ·½ÃæÒ»Çϲ»Í¨..


linux²»ÐèÒª½øÈëϵͳ¾Í·þÎñ¾Í¿ÉÒÔÔËÐеģ¬
ËùÒԺͽøÈëϵͳûÓÐʲô¹ØÏµ

°´ÕÕÕâÑù·ÖÎö£¬ÆäʵҲ²»ÐèÒªRMIÖ±½ÓÁ½±ß½¨Á¢socketͨÐÅ£¬ÊÕµ½ÏûÏ¢Ö±½Óµ÷ÓÃ
reboot¾ÍÐÐ



up...

ºÃµÄ¡£ÄǾ;;ö¶¨²ÉÓÃsocketµÄͨÐÅ·½Ê½£¬²»½ö½ö¿ØÖÆLinuxµÄÖØÆô£¬»¹ÓÐtomcat£¬Êý¾Ý¿âmysqlµÄÖØÆô
{{


Ïà¹ØÎÊ´ð£º

java±àÒëÔËÐÐc³ÌÐò£¬²¢ÏÔʾ½á¹û

ͨ¹ýjava³ÌÐò£¬ÏȱàÒëc³ÌÐò£¬Èç³öÏÖ´íÎó£¬ÌáʾC³ÌÐòÖеĴíÎ󣬱àÒë³É¹¦¾ÍÔËÐУ¬ÏÔʾCµÄÔËÐнá¹û£¬×îºÃ°ÑCµÄÔËÐÐʱ¼äºÍÄÚ´æµÈ¶¼ÏÔʾ³öÀ´

¸÷λ´ó¸ç´ó½ã°ï°ï棬СµÜ¸Ð¼¤²»¾¡£¡
ÓÃjavaµÄ½ø³ÌÀàÊÔÊÔ
ÎÒ¸øÄãת ......

linux 2.6 Äں˵ÄÅäÖÃÎļþÔÚÄÄÀï

Á½Ì¨»úÆ÷ÐͺÅÍêȫһÑù

ÏëÒª°Ñһ̨»úÆ÷µÄÄÚºËÅäÖÃÎļþ¿½±´¸øÁíÍâһ̨

RT


3Q
...

.config Òþ²ØµÄ ÔÚÄãÅäÖùýÄں˺ó¾ÍÉú³ÉÁË

lsÕý½â£¬ÔÚkernelÔ´Âë¶¥²ãĿ¼ÖÐÓиö.configÎļþ£¬ÅäÖ ......

ʹÓÃStruts2ÉÏ´«Îļþ£¬ÔÚlinuxϱ¨´í

ʹÓÃStruts2ÉÏ´«Îļþ£¬ÔÚlinuxϱ¨´í
2009-09-29 14:56:20,801 [org.apache.struts2.interceptor.FileUploadInterceptor]-[ERROR] Processing of multipart/form-data request failed. c:/temp/upload__1dcd07ee_12 ......

linux °²×°xinetdµÄÎÊÌâ

ÒòΪ°²×°cvsÒªÓõ½xinetd·þÎñ£¬·¢ÏÖ»úÆ÷ÉÏûÓС£¡£¾Í´ÓÍøÉÏÏÂÔØÁ˸ö×°ÉÏ£¬
SQL code:
[root@localhost ~]# rpm -qa xinetd
[root@localhost ~]# rpm -qa telnet
telnet-0.17-38.el5
[root@localhost ~]#
¸ ......

linux·þÎñÆ÷ÎļþÉÏ´«µÄÎÊÌâ

ÎÒÏÖÔÚÓöµ½µÄÎÊÌâÊÇ :
ÎÒ¿ª·¢µÄʱºòÔÚ WINÏ¿ª·¢µÄ
ÎļþÉÏ´«µÄ¹¦ÄÜûÓÐÎÊÌâ µ«ÊÇÉÏ´«µ½·þÎñÆ÷ÉϾÍʲô·´Ó³Ò²Ã»ÓÐ
²»ÖªµÀÔõô»ØÊÂ?
String TMP_DIR =getServletContext().getRealPath("/")+&qu ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ