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£¬¶øËû´ú±íÒª·
Ïà¹ØÎĵµ£º
2009 Äê 4 ÔÂ 23 ÈÕ
±¾ÎÄÖÐÎÒÃÇÕë¶Ô Linux É϶àÏ̱߳à³ÌµÄÖ÷ÒªÌØÐÔ×ܽá³ö 5 Ìõ¾Ñ飬ÓÃÒÔ¸ÄÉÆ Linux ¶àÏ̱߳à³ÌµÄÏ°¹ßºÍ±ÜÃâÆäÖеĿª·¢ÏÝÚå¡£ÔÚ±¾ÎÄÖУ¬ÎÒÃÇ´©²åһЩ Windows µÄ±à³ÌÓÃÀýÓÃÒÔ¶Ô±È Linux ÌØÐÔ£¬ÒÔ¼ÓÉî¶ÁÕßÓ¡Ïó¡£
±³¾°
Linux ƽ̨ÉϵĶàÏ̳߳ÌÐò¿ª·¢Ïà¶ÔÓ¦ÆäËûƽ̨£¨±ÈÈç Windows£©µÄ¶àÏß³Ì API ÓÐһЩϸ΢ ......
¼¸¸öcpu
more /proc/cpuinfo |grep "physical id"|uniq|wc -l
ÿ¸öcpuÊǼ¸ºË£¨¼ÙÉècpuÅäÖÃÏàͬ£©
more /proc/cpuinfo |grep "physical id"|grep "0"|wc -l
cpuʹÓÃÂÊ
vmstat
ÍƼöС¹¤¾ßnmon£¨aixºÍlinux¶¼ÓУ©
topºó°´Êý×Ö1,¶à¸öcpuµÄ»°»áÏÔʾ¶à¸ö
fdisk -l¿ÉÒÔ¿´µ½¶à¸öÎïÀíÓ²ÅÌ£¬×öÁËÓ²raidÖ»ÄÜ¿´µ½Ò»¸öӲŠ......
ÔÎĵØÖ·£ºhttp://www.ibm.com/developerworks/cn/linux/l-lpic1-v3-102-4/index.html?ca=drs-
Ian
Shields
, ×ÊÉî³ÌÐòÔ±, IBM
Ian Shields ²ÎÓë developerWorks
Linux רÇøµÄÐí¶à Linux ÏîÄ¿¡£ËûÊÇ IBM ±±¿¨ÂÞÀ´ÄÉÖÝ Research Triangle Park µÄÒ»Ãû¸ß¼¶³ÌÐòÔ±¡£ËûÓÚ
1973 Äê×÷ΪһÃûϵͳ¹¤³Ìʦ¼ÓÈë IBM λÓÚ°Ä´ ......
LinuxÉ豸Çý¶¯ÖеÄ×èÈûÓë·Ç×èÈûI/O
×èÈûÓë·Ç×èÈûI/O
×èÈû²Ù×÷ÊÇÖ¸ÔÚÖ´ÐÐÉ豸²Ù×÷ʱÈô²»ÄÜ»ñµÃ×ÊÔ´Ôò¹ÒÆð½ø³Ì£¬Ö±µ½Âú×ã¿É²Ù×÷µÄÌõ¼þºóÔÙ½øÐвÙ×÷¡£
ÒòΪ×èÈûµÄ½ø³Ì»á½øÈëÐÝÃß״̬£¬Òò´Ë£¬±ØÐëÈ·±£ÓÐÒ»¸öµØ·½Äܹ»»½ÐÑÐÝÃߵĽø³Ì¡£»½Ðѽø³ÌµÄµØ·½×î´ó¿ÉÄÜ·¢ÉúÔÚÖжÏÀïÃ棬ÒòΪӲ¼þ×ÊÔ´»ñµÃµÄͬʱÍùÍù°éËæ×ÅÒ ......
LinuxÉ豸Çý¶¯ÖеÄÒ첽֪ͨÓëÒì²½I/O
Ò첽֪ͨµÄ¸ÅÄîÓë×÷ÓÃ
Ò첽֪ͨµÄÒâ˼ÊÇ£ºÒ»µ©É豸¾ÍÐ÷,ÔòÖ÷¶¯Í¨ÖªÓ¦ÓóÌÐò,ÕâÑùÓ¦ÓóÌÐò¸ù±¾¾Í²»ÐèÒª²éѯÉ豸״̬,ÕâÒ»µã·Ç³£ÀàËÆÓÚÓ²¼þÉÏ"ÖжÏ"µÄ¸ÅÄî,±È½Ï׼ȷµÄ³ÆνÊÇ"ÐźÅÇý¶¯µÄÒì²½I/O"¡£
LinuxÐźÅ
LinuxϵͳÖУ¬Ò첽֪ͨʹÓÃÐźÅÀ´ÊµÏÖ¡£ÐźÅÒ²¾ÍÊÇÒ»ÖÖ ......