Neo's Blog

首頁 相本 討論 書籤

分類目錄
本站日誌 (51)
碎碎唸啦 (173)
網站架設 (84)
程式設計 (161)
軟體使用 (69)
電子商務 (126)
經營奇想 (48)
基金理財 (11)
聰明消費 (87)
電影心得 (47)
開放原碼 (16)
工作記錄 (2)
毛毛小記 (9)
就是不同 (2)




歷史資料
 




July 20, 2004
Subversion 安裝注意事項

Subversion 是一套比 CVS 還要好用的版本控管軟體,在 Windows 上的安裝說實在比 *Unix 上簡單太多了。本篇僅介紹 *unix 安裝 Subversion 的重點。

在 *Unix 安裝 Subversoin ,先到官方網站把所有的套件都裝好之後,記得要把 svn 的資料目錄 Owner 設為 apache ,範例指令如下:

# chown /usr/local/svn apache:apache -R

(如果新增一個 Repository 時,也記得同樣要把 Owner 指定給 apache,否則可能會出現 Could not open the requested SVN filesystem)

如果不能讀寫,記得要把權限設為 755

# chown 755 /usr/local/svn -R

這是比較容易忽略掉的地方,這樣大概就能保證 subversion 能正常執行了,如果還跑不起來,就檢查一下 Apache 的 httpd.conf 設定 svn 路徑正不正確,範例如下:

<Location /svn>
  DAV svn
  SVNParentPath /usr/local/svn
</Location>

[相關網址]

Subversion 官方網站
http://subversion.tigris.org/

Subversion 電子書繁體中文版
http://freebsd.sinica.edu.tw/~plasma/svnbook/


Subversion for Windows 安裝指南
http://huanlin.dyndns.org/techshare/viewArticle.action?articleID=2004061303

Subversion 0.22 on freebsd (中文)
http://plasma.z6i.org/archives/000933.html

 
由 Neo 發表於 July 20, 2004 05:08 PM 收進你的MyShare個人書籤  

您好:
請問您在UNIX上安裝的Subversion是Pre-compiled的版本嗎?因為我在官方網站上都找不到For UNIX的版本!如果您有的話,可否提供小弟下載網址或Email給我呢?謝謝!
※PS.我的UNIX是HP-UX 11.11 64bit版本...


James Huang 發表於 August 10, 2005 05:01 PM

這裡有 SourceCode,可以下載回去自己 Complie 囉。
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74


Neo 發表於 August 10, 2005 09:02 PM

My environment is fedora core 3.

I get apache 2.0.55
#./configure --enable-dav --enable-so --enable-maintainer-mode
#make
#make install

I get subversion 1.2.3 ,for rebuild and install.
#./configure --with-apxs=/usr/local/apache2/bin/apxs
#make ; make install

Follow the steps as following...

(1)add something into /usr/local/apache2/conf/httpd.conf
LoadModule dav_svn_module modules/mod_dav_svn.so


DAV svn
SVNPath /home/mysvn


(2)
#svnadmin create /home/mysvn
#chown –R nobody /home/mysvn

(3)start the apache2 server
apachectl start

And finally using the browser for checking...
http://localhost/svn/repository/

IT CANNOT WOK~~~ >_< always fails!

Who could give me a hand???
Thanks a lot!

===
You could also mail to
yuyuyuyu176@yahoo.com.tw


YU 發表於 December 1, 2005 11:22 AM

(1)
Error Message is
"Could not open the requested SVN filesystem"

(2)
As the suggestion,I modify the owner of the SVN repository directory to apache,
It still fails... >_<

Any ideas???


YU 發表於 December 1, 2005 11:26 AM
發表迴響  
(*星號開頭為必填欄位)











(請輸入您看到的數字,看不到請按右鍵->顯示圖片)


記住我的資訊?







Copyright 2005 Neo's Blog All rights reserved.