linux ubuntuÉÏ´«ÎļþÏÞÖÆ
ubuntu×ö·þÎñÆ÷
ÔÚÉÏ´«ÎļþµÄʱºòĬÈÏÇé¿öÏÂÉÏ´«Îļþ´óСÏÞÖÆÊÇ2M
Èç¹ûÒªÉÏ´«´óÎļþµÄ»°ÐèÒªÉèÖÃÒ»ÏÂ/etc/php5/apache2/php.ini(ÎÒ°²×°µÄÊÇphp5£¬Èç¹û²»ÊǵĻ°Ö±½Ó³¢ÊÔÕÒµ½php.ini,ÊÂÏÈ˵ºÃ£¬Õâ¸öûÓвâÊÔ¹ý)
upload_max_filesize = 50M
post_max_size =50M
max_execution_time =600
max_input_time =600
memory_limit = 64
Èç¹ûÕâÑùÉèÖõĻ°£¬ÉÏ´«3£¬4Ê®M µÄ¶«Î÷¿Ï¶¨Ã»ÓÐÎÊÌâ
µ±È»£¬ÕâÑùµÄÉèÖò¢²»Ò»¶¨ÊÇ×î¼Ñ´îÅ䣬×Ô¼º×ÁÄ¥×ÅÀ´°É
ÁíÍâ¾ÍÊÇÉÏ´«ÎļþʱµÄÁÙʱ·¾¶ÒªÓÐ×ã¹»µÄȨÏÞ
Ïà¹ØÎĵµ£º
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......
LinuxϵĶδíÎó²úÉúµÄÔÒò¼°µ÷ÊÔ·½·¨
ĬÈÏ·ÖÀà 2008-08-26 13:37 ÔĶÁ28 ÆÀÂÛ0
×ֺţº ´ó´ó ÖÐÖРСС
¼ò¶øÑÔÖ®,²úÉú¶Î´íÎó¾ÍÊÇ·ÃÎÊÁË´íÎóµÄÄÚ´æ¶Î£¬Ò»°ãÊÇÄãûÓÐȨÏÞ£¬»òÕ߸ù±¾¾Í²»´æÔÚ¶ÔÓ¦µÄÎïÀíÄÚ´æ,ÓÈÆä³£¼ûµÄÊÇ·ÃÎÊ0µØÖ·.
Ò»°ãÀ´Ëµ,¶Î´íÎó¾ÍÊÇÖ¸· ......
linuxÏÂÏë½âѹrarÎļþ ±ØÐë°²×°Èí¼þ£¬ÎÒʹÓõ½ÊÇrarlinux
ÏÂÃæÊÇÏÂÔصØÖ·
rarlinux¹Ù·½ÍøÕ¾ÏÂÔصØÖ·
http://www.rarsoft.com/download.htm
°²×° ......
debian lenny , my favorite
a. vim /etc/sysctl.conf:
modify net.ipv4.ip_forward = 1
b. flush route table:
iptables -F
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
c. open NAT services:
&nb ......