ÒýÓÃÄÚÈÝvsking 2009-12-25 22:56:52
ÏÖÔÚÊÇwin2008ºÍiis8µÄʱ´úÁË£¬²»Òª»¹Í£ÁôÔÚiis5ʱ´ú£¬win2008±»ÆÀΪʮ¼Ñ²Ù×÷ϵͳ֮Êײ»ÊÇżȻµÄ£¬ÄãÒªÊÇ..
ÎÒµÄÎÊÌâÊÇ£º
×î½üÏëÂò¸ö·þÎñÆ÷£¬¿´ÁËdellÉϵÄϵͳ¶¨ÖÆÑ¡Ôñ£¬Ò»Ð©linux·þÎñÆ÷ϵͳºÍwin2008¼Û¸ñ¾¹È»²»ÏàÉÏÏ£¬ÎÒ¶¼ÓÐЩÓÌÔ¥ÁË£¬¿ÉÒÔÈ·¶¨µÄÒ»µãÊÇ£¬win2008Òª±ÈlinuxÖ§³ÖµÄÇý¶¯¶à£¬Ó¦ÓÃÈí¼þÒ²¶à¡£Ï£ÍûÓзþÎñÆ÷ϵͳѡÔñÅäÖþÑéµÄÅóÓÑ°ïæ¸øÖ¸µãÒ»¶þ£¬
»¹ÓУ¬win2008µÄcalÊýÁ¿µ½µ×ʲôÒâ˼°¡£¬Ê²Ã´2CALS,5CALSµÄ£¬»¹ÓÐlinuxµÄ2Sockets,Íû¸ßÊÖÃÇÖ¸µãÒ»¶þ£¬¶àл£¡
¡¡¸Ã·½·¨µÄ×÷ÓÃÊǽ«×Ö·û´®strдÈëÁ÷ÖС£Ð´ÈëʱÊ×ÏȽ«strʹÓÃgetChars·½·¨×ª»»³É¶ÔÓ¦µÄcharÊý×飬ȻºóʵÏÖÒÀ´ÎдÈëÁ÷µÄĩβ¡£
public void write(String str, int off, int len)
throws IOException
¡¡¡¡¸Ã·½·¨µÄ×÷ÓÃÊǽ«×Ö·û´®strÖÐË÷ÒýֵΪoff(°üº¬)¿ªÊ¼£¬ºóÐø³¤¶ÈΪlen¸ö×Ö·ûдÈëµ½Á÷µÄĩβ¡£
¡¡¡¡Ê¹ÓÃÕâÁ½¸ö·½·¨½«¸ü·½±ã½«×Ö·û´®Ð´ÈëÁ÷µÄĩβ¡£
¡¡¡¡ÆäËüºÍOutputStreamÀàÒ»ÑùµÄ·½·¨¿ÉÒԲο´ÉÏÃæµÄ½éÉÜ¡£
¡¡¡¡11.2.5 С½á
¡¡¡¡ÔÚʵ¼ÊʹÓÃIOÀàʱ£¬¸ù¾ÝÂß¼ÉϵÄÐèÒª£¬ÌôÑ¡¶ÔÓ¦ÌåϵÖеÄÀà½øÐÐʵ¼ÊµÄʹÓ㬴ӶøʵÏÖ³ÌÐòÖÐIOµÄÏà¹Ø¹¦ÄÜ¡£
¡¡¡¡ÊìϤÁËIOÀàµÄÌåϵÒԺ󣬾ͿÉÒÔÊ×ÏÈÊìϤ»ù±¾µÄIOÀàµÄʹÓã¬È»ºóÔÙ°´ÕÕIOÀàÌåϵÖÐÏà¹ØÀàµÄʹÓ÷½Ê½Öð²½È¥Á˽âÏà¹ØµÄIOÀàµÄʹÓ㬴ӶøÖð²½ÊìϤjava.io°üÖÐÀàµÄʹÓã¬È»ºóÔÙÕÆÎÕIO±à³Ì¡£
¡¡¡¡ÔÚʵ¼ÊʹÓÃʱ£¬Ò»°ã¶¼Ê¹ÓÃÕâ4¸öÀàÖжÔÓ¦µÄ×ÓÀ࣬ÿ¸ö×ÓÀàÍê³ÉÏà¹ØµÄ¹¦ÄÜ¡£¶ÔÓÚÕâЩ×ÓÀ࣬Ҳ¿ÉÒÔ¸ù¾ÝÕâЩÀàÊÇ·ñÖ±½ÓÁ¬½ÓÊý¾ÝÔ´£¬½«ÕâЩIOÀà·ÖÀàΪ£º
¡¡¡¡1¡¢ÊµÌåÁ÷
¡¡¡¡Ö¸Ö±½ÓÁ¬½ÓÊý¾ÝÔ´µÄIOÁ÷Àà
ÎÒÄ¿Ç°ÔÚ±¾µØµÄlinuxÉÏдÁËÒ»¸öswingµÄ½çÃ棬Ïëͨ¹ýÕâ¸ö½çÃæÀ´¿ØÖÆÆäËüµçÄÔµÄlinuxÖØÆô¡£
ÎÒÖªµÀÓÃRuntime.getRuntime().exec("shutdown -r");¿ÉÒÔ¿ØÖƱ¾»úLinuxÖØÆô£¬µ«ÊÇÔõô¿ØÖÆÔ¶³ÌµÄlinuxÖØÆôÄØ£¿ ......
ÎÒ֮ǰÖÆ×÷µÄlinux×Ô¶¯°²×°isoÒѾ³É¹¦ÁË£¬ÏÖÔÚÏë¶ÔÆä½øÐÐһЩ¶¨ÖÆÐ޸ģ¬±ÈÈ磬¸ü¸ÄgrubͼƬµÈ¡£
ÎÒÔÚks.cfgµÄ%post¶ÎÀïÃæÊÇÕâÑùдµÄ£º
%post --nochroot
# Move the contents of the tar into their new locati ......
ÎÒÐèÒªÓõ½ÔÚlinuxÏÂÃæ¶ÁдÅäÖÃÎļþµÄ¿â£¬µ½ÍøÉÏÏÂÁËconfiglib¿â£¬½á¹û±àÒë¿ÉÒÔͨ¹ý£¬Á´½Ó¾ÍÓÐÎÊÌâÁË£¬ÀÏÊdzöÏÖundefined reference to µÄÎÊÌ⣬²éÕâ¸ö¿âµÄʹÓ÷½·¨£¬¶¼Ã»ÓоßÌåµÄ½éÉÜ£¬ÓÐÄÄλÒÔÇ°ÓùýÕâ¸ö¿â»òÕßÀàË ......
ÏÖÔÚÔÚÓÃImageIconÀ´ÏÔʾͼƬ£¬ÎÒµÄͼƬÊÇ·ÅÔÚeclipseϵÄ"images"Îļþ¼ÐÏ£¬"images"Îļþ¼ÐºÍ¹¤³ÌµÄsrcÎļþ¼ÐÊÇÔÚͬһĿ¼Ï£¬Õû¸ö³ÌÐò¾ÍÊǵ÷ÓÃ"images"Îļþ¼ÐÀïµÄÎļþ·ÅÔÚImageIcon ......