·¢¸öÔÚlinuxÏÂÓÃpythonдÊØ»¤½ø³ÌµÄºÃ¶«¶«£¨×ª£©
Ò»¸ö±ðÈËдµÄÄ£¿é£¬¿ÉÒÔÖ±½ÓÓÃÀ´°ÑÒ»¸öÆÕͨ½ø³Ì¸ÄΪÊØ»¤½ø³Ì¡£
²¢ÇÒ×Ô¶¯°Ñ±ê×¼Êä³öÖض¨Ïòµ½ÈÕÖ¾Îļþ£¬ºÜʵÓð¡¡£
view plaincopy to clipboardprint?
<BR>
'''''<BR>
This module is used to fork the current process into a daemon.<BR>
Almost none of this is necessary (or advisable) if your daemon <BR>
is being started by inetd. In that case, stdin, stdout and stderr are <BR>
all set up for you to refer to the network connection, and the fork()s <BR>
and session manipulation should not be done (to avoid confusing inetd). <BR>
Only the chdir() and umask() steps remain as useful.<BR>
References:<BR>
UNIX Programming FAQ<BR>
1.7 How do I get my program to act like a daemon?<BR>
[url]http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC16[/url]<BR>
Advanced Programming in the Unix Environment<BR>
W. Richard Stevens, 1992, Addison-Wesley, ISBN 0-2
Ïà¹ØÎĵµ£º
Ò»£® °²×°Sendmail¡£
ÍêÈ«°²×°Red Hat Linux
9.0ʱ£¬Sendmail¾Í»á×Ô¶¯ÄÚÖ㬰汾ºÅΪ8.12.8-4¡£Èç¹ûÄ㲻ȷ¶¨LinuxÊÇ·ñÒѾ°²×°ÓÐsendmail£¬¿ÉÒÔÊäÈëÒÔÏÂÃüÁî²é¿´£º
[root@ahpeng root] rpm –qa grep sendmail
Èç¹ûÈ·¶¨Ã»Óа²×°£¬ÇëÔÚÍ ......
ʵÑé»·¾³£ºAS4×îС»¯°²×°
ʵÑéÄ¿±ê£º¼ÜÉèVSFTP·þÎñÆ÷
Õâ´ÎÎÒÃÇÀ´Ñ§Ï°LinuxϵͳÖÐµÄ vsftp·þÎñÆ÷µÄÅäÖá£
ÏÂÃæÎÒÃÇ¿ªÊ¼ÁË£¡Ê×ÏÈÎÒÃÇ°²×°vsftp·þÎñÆ÷¶ËµÄÈí¼þ¡£
vsftpd·þÎñÆ÷µÄ°²×°ÎļþλÓÚµÚ1ÕÅ°²×°¹âÅÌÖС£
ʹÓÃrpmÃüÃû¿É˳Àû°²×°¸ÃÈí¼þ°ü¡£
# rpm -ivh vsftpd-2.0.1-5.i386.r ......
µ±linuxÖеÄC apiº¯Êý·¢ÉúÒ쳣ʱ,Ò»°ã»á½«errno±äÁ¿(Ðèinclude
errno.h)¸³Ò»¸öÕûÊýÖµ,²»Í¬µÄÖµ±íʾ²»Í¬µÄº¬Òå,¿ÉÒÔͨ¹ý²é¿´¸ÃÖµÍƲâ³ö´íµÄÔÒò£¬ÔÚʵ¼Ê±à³ÌÖÐÓÃÕâÒ»Õнâ¾öÁ˲»ÉÙÔ±¾¿´À´ÄªÃûÆäÃîµÄÎÊÌâ¡£µ«ÊÇ
errnoÊÇÒ»¸öÊý×Ö£¬´ú±íµÄ¾ßÌ庬Ò廹Ҫµ½errno.hÖÐÈ¥ÔĶÁºê¶¨Ò壬¶øÿ´Î²éÔÄÊÇÒ»¼þºÜ·±ËöµÄÊÂÇé¡£ÓÐÏÂÃ漸ÖÖ·½·¨ ......
Linux JDK and ANT install
linux JDKµÄ°²×°
°²×°JDK
´ÓsunÍøÕ¾ÉÏÖ±½ÓÏÂÔØJDK£ºhttp:
//java.sun.com/j2se/1.4.2
/download.htmlÌṩÁËÁ½¸öÏÂÔØ£º
1¡¢RPM in self-extracting file
(j2sdk-1_4_2_04-linux-i586.bin,
32.77 MB) Õâ¸öÊÇ×Ô½âѹµÄÎļþ£¬ÔÚlinuxÉÏ°²×°ÈçÏ£º
chmod u+x
./j2sdk-1_4_2_04-l ......