锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲免费毛片,аⅴ资源新版在线天堂,精品久久久久久久中文字幕http://www.aygfsteel.com/liveandletdie/category/2655.htmlzh-cnMon, 08 Feb 2010 12:05:10 GMTMon, 08 Feb 2010 12:05:10 GMT60Centos涓媙ginx+php+mysql鐨勫畨瑁?/title><link>http://www.aygfsteel.com/liveandletdie/articles/312337.html</link><dc:creator>騫哥鏄妸娓╂殩鐨勬灙</dc:creator><author>騫哥鏄妸娓╂殩鐨勬灙</author><pubDate>Mon, 08 Feb 2010 08:11:00 GMT</pubDate><guid>http://www.aygfsteel.com/liveandletdie/articles/312337.html</guid><wfw:comment>http://www.aygfsteel.com/liveandletdie/comments/312337.html</wfw:comment><comments>http://www.aygfsteel.com/liveandletdie/articles/312337.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/liveandletdie/comments/commentRss/312337.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/liveandletdie/services/trackbacks/312337.html</trackback:ping><description><![CDATA[杞澆鑷猦ttp://blog.s135.com/nginx_php_v5/錛屽洜涓烘搷浣滄楠ゅ拰鐗堟湰鐣ユ湁涓嶅悓錛屾墍浠ユ垜鍦ㄥ紶瀹寸殑鍩虹涓婄暐鍔犱慨鏀廣€?br /> <br /> <br /> <img src ="http://www.aygfsteel.com/liveandletdie/aggbug/312337.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/liveandletdie/" target="_blank">騫哥鏄妸娓╂殩鐨勬灙</a> 2010-02-08 16:11 <a href="http://www.aygfsteel.com/liveandletdie/articles/312337.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍦╨inux涓嬪畨瑁卻vn(鎽樺綍+鑷繁鐨勬€葷粨)http://www.aygfsteel.com/liveandletdie/articles/72484.html騫哥鏄妸娓╂殩鐨勬灙騫哥鏄妸娓╂殩鐨勬灙Thu, 28 Sep 2006 02:18:00 GMThttp://www.aygfsteel.com/liveandletdie/articles/72484.htmlhttp://www.aygfsteel.com/liveandletdie/comments/72484.htmlhttp://www.aygfsteel.com/liveandletdie/articles/72484.html#Feedback2http://www.aygfsteel.com/liveandletdie/comments/commentRss/72484.htmlhttp://www.aygfsteel.com/liveandletdie/services/trackbacks/72484.html1.涓嬭澆subversion鍜宎pache鐨勬渶鏂皊rc鍖?br />2. 鏂板緩涓€涓敤鎴鳳細svnroot ,浠ヤ笅鎿嶄綔闈炵壒鍒鏄庣殕涓簉oot鐢ㄦ埛鎿嶄綔
#groupadd svn
#useradd svnroot -g svn
#passwd svn
3. 緙栬瘧瀹夎httpd錛?br />//瑙e帇apache2瀹夎鍖?br /># tar xvzf httpd-2.2.3.tar.tar
//榪涘叆瑙e帇鍚庣殑鐩綍
# cd httpd-2.2.3
//閰嶇疆apache瀹夎
# ./configure --enable-dav --enable-so --prefix=/usr/local/apache2/
# make
//瀹夎
# make install
//鍚姩apache鏈嶅姟
# /usr/local/apache2/bin/apachectl start
//鎵撳紑嫻忚鍣?a href="http://localhost/">http://localhost/濡傛灉鏈夋祴璇曢〉"It works!"鍑虹幇鍒欒瘉鏄庡凡緇忓畨瑁呮垚鍔熴€?br />聽聽
4. 瀹夎Subversion
//瑙e帇SubVersion瀹夎鍖?br />聽# tar xvzf Subversion-1.4.0.tar.gz
//榪涘叆瑙e帇鍚庣殑鐩綍
# cd Subversion-1.4.0
//閰嶇疆subversion瀹夎
#./configure --with-apxs=/usr/local/apache2/bin/apxs --prefix=/usr/local/subversion --with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2 --with-ssl --with-zlib --enable-maintainer-mode
# make
//瀹夎
# make install
//鍒涘緩搴撴枃浠舵墍鍦ㄧ殑鐩綍 (svnroot鐢ㄦ埛榪涜涓嬮潰鐨勬搷浣?
# mkdir /home/svnroot/repository
//鍒涘緩浠撳簱"test"
# /usr/local/subversion/bin/svnadmin create /home/svnroot/repository/test
//鏌ョ湅svn鏄惁瀹夎鎴愬姛
#聽 /usr/local/subversion/bin/svnadmin --version
//涓嶈鍏朵粬浜烘湁璇ョ洰褰曠殑鏉冮檺
# chmod 700 /home/svnroot/repository
聽(svnroot鐢ㄦ埛鎿嶄綔緇撴潫)

5. 淇敼Apache閰嶇疆鏂囦歡
# vi /usr/local/apache2/conf/httpd.conf
聽聽 //鎵懼埌涓嬪垪璇彞,濡傛灉娌℃湁鍒欒嚜琛屾坊鍔?br />聽聽 LoadModule dav_svn_module modules/mod_dav_svn.so
聽聽 LoadModule authz_svn_module modules/mod_authz_svn.so聽
聽 //鍦ㄥ悗闈㈡坊鍔犅?br />聽聽 <Location /svn>
聽聽 DAV svn
聽聽 SVNParentPath /home/svnroot/repository/ //svn鐖剁洰褰?
聽聽 AuthzSVNAccessFile /home/svnroot/repository/authz.conf //鏉冮檺閰嶇疆鏂囦歡
聽聽 AuthType Basic //榪炴帴綾誨瀷璁劇疆
聽聽 AuthName "Subversion.zoneyump" //榪炴帴妗嗘彁紺?
聽聽 AuthUserFile /home/svnroot/repository/authfile //鐢ㄦ埛閰嶇疆鏂囦歡
聽聽 Require valid-user //閲囩敤浣曠璁よ瘉
聽聽 </Location>

//閲嶅惎apache
聽# /usr/local/apache2/bin/apachectl restart
//鎵撳紑嫻忚鍣ㄨ闂?a href="http://localhost/svn/test/">http://localhost/svn/test/錛屽鏋滄湁涓滆タ鏄劇ず灝辮鏄庢垚鍔熴€?br />聽聽
6. 鏉冮檺綆$悊
1)澧炲姞鐢ㄦ埛
# htpasswd -c /home/svnroot/repository/authfile 鐢ㄦ埛鍚?br />//絎竴嬈¤緗敤鎴鋒椂浣跨敤-c琛ㄧず鏂板緩涓€涓敤鎴鋒枃浠躲€傚洖杞﹀悗杈撳叆鐢ㄦ埛瀵嗙爜錛屽畬鎴愬鐢ㄦ埛鐨勫鍔?br /># htpasswd聽 /home/svnroot/repository/authfile 鐢ㄦ埛鍚?鍔犲叆鏂扮殑鐢ㄦ埛,灝變笉鐢?c浜?

2)鏉冮檺鍒嗛厤
# vi /home/svnroot/repository/authz.conf聽
聽[groups]
admin=useradmin
devteamcs = useradmin,user1,user2//榪欓噷瀹氫箟浜嗕竴涓敤鎴風粍
[/]//瀵規墍鏈夌殑欏圭洰,鎵€鏈夌殑鐢ㄦ埛閮芥湁璇繪潈闄?admin鐢ㄦ埛鏈夎鍐欐潈闄?br />@admin = rw
* = r
[test:/]//瀵箃est欏圭洰,
@devteamcs = rw
//聽鍦?/usr/local/apache2/conf/httpd.conf 鏂囦歡涓厤緗紝鎵懼埌鏂囦歡涓殑榪欎袱琛岋細
User daemon
Group daemon
聽// 灝哾aemon鏀逛負svnroot錛岀粍涔熷仛鐩稿簲鏇存敼,璁゛pache榪涚▼浠vnroot鐨勮韓浠借繍琛?
//鏀瑰畬鍚庢槸榪欎釜鏍峰瓙
User svnroot
Group svn
//閲嶅惎apache
聽聽# /usr/local/apache2/bin/apachectl restart
璁塊棶http://localhost/svn/test ,鐜板湪闇€瑕佽韓浠介獙璇?涓旈€氳繃楠岃瘉鍚庡簲璇ュ彲浠ョ湅鍒頒俊鎭?br />聽琛ュ厖:鍦▁p鐨勭幆澧冧笅,濡傛灉浣犺繍琛岀潃鍗″反鏂熀,鍙兘浼氬鑷存棤娉曡闂畇vn,閫氬父浼氭姤400 Bad Request閿欒
瑙e喅鍔炴硶鏄?榪涘叆鍗″反鏂熀鐨勮緗?->緗戠粶璁劇疆--->绔彛璁劇疆,鐒跺悗浠庣鍙e垪琛ㄤ腑鍘繪帀80绔彛鍗沖彲
鍐嶆琛ュ厖:eclipse鏈塻vn鐨勬彃浠?subclipse,瀹夎璺緞涓?http://subclipse.tigris.org/update



]]>
CVS鏈嶅姟鍦╨inux涓嬬殑閰嶇疆錛堝紩鐢紜閮ㄥ垎淇敼,鏉ユ簮錛氳禌榪妧鏈鍧涳級http://www.aygfsteel.com/liveandletdie/articles/32275.html騫哥鏄妸娓╂殩鐨勬灙騫哥鏄妸娓╂殩鐨勬灙Fri, 24 Feb 2006 03:47:00 GMThttp://www.aygfsteel.com/liveandletdie/articles/32275.htmlhttp://www.aygfsteel.com/liveandletdie/comments/32275.htmlhttp://www.aygfsteel.com/liveandletdie/articles/32275.html#Feedback0http://www.aygfsteel.com/liveandletdie/comments/commentRss/32275.htmlhttp://www.aygfsteel.com/liveandletdie/services/trackbacks/32275.html

1:寤虹珛cvs鐢ㄦ埛緇?

groupadd cvs



2.寤虹珛cvs緇勭殑cvsroot鐢ㄦ埛鍜屾墍灞炵殑鐩綍

useradd -g cvs -G cvs -d /home/cvsroot cvsroot



3:涓篶vsroot鐢ㄦ埛娣誨姞瀵嗙爜

passwd cvsroot



4:鏀瑰彉/home/cvsroot鐨勭洰褰曞睘鎬?

chmod 775 /home/cvsroot



5:鍒濆鍖朿vs婧愮爜搴?姝ゆ搷浣滅敓鎴愮洰褰?home/cvsroot/CVSROOT,鍏朵笅涓轟竴浜涘垵濮嬪寲鏂囦歡

cvs -d /home/cvsroot init



6.鍔犲叆cvs鏈嶅姟(濡傛灉緙虹渷灝辨湁cvs鏈嶅姟,鍙互涓嶇敤鍔?

vi /etc/services
cvspserver 2401/tcp #pserver cvs service
cvspserver 2401/udp #pserver cvs service

7.鍔犲叆CVSROOT鐜鍙橀噺              

CVSROOT=/home/cvsroot/CVSROOT;export CVSROOT

8.鍦▁inetd.d鐩綍涓嬫坊鍔犻渶瑕佸惎鍔ㄧ殑鏈嶅姟:

cd /etc/xinetd.d
vi cvspserver


鏂囦歡鍐呭:

service cvspserver
{
socket_type = stream
wait = no
user = root
env = HOME=
server = /usr/bin/cvs
server_args = --allow-root=/home/cvsroot pserver
}


(榪欎釜鍜屽師鏈夎鏄庣暐鏈夊尯鍒紝env鐨勮緗笉鍚?

9.閲嶆柊鍚姩inetd鎴栬€厁inetd:

/etc/rc.d/init.d/xinetd restart



10.媯€鏌vspserver鏈嶅姟鏄惁宸茬粡鍚姩

netstat -l |grep cvspserver


鍑虹幇涓嬮潰瀛楀彞琛ㄧず鍚姩鎴愬姛

tcp        0      0 *:cvspserver            *:*                     LISTEN 

11.鎵ц鐧誨綍錛屽鏋滆緭鍏ュ瘑鐮佸悗娌℃湁鍝嶅簲鍒欒鏄庨厤緗垚鍔?BR>cvs -d :pserver:cvsroot@host:/home/cvsroot login


]]>
主站蜘蛛池模板: 理塘县| 平乡县| 芦山县| 县级市| 广西| 丰镇市| 铜梁县| 富顺县| 眉山市| 广丰县| 宜兴市| 论坛| 高平市| 始兴县| 凤阳县| 琼海市| 凤城市| 昌都县| 遂溪县| 湘潭市| 江源县| 裕民县| 苏州市| 长兴县| 三门峡市| 东丰县| 时尚| 会昌县| 宿松县| 沅江市| 田林县| 安阳县| 岳西县| 巧家县| 东乌| 宁陵县| 炉霍县| 新宾| 临汾市| 临潭县| 松滋市|