Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

LinuxÏ°²×°SVN·þÎñÆ÷

°²×°»·¾³
CentOS 4.3 Final
Èí¼þÁбí
httpd-2.0.61.tar.gz
db-4.3.29.tar.gz
subversion-1.3.2.tar.gz
Èí¼þλÖÃ
/data/software
°²×°²½Öè
#mkdir /data/software/pkg
-p
°²×°Berkeley DB
#cd
/data/software/pkg
#tar zxvf ../db-4.3.29.tar.gz
#cd
db-4.3.29/docs
#../dist/configure
#make && make install
#echo
/usr/local/BerkeleyDB.4.3/lib >> /etc/ld.so.conf
#ldconfig
°²×°Apache
#cd /data/software/pkg
#tar zxvf
../httpd-2.0.61.tar.gz
#./configure --prefix=/usr/apache --enable-dav  \
--with-berkeley-db=/usr/local/BerkeleyDB.4.3 --with-dbm=db43
#make &&
make install
°²×°Subversion
#cd
/data/software/pkg
#tar zxvf ../db-4.3.29.tar.gz
#cd
db-4.3.29
#./configure --with-apxs=/usr/apache/bin/apxs
--prefix=/usr/local/subversion  \ --with-apr=/usr/apache
--with-apr-util=/usr/apache --with-ssl --with-zlib  \ --enable-maintainer-mode
--with-berkeley-db=/usr/local/BerkeleyDB.4.3
#make && make
install
½¨Á¢²Ö¿â
#groupadd
svn
#useradd svnroot -g svn
#passwd svnroot
#su svnroot
#mkdir
/data/svn/repository
#cd /usr/local/subversion/bin
#./svnadmin create
/data/svn/repository/test
#cd
/data/svn/svnroot/repository/test
#/usr/local/subversion/bin/svnadmin
--version
#exit (·µ»ØrootÕʺÅ)
#chmod 700
/data/website/svn/repository
ÅäÖÃSVN
#vi /usr/apache/conf/httpd.conf
   //ÕÒµ½ÏÂÁÐÓï¾ä,Èç¹ûûÓÐÔò×ÔÐÐÌí¼Ó
   LoadModule dav_svn_module
modules/mod_dav_svn.so
   LoadModule authz_svn_module
modules/mod_authz_svn.so
  //ÔÚºóÃæÌí¼Ó
   <Location /svn>
   DAV
svn
   SVNParentPath /data/website/svn/repository
   AuthzSVNAccessFile
/etc/svn-access-file
   AuthType Basic
   AuthName "SVN Test"
  
AuthUserFile /etc/svn-auth-file
   Require valid-user
  
</Location>
   //<Location
ºóÃæµÄ±íʾµÄÊÇurl£¬¶øËû´ú±íÒª·


Ïà¹ØÎĵµ£º

linux¿ÚÁîÏà¹Ø£¨passwd/shadow£©

      ÔÚlinuxÖУ¬¿ÚÁîÎļþÔÚ/etc/passwdÖУ¬ÔçÆÚµÄÕâ¸öÎļþÖ±½Ó´æ·Å¼ÓÃܺóµÄÃÜÂ룬ǰÁ½Î»ÊÇ"ÑÎ"Öµ£¬ÊÇÒ»¸öËæ»úÊý£¬ºóÃæ¸úµÄÊǼÓÃܵÄÃÜÂ롣ΪÁË°²È«£¬ÏÖÔÚµÄlinux¶¼ÌṩÁË /etc/shadowÕâ¸öÓ°×ÓÎļþ£¬ÃÜÂë·ÅÔÚÕâ¸öÎļþÀïÃ棬²¢ÇÒÊÇÖ»ÓÐroot¿É¶ÁµÄ¡£
ÏÂÃæÀ´·ÖÎöÒ»ÏÂ/etc/passwdÎļþ£¬ËûµÄÿ¸öÌõÄ¿Ó ......

LinuxÏÂÈí¼þ°²×°

LinuxÏÂÈí¼þ°ü°²×°·½·¨
1.ÒѾ­±àÒë´ò°üºÃµÄxxx.rpm
  ʹÓÃrpmÃüÁÐèÒª´ò¿ªÖնˣ¬Çл»µ½xxx.rpmËùÔÚĿ¼£¬rpm -ivh xxx.rpm
2.´ò°üºÃµÄÔ´Âë°üxxx.src.rpm
  ÒªÓÃrpm -rebuild xxx.src.rpmÃüÁîÀ´ÖØÐÂÉú³É
  ×¢£º¶ÔÓÚrpmÃüÁîµÄÏê½â¿ÉÒÔʹÓà $rpm -helpÀ´²é¿´
3.°²×°³ÌÐòxxx.bin
  ÏÈ°Ñxxx.bin¸ÄÎ ......

ÀÏÊÖ¾­Ñé:LinuxÇý¶¯³ÌÐò¿ª·¢Ñ§Ï°²½Öè [תstonly]


2009-10-21
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àÒ»Ó¦ÓóÌÐò£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod, lsmod, rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world, insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread, write, ioctl, pollingµÈ¸÷ÖÖº ......

linux½âѹtarÃüÁî


linux½âѹ tarÃüÁî
tarÃüÁî
tar [-cxtzjvfpPN] ÎļþÓëĿ¼ ....

²ÎÊý£º
-c £º½¨Á¢Ò»¸öѹËõÎļþµÄ²ÎÊýÖ¸Áî(create µÄÒâ˼)£»
-x
£º½â¿ªÒ»¸öѹËõÎļþµÄ²ÎÊýÖ¸Á
-t £º²é¿´ tarfile ÀïÃæµÄÎļþ£¡
Ìرð×¢Ò⣬ÔÚ²ÎÊýµÄÏ´ïÖУ¬ c/x/t ½öÄÜ´æÔÚÒ»¸ö£¡²»¿Éͬʱ´æÔÚ£¡
ÒòΪ²»¿ÉÄÜͬʱѹËõÓë½âѹËõ¡£
-z £ºÊ ......

LinuxÍøÖ·¾«Ñ¡

¹úÍâ
¡¡¡¡http://lwn.net/
¡¡¡¡http://www.tldp.org/
¡¡¡¡https://rhn.redhat.com/
¡¡¡¡http://www.justlinux.com/
¡¡¡¡http://www.linuxtoday.com/
¡¡¡¡http://www.linuxquestions.org/
¡¡¡¡http://www.fokus.gmd.de/linux/
¡¡¡¡http://www.linux-tutorial.info/
¡¡¡¡http://www.freebsdforums.org/forums/
¡¡¡¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ