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£¬¶øËû´ú±íÒª·
Ïà¹ØÎĵµ£º
×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......
´ó¼Ò¶¼ÖªµÀÐÞ¸ÄlinuxϵÄDNS¿ÉÒÔÖ±½ÓÐÞ¸Ä/etc/resolv.conf:
root@xuanfei-desktop:~#vim /etc/resolv.conf
nameserver ip //ÌîÉÏÄãµ±µØÊ¹ÓõÄ×î¿ìDNS·þÎñÆ÷IPµØÖ·
nameserver ip
µ±È»Ò²¿ÉÒÔÖ±½ÓʹÓÃÍøÂç¹ÜÀíÆ÷Ð޸ġ£
µ«ÊÇÈç¹ûÄãËùÔÚ»ú¹¹»òÕß¹¤×÷µÄµØ·½±ØÐëÒªÇóÄãÓÃDHCP»ñµÃ×Ô¼º·Ç¹Ì¶¨¶¯Ì¬IP ......
LinuxÉ豸Çý¶¯ÖеÄ×èÈûÓë·Ç×èÈûI/O
×èÈûÓë·Ç×èÈûI/O
×èÈû²Ù×÷ÊÇÖ¸ÔÚÖ´ÐÐÉ豸²Ù×÷ʱÈô²»ÄÜ»ñµÃ×ÊÔ´Ôò¹ÒÆð½ø³Ì£¬Ö±µ½Âú×ã¿É²Ù×÷µÄÌõ¼þºóÔÙ½øÐвÙ×÷¡£
ÒòΪ×èÈûµÄ½ø³Ì»á½øÈëÐÝÃß״̬£¬Òò´Ë£¬±ØÐëÈ·±£ÓÐÒ»¸öµØ·½Äܹ»»½ÐÑÐÝÃߵĽø³Ì¡£»½Ðѽø³ÌµÄµØ·½×î´ó¿ÉÄÜ·¢ÉúÔÚÖжÏÀïÃæ£¬ÒòΪӲ¼þ×ÊÔ´»ñµÃµÄͬʱÍùÍù°éËæ×ÅÒ ......
¹úÍâ
¡¡¡¡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/
¡¡¡¡ ......