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

ÓйØlinux°²×°½Å±¾kickstartµÄ±àд

ÎÒÖ®Ç°ÖÆ×÷µÄlinux×Ô¶¯°²×°isoÒѾ­³É¹¦ÁË£¬ÏÖÔÚÏë¶ÔÆä½øÐÐһЩ¶¨ÖÆÐ޸쬱ÈÈ磬¸ü¸ÄgrubͼƬµÈ¡£

ÎÒÔÚks.cfgµÄ%post¶ÎÀïÃæÊÇÕâÑùдµÄ£º
%post --nochroot

# Move the contents of the tar into their new locations

cp -fRp /config/boot/grub/splash.xpm.gz /mnt/sysimage/boot/grub/ 
cp -fRp /config/etc/rc.d/init.d/network /mnt/sysimage/etc/rc.d/init.d/
cp -fRp /config/etc/issue /mnt/sysimage/etc/
cp -fRp /config/etc/issue.net /mnt/sysimage/etc/
cp -fRp /config/etc/motd /mnt/sysimage/etc/
cp -fRp /config/etc/redhat-release /mnt/sysimage/etc/
cp -fRp /config/etc/resolv.conf /mnt/sysimage/etc/


%post

/sbin/chkconfig --level 345 httpd on
/sbin/chkconfig --level 345 mysqld on
/sbin/chkconfig --level 345 bluetooth off
/sbin/chkconfig --level 345 sendmail off
/sbin/chkconfig --level 345 finger off
/sbin/chkconfig --level 345 lpd off

¶øÎÒisoÀïÃæµÄconfigĿ¼µÄtreeÊÇÕâÑùµÄ£º
.
|-- boot
| `-- grub
| `-- splash.xpm.gz
`-- etc
  |-- issue
  |-- issue.net
  |-- motd
  |-- rc.d
  | `-- init.d
  | `-- network
  |-- redhat-release
  `-- resolv.conf

ÕÕ˵Ӧ¸ÃûÓÐÎÊÌ⣬¿ÉÊÇÎÒÕâЩÎļþÔõô¶¼²»Äܸ´ÖƵ½Ð°²×°ºÃµÄϵͳÖÐÈ¥£¬Çë´ó´óÃÇÖ¸µãÖ¸µã£¡ 
 

ÒýÓÃ
¿´Kickstart Log, ÓÐÌõ¼þ


Ïà¹ØÎÊ´ð£º

linux»·¾³ÏÂgethostbynameº¯ÊýÎÊÌâ - C/C++ / CÓïÑÔ

дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
   
  struct hostent *hp; 
char AlarmDevIP[20];  
  int x2;

hp = gethostbyname("www.google.com");
if (hp)
{ ......

¹ØÓÚLINUX²Ù×÷ϵͳµÄ°²×°

    ÎÒûÓа²×°²Ù×÷ϵͳµÄ¾­Ñ飬¼´Ê¹ÊÇWINDOWS¡£ÏÖÔÚÏëÔÚLINUX²Ù×÷ϵͳ´ó»·¾³ÏÂѧCÓïÑÔ£¬ÓÖÒªÂò±¾±¾£¬ÇëÎÊÈç¹û²Ù×÷ϵͳ°²×°²»µ±£¬»á²»»á¶ÔµçÄÔÔì³Éʲô´óµÄÆÆ»µ£¿ÓÐûÓбØÒªÏÈÂòÒ»¸ö¶þÊÖµçÄÔÁ·Ò»ÏÂLINUXµÄ ......

linux ºÍ windows Ïà±È °²È«ÐÔºÎÔÚ

  ÓÐÈËÈÏΪ£¬linux °²È«ÐԸߣ¬Ö»ÊÇÒòΪÓõÄÈËÉÙ£¬ËùÒÔÄÇЩºÚ¿Í²»Ô¸ÒâÈ¥¹¥»÷£¬ËùÒÔ²¡¶¾Ö®ÀàµÄ¾ÍÉÙ£¬ÊDz»ÊÇÕâÑù£¿¶øÇÒlinuxÊÇ¿ªÔ´µÄ£¬¹¥»÷ÆðÀ´ ±È½ÏÈÝÒ×ËùÒÔ ÀÁµÄÈ¥¹¥»÷
ÕâÖÖ˵·¨¶Ôô
linux Ôõô¾Í°²È«¸ß ......

linux vsftp ¸ü¸ÄÉÏΰĿ¼

linux vsftpd Äܲ»Äܸü¸ÄĬÈϵÄFTPÉÏ´«Ä¿Â¼?
ʹÓÃftpµÇ¼£¬»áµÇ¼µ½/home/ftp Õâ¸öĿ¼£¬ÎÒÏë¸ü¸Äµ½ÆäËûµÄĿ¼£¬ÔõôÅäÖÃÄØ

Çë¸ßÊִͽÌß¹£¬¼±¼±¼±£¡
ÓÐЩftp¹¤¾ß¿ÉÒÔÖ±½Ó×Ô¼ºÐ´Ä¿Â¼µÄ°É£¬Õâ¸öĿ¼Ӧ¸Ã¾ÍÊ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ