Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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ÏÂдC/C++³ÌÐòµÄ½Ì³Ì£¿

¸ø¸öµØÖ·£¬»òÕß·¢µ½ÎÒÓÊÏäÒ²ÐÐ wrongagain98@163.com
×îºÃÊÇÊÓƵµÄ£¬²»ÊÇÊÓƵÆÕͨµÄÒ²ÐС£

Ö÷ÒªÊÇÁ½·½Ã棺
1.ÔõÑù±à¼­¡¢±àÒëºÍµ÷ÊÔ³ÌÐò¡£Ï£ÍûÄÜÒ»²½²½½²Çå³þ£¬ÈçºÎ°²×°¡¢ÈçºÎÅäÖõȡ£²»Òª¾Íֻ˵¾ä¡°¾ÍÓ ......

ʹÓÃStruts2ÉÏ´«Îļþ£¬ÔÚlinuxϱ¨´í

ʹÓÃ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 Ŀ¼ÎÊÌâ

LinuxÐÂÊÖ£¬Çë´ó¸ç´ó½ã²»Òª¼ûЦ¡£

ÎÒÓÃrootÓû§µÇ¼µ½Linuxϵͳ¡£ÔÚ¸ùĿ¼ÏÂÃ潨ÁËĿ¼dir1£¬ºóÓÃÃüÁîcd /dir1½øÈëµ½dir1Ŀ¼Ï£¬È»ºóÔÙÓÃmkdir dir2½¨Á¢ÁËĿ¼dir2 £¬ÔÙºóÀ´ÓÃÃüÁîcd /dir2ÊÇ£¬ÌáʾΪ£º-bush ......

linuxÏÂwebÕ¾µã×ÓÎļþ¼ÐȨÏÞµÄÎÊÌâ

Õ¾µãÏÂÓÐ×ÓÎļþ¼Ð  script  Îļþ¼ÐÏÂÓÐjsÎļþindex.js

¸ùĿ¼ÏÂÓÐÎļþindex.php


ÏëȨÏÞÉèÖóÉÖ±½Óͨ¹ýURL:http://www.abc.com/script/index.jsÎÞ·¨·ÃÎÊ,ÐèҪȨÏÞ
µ«ÊÇͨ¹ýindex.phpµ ......

Linux Socket HTTPÇëÇóµÄÎÊÌ⣬¸ßÊÖ½ø£¡

СµÜ×î½üÐèÒªÒ»¸öÓÃsocket»ñÈ¡htmlÎĵµµÄ´úÂ룬µ«ÊÇÀÏÊDz»ÄÜ»ñÈ¡ÍêÕûµÄhtmlÔ´Âë¡£Ô­Òò²»Ã÷£¬Íû¸ßÊÖÖ¸µã£¡
C/C++ code:

char *Http_GET(char *host,int port,char *data) //·¢ËÍGETÇëÇó
{
char response[2 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ