ÈçºÎÔÚlinux¿ª»úʱ×Ô¶¯Æô¶¯smb¹²Ïí·þÎñ£¿
ÈçºÎÔÚlinux¿ª»úʱ×Ô¶¯Æô¶¯smb¹²Ïí·þÎñ£¿
·½·¨1£ºntsysv£¬ÓнçÃ棬ѡÖÐsamba·þÎñ¼´¿É
·½·¨2. chkconfig --add smb
[root@test ~]# chkconfig --add smb
[root@test ~]# chkconfig --list smb
smb 0:¹Ø±Õ 1:¹Ø±Õ 2:¹Ø±Õ 3:ÆôÓà 4:¹Ø±Õ 5:¹Ø±Õ 6:¹Ø±Õ
[root@test ~]#
Ïà¹ØÎĵµ£º
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......
......
Èí¼þÏÂÔصØÖ·£º
pcre£ºhttp://www.pcre.org/
Nginx£ºhttp://nginx.net/
spawn-fcig: http://redmine.lighttpd.net/projects/spawn-fcgi/news
ÀûÓà wget ÃüÁîÏÂÔØÏàÓ¦µÄ °²×°°ü
²½Öè
1¡¢°²×°pcre
ngnix ÐèÒª°²×°pcre¿â£º
wget http://sourceforge.net ......
linuxµÄechoÃüÁî, ÔÚshell±à³ÌÖм«Îª³£ÓÃ, ÔÚÖÕ¶ËÏ´òÓ¡±äÁ¿valueµÄʱºòÒ²Êdz£³£Óõ½µÄ, Òò´ËÓбØÒªÁ˽âÏÂechoµÄÓ÷¨
echoÃüÁîµÄ¹¦ÄÜÊÇÔÚÏÔʾÆ÷ÉÏÏÔʾһ¶ÎÎÄ×Ö£¬Ò»°ãÆðµ½Ò»¸öÌáʾµÄ×÷Óá£
¸ÃÃüÁîµÄÒ»°ã¸ñʽΪ£º echo [ -n ] ×Ö·û´®
ÆäÖÐÑ¡Ïîn±íʾÊä³öÎÄ×Öºó²»»»ÐУ»×Ö·û´®ÄܼÓÒýºÅ£¬Ò²Äܲ»¼ÓÒýºÅ¡£ÓÃechoÃüÁîÊä³ö¼ ......
ÃüÁîÐ춱ð ÃüÁîÐÐÖÐÇÃÈë ulimit -n 12345 Óû§¼¶±ð ±à¼/etc/security/limits.conf: Îļþ£¬²åÈëÒ»ÐУºuserx hard nofile 12345 ϵͳ¼¶±ð ÔÚ/etc/sysctl.confÎļþÖмÓÈëÒ»ÐÐ fs.file-max=12345£¬È»ºóÔÚÃüÁîÐÐÖÐÊäÈ룺sysctl -p £¬Ê¹ÆäÉúЧ ......