Linuxϳõ²½ÅäÖÃApache+Subversion
×°ºÃapacheºÍsubversionºó½ÓÏÂÀ´ÅäÖÃÅäÖÃÎļþ,ÏÈÓÃÃüÁîsvnadmin svnadmin create /home/repository/svn1 svnadmin create /home/repository/svn2 ÔÚ/home/repository/Ŀ¼ÀïÃæ´´½¨ÁË2¸ö²Ö¿âsvn1ºÍsvn2 ÐÞ¸Ähttp.conf¼ÓÉϹØÓÚsvnµÄÅäÖÃÑ¡Ïî LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule dav_module modules/mod_dav.so
LoadModule authz_svn_module modules/mod_authz_svn.so #¼ÓÔØÄ£¿é,ÓÐʱ±¨´ímod_davÒѾÔÚhttpÀïÃæÁË,±àÒëµÄʱºò¼ÓÉÏÁË.×¢Ê͵ô¼´¿É ÅäÖòֿâ
DAV svn
SVNParentPath /home/repository
ʹÓÃapacheµÄÑéÖ¤·½Ê½ÓÚÊÇʹÓÃ: usr/local/httpd/bin/htpasswd –cm /home/repository/svn-auth-file username passwd Ò²¿ÉÒÔÏȲ»Ð´ÃÜÂëÖ®ºóд Ìí¼ÓµÚ¶þ¸öµÄʱºò¾Í²»ÐèÒª¼ÓÑ¡ÏîcºÍÎļþÀï,ÈçÏ usr/local/httpd/bin/htpasswd –m username ÌáʾÊäÈëÃÜÂë ÐÞ¸Äsvn²Ö¿âÅäÖÃΪ
DAV svn
SVNParentPath /home/repository #²Ö¿âµÄ¸¸¼¶Ä¿Â¼
AuthType Basic #Á´½ÓÀàÐÍÉèÖÃ
AuthName "Subversion repository" #Á´½ÓÌáʾ
AuthUserFile /home/repository/svn-auth-file #Óû§ÅäÖÃÎļþ
Require valid-user #²ÉÓúÎÖÖÈÏÖ¤
AuthzSVNAccessFile /home/repository/svn-access-file #ȨÏÞÅäÖÃÎļþ
ÆäÖеÄRequire valid-userÊǸæËßapacheÔÚAuthUserfile ÖеÄÓû§¶¼¿ÉÒÔ·ÃÎÊ,·ñÔòµÄ»°Ö»ÓеÚÒ»¸ö¿ÉÒÔ·ÃÎÊ ´´½¨svn-access-fileÎļþ,ËüÊÇÓÃÀ´¿ØÖÆȨÏÞµÄ ¸ñʽÈçÏÂ: [svn1:/] #Õâ±íʾ£¬²Ö¿âsvn1µÄ¸ùĿ¼ÏµķÃÎÊȨÏÞ
user1= rw # svn1²Ö¿âuser1Óû§¾ßÓжÁºÍдȨÏÞ
user2= rw # svn1²Ö¿âuser2Óû§¾ßÓжÁºÍдȨÏÞ
user3= r #svn1²Ö¿âuse
Ïà¹ØÎĵµ£º
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......
ÔÚLinux²Ù×÷ϵͳÏÂÐÞ¸ÄIP¡¢DNSºÍ·ÓÉÅäÖõÄÃüÁîÈçÏ£º
¡¡¡¡#ifconfig eth0
¡¡¡¡ÐµÄ
¡¡¡¡#ip
¡¡¡¡È»ºó±à¼/etc/sysconfig/network-scripts/ifcfg-eth0£¬ÐÞ¸Äip
¡¡¡¡Ò»¡¢ÐÞ¸ÄIPµØÖ·
¡¡¡¡[aeolus@db1 network-scripts]$ vi ifcfg-eth0
¡¡¡¡DEVICE=eth0
¡¡¡¡ONBOOT=yes
¡¡¡¡BOOTPROTO=static
¡¡¡¡IPADDR=2 ......
/ :¸ùĿ¼£¬ÊÇFHS½á¹¹ÖеÄ×²ãĿ¼¡£ÆäËüËùÓÐĿ¼¶¼ÊÇËüµÄ×ÓĿ¼£¬Ëü×ÜÊÇÒÔ¶ÀÁ¢µÄ·ÖÇø¹ÒÔØ¡£ÆäËüËùÓв»ÊÇÒÔ¶ÀÁ¢·ÖÇø¹ÒÔصÄĿ¼¶¼°üº¬Ôڴ˸ùĿ¼·ÖÇø¡£
/bin:°üº¬Ò»Ð©ÓÐÓõÄÃüÁîÐй¤¾ß¡£²»Äܱ»µ¥¶À¹ÒÔØΪһ¸ö·ÖÇø£¬·ñÔòÓûָ´ÅÌÐÞ¸´ÏµÍ³Ê±½«²»ÄÜ·ÃÎÊÕâЩÃüÁî¡£
/boot:°üº¬LinuxÆô¶¯Îļþ£¬°üº¬LinuxϵͳµÄÄÚº ......
ÔÎÄÁ´½Ó£ºhttp://www.trucy.org/blog/archives/eoiae/000087.html
GDBÊÇÒ»¸öÇ¿´óµÄÃüÁîÐе÷ÊÔ¹¤¾ß¡£´ó¼ÒÖªµÀÃüÁîÐеÄÇ¿´ó¾ÍÊÇÔÚÓÚ£¬Æä¿ÉÒÔÐγÉÖ´ÐÐÐòÁУ¬Ðγɽű¾¡£UNIXϵÄÈí¼þÈ«ÊÇÃüÁîÐеģ¬Õâ¸ø³ÌÐò¿ª·¢Ìá´ú¹©Á˼«´óµÄ±ãÀû£¬ÃüÁîÐÐÈí¼þµÄÓÅÊÆÔÚÓÚ£¬ËüÃÇ¿ÉÒԷdz£ÈÝÒ׵ļ¯³ÉÔÚÒ» ......
Linux Ê×ÏÈ´´½¨ramfsÎļþϵͳ(/)
È»ºó°Ñinitrd.imgÎļþ¼ÓÔص½ / Ŀ¼Ï¡£
ÆäËüÎļþϵͳÊÇ×öΪramfsµÄÒ»¸öĿ¼½áµã¹ÒÔØÉÏÈ¥µÄ¡£
initrd.imgÊÇÒ»¸öÓÃzipѹËõµÄcpio¸ñʽµÄѹËõÎļþ¡£°´ÏÂÃæ²½ÖèʵÏÖ½âѹ
µÚÒ»²½£º½«initrd.img¸ÄÃûΪinitrd.img.gz
mv initrd.img initrd.img.gz
µÚ¶þ²½£ºÓÃgunzip½âѹÉú³Éinitrd.img
gunzi ......