ÓйØ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, ÓÐÌõ¼þ
Ïà¹ØÎÊ´ð£º
ÎÒûÓа²×°²Ù×÷ϵͳµÄ¾Ñ飬¼´Ê¹ÊÇWINDOWS¡£ÏÖÔÚÏëÔÚLINUX²Ù×÷ϵͳ´ó»·¾³ÏÂѧCÓïÑÔ£¬ÓÖÒªÂò±¾±¾£¬ÇëÎÊÈç¹û²Ù×÷ϵͳ°²×°²»µ±£¬»á²»»á¶ÔµçÄÔÔì³Éʲô´óµÄÆÆ»µ£¿ÓÐûÓбØÒªÏÈÂòÒ»¸ö¶þÊÖµçÄÔÁ·Ò»ÏÂLINUXµÄ ......
LinuxÐÂÊÖ£¬Çë´ó¸ç´ó½ã²»Òª¼ûЦ¡£ ÎÒÓÃrootÓû§µÇ¼µ½Linuxϵͳ¡£ÔÚ¸ùĿ¼ÏÂÃ潨ÁËĿ¼dir1£¬ºóÓÃÃüÁîcd /dir1½øÈëµ½dir1Ŀ¼Ï£¬È»ºóÔÙÓÃmkdir dir2½¨Á¢ÁËĿ¼dir2 £¬ÔÙºóÀ´ÓÃÃüÁîcd /dir2ÊÇ£¬ÌáʾΪ£º-bush ......
• ʵÑéÄ¿µÄ ͨ¹ý±¾ÊµÑ飬Á˽âLinuxϵͳµÄ×éÖ¯ºÍÐÐΪ£¬¹Û²ì¸÷Öִ洢ϵͳ״̬ÐÅÏ¢µÄÄں˱äÁ¿£»ÊìϤÕâЩ½á¹¹ÓëÐÅÏ¢¡£ • ʵÑéÄÚÈÝ ±àд³ÌÐò´òÓ¡³öÈç ......
ʹÓÃPHPµÄexecº¯Êýµ÷ÓÃlinuxµÄshellÃüÁÈçdateÈ¥ÐÞ¸Äʱ¼ä»òshutdownȥʵÏֹػú/ÖØÆô£¬µ«ÊÇ·µ»ØÖµ¶¼ÊÇʧ°ÜµÄ¡£¾¹ý¶à´ÎÊÔÑ飬È϶¨ÊÇûÓÐȨÏÞµÄÎÊÌâ¡£ ËùÒÔ£¬Ð¡µÜÔÚ´ËÇë½Ì¸÷룬ÈçºÎ²ÅÄÜÉèÖÃȨÏÞ£¬µ÷ÓÃlinux shellà ......
ÏëѧһÏÂÕâ·½ÃæµÄ֪ʶ£¬²»ÖªµÀÊÇ·ñÓÐרÃŵÄÊé¼®½éÉÜ£¬Ï£ÍûÁ˽âµÄÅóÓÑÄÜÖ¸µãÒ»¶þ£¬Ð»Ð»£¡ occi רÃÅÊé¼®ÎÒҲûÕÒµ½ pro*cµÄºÜ¶à ²»¹ý¶ÔC++Ö§³Ö²»ºÃ CÓïÑÔÖ§³ÖûÎÊÌâ Ö÷ÒªÊÇÊý¾Ý¿âÊìϤ¾ÍÐÐÁË. ×°¸öMYSQL£¬¿´ ......