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µÄÖØÆô
{{
Ïà¹ØÎÊ´ð£º
ÎÒûÓа²×°²Ù×÷ϵͳµÄ¾Ñ飬¼´Ê¹ÊÇWINDOWS¡£ÏÖÔÚÏëÔÚLINUX²Ù×÷ϵͳ´ó»·¾³ÏÂѧCÓïÑÔ£¬ÓÖÒªÂò±¾±¾£¬ÇëÎÊÈç¹û²Ù×÷ϵͳ°²×°²»µ±£¬»á²»»á¶ÔµçÄÔÔì³Éʲô´óµÄÆÆ»µ£¿ÓÐûÓбØÒªÏÈÂòÒ»¸ö¶þÊÖµçÄÔÁ·Ò»ÏÂLINUXµÄ ......
ÔÚlinuxÏ£¬ÔõÑù±àÒëOCIµÄ³ÌÐò£¿ËüµÄgccÖ¸ÁîÊÇʲô£¿ÎÒ´ÓÍøÉÏÕҵĶ¼²»ÄÜÓã¡»¹ÓУ¬ÎÒÔÚlinuxÓÃCÓëoracleÁ¬½Ó£¬ÎÒ¶¼ÐèÒª°²×°oralceµÄÄÄЩÈí¼þ£¿Ö»ÐèÒªoralceµÄ¿Í»§¶Ë£¬ÓëOCIµÄ¿âô£¿±ðµÄ»¹ÐèҪô£¿
Çë¸ßÊÖÖ¸½Ì£¡
......
Á½Ì¨»úÆ÷ÐͺÅÍêÈ«Ò»Ñù
ÏëÒª°Ñһ̨»úÆ÷µÄÄÚºËÅäÖÃÎļþ¿½±´¸øÁíÍâһ̨
RT
3Q
...
.config Òþ²ØµÄ ÔÚÄãÅäÖùýÄں˺ó¾ÍÉú³ÉÁË
lsÕý½â£¬ÔÚkernelÔ´Â붥²ãĿ¼ÖÐÓиö.configÎļþ£¬ÅäÖ ......
ʹÓÃ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ÐÂÊÖ£¬Çë´ó¸ç´ó½ã²»Òª¼ûЦ¡£
ÎÒÓÃrootÓû§µÇ¼µ½Linuxϵͳ¡£ÔÚ¸ùĿ¼ÏÂÃ潨ÁËĿ¼dir1£¬ºóÓÃÃüÁîcd /dir1½øÈëµ½dir1Ŀ¼Ï£¬È»ºóÔÙÓÃmkdir dir2½¨Á¢ÁËĿ¼dir2 £¬ÔÙºóÀ´ÓÃÃüÁîcd /dir2ÊÇ£¬ÌáʾΪ£º-bush ......