ÓйØ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, ÓÐÌõ¼þ
Ïà¹ØÎÊ´ð£º
дÁ˸ö²âÊÔ³ÌÐòÈçÏ struct hostent *hp; char AlarmDevIP[20]; int x2; hp = gethostbyname("www.google.com"); if (hp) {
......
Á½Ì¨»úÆ÷ÐͺÅÍêȫһÑù ÏëÒª°Ñһ̨»úÆ÷µÄÄÚºËÅäÖÃÎļþ¿½±´¸øÁíÍâһ̨ RT 3Q ... .config Òþ²ØµÄ ÔÚÄãÅäÖùýÄں˺ó¾ÍÉú³ÉÁË lsÕý½â£¬ÔÚkernelÔ´Âë¶¥²ãĿ¼ÖÐÓиö.configÎļþ£¬ÅäÖ ......
ÒòΪ°²×°cvsÒªÓõ½xinetd·þÎñ£¬·¢ÏÖ»úÆ÷ÉÏûÓС£¡£¾Í´ÓÍøÉÏÏÂÔØÁ˸ö×°ÉÏ£¬ SQL code: [root@localhost ~]# rpm -qa xinetd [root@localhost ~]# rpm -qa telnet telnet-0.17-38.el5 [root@localhost ~]# ¸ ......
ÓÐÈËÈÏΪ£¬linux °²È«ÐԸߣ¬Ö»ÊÇÒòΪÓõÄÈËÉÙ£¬ËùÒÔÄÇЩºÚ¿Í²»Ô¸ÒâÈ¥¹¥»÷£¬ËùÒÔ²¡¶¾Ö®ÀàµÄ¾ÍÉÙ£¬ÊDz»ÊÇÕâÑù£¿¶øÇÒlinuxÊÇ¿ªÔ´µÄ£¬¹¥»÷ÆðÀ´ ±È½ÏÈÝÒ×ËùÒÔ ÀÁµÄÈ¥¹¥»÷ ÕâÖÖ˵·¨¶Ôô linux Ôõô¾Í°²È«¸ß ......
СµÜ×î½üÐèÒªÒ»¸öÓÃsocket»ñÈ¡htmlÎĵµµÄ´úÂ룬µ«ÊÇÀÏÊDz»ÄÜ»ñÈ¡ÍêÕûµÄhtmlÔ´Âë¡£ÔÒò²»Ã÷£¬Íû¸ßÊÖÖ¸µã£¡ C/C++ code: char *Http_GET(char *host,int port,char *data) //·¢ËÍGETÇëÇó { char response[2 ......