« Fixing “Error: window.location.refresh is not a function” | Home | Setting up a HTTP Gateway on Ubuntu 10.04 »
Setting up a Subversion server using Apache on Ubuntu
By admin | August 9, 2010
Subversion is an excellent open-source solution for keeping track of the different versions while developing software. Here, we will see how to set up a subversion server on an Ubuntu 10.04 LTS Server to provide programmers with the ability to use Subversion.
Prerequisities
Apache 2 should have already been installed and configured with SSL – if not, see the Ubuntu Server Guide for more details. Install the packages subversion and libapache2-svn:
sudo apt-get install subversion libapache2-svn
Setting up
- Create a home for the Subversion files:
sudo mkdir -p /var/svn
- Open up /etc/apache2/mods-available/dav_svn.conf in your favourite text editor of choice, and add the following text at the bottom (ignore anything already there):
<Location /svn> DAV svn SVNParentPath /var/svn SVNListParentPath On AuthType Basic AuthName "Subversion Repository" AuthUserFile /etc/subversion/passwd <LimitExcept GET PROPFIND OPTIONS REPORT> Require valid-user </LimitExcept> </Location> - Add a user to the Subversion – if you don’t, you may end up with strange errors like “svn: Server sent unexpected return value (500 Internal Server Error) in response to MKACTIVITY request” when trying to commit.
sudo htpasswd -c /etc/subversion/passwd admin
It will prompt for a password – just give it something.
- You’re good to go – although without any projects the server won’t have anything to commit to. Add a project to the server:
sudo mkdir -p /var/svn/project sudo svnadmin create /var/svn/project
Results/Errors
svn commit -m nomsg test1 test2 --username=root --password=top_secret_root_password_here
svn: Commit failed (details follow): svn: Server sent unexpected return value (500 Internal Server Error) in response to MKACTIVITY request for '/svn/project/!svn/act/53aca034-c64b-5b41-8bf4- 2715d91af049'
This error is because you do not have a valid login passed to the server, although it could use a much, much more descriptive message than “Internal Server Error”. Remember the login is not the Unix login, but instead the login created with htpassed.
svn commit -m nomsg test01 test02 --user name=admin --password=password_createdby_htpasswd_here
Adding test01 Adding test02 Committed revision 1.
If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!
Topics: Internet, Linux | 1,013 Comments »

March 13th, 2026 at 08:29
ขอบคุณสำหรับบทความดี ๆ ครับ ถ้าใครกำลังมองหาบริการจัดดอกไม้งานศพ ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี ๆ ครับ
Feel free to visit my webpage; ร้านพวงหรีดวัดธรรมมงคล
March 13th, 2026 at 10:35
ชอบแนวคิดที่แชร์ไว้ในบทความนี้ครับ ถ้าใครกำลังมองหาผู้ให้บริการตกแต่งงานศพ ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี ๆ ครับ
Feel free tto vvisit my homepage: ราคาพวงหรีดดอกไม้สด
March 13th, 2026 at 11:15
ชอบแนวคิดที่แชร์ไว้ในบทความนี้ครับ ถ้าใครกำลังมองหาร้านจัดดอกไม้งานศพ ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี ๆ ครับ
Feel free to surf to my blog post พวงหรีดกรุงเทพ
March 13th, 2026 at 12:13
ชอบแนวคิดที่แชร์ไว้ในบทความนี้ครับ
ถ้าใครกำลังมองหาบริการจัดดอกไม้งานศพ
ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี
ๆ ครับ
My web-site สั่งพวงหรีดผ้าขาวม้า
March 13th, 2026 at 15:39
บทความนี้ให้ข้อมูลมีประโยชน์มากครับ ถ้าใครกำลังมองหาร้านจัดดอกไม้งานศพ ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี ๆ ครับ
my web blog … พวงหรีด วัดดอนเมือง
March 13th, 2026 at 15:50
ขอบคุณสำหรับบทความดี ๆ ครับ ถ้าใครกำลังมองหาผู้ให้บริการตกแต่งงานศพ ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี ๆ ครับ
Feeel free to visit my web-site – พวงหรีด ดอกไม้สด
March 13th, 2026 at 16:24
ขอบคุณสำหรับบทความดี ๆ ครับ
ถ้าใครกำลังมองหาบริการจัดดอกไม้งานศพ ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี ๆ
ครับ
My web site :: ร้านพวงหรีดกรุงเทพ
March 13th, 2026 at 17:03
ขอบคุณสำหรับบทความดี ๆ ครับ ถ้าใครกำลังมองหาผู้ให้บริการตกแต่งงานศพ ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี ๆ
ครับ
Here is my website :: Raymond
March 13th, 2026 at 18:55
ขอบคุณสำหรับบทความดี ๆ
ครับ ถ้าใครกำลังมองหาร้านจัดดอกไม้งานศพ
ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี ๆ
ครับ
Also visijt my web page Aorest
March 13th, 2026 at 19:59
ชอบแนวคิดที่แชร์ไว้ในบทความนี้ครับ ถ้าใครกำลังมองหาร้านจัดดอกไม้งานศพ ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี
ๆ ครับ
Feel free tto visit myy webb bblog :: Kelle
March 17th, 2026 at 15:21
ขอบคุณสำหรับบทความดี ๆ ครับ
ถ้าใครกำลังมองหาบริการจัดดอกไม้งานศพ
ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี ๆ ครับ
Here iis my blog ราคาพวงหรีดดอกไม้สด
March 17th, 2026 at 16:51
ขอบคุณสำหรับบทความดี ๆ ครับ ถ้าใครกำลังมองหาบริการจัดดอกไม้งานศพ ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี ๆ ครับ
Look into my blog – พวงหรีดกระดาษสา ออนไลน์
March 17th, 2026 at 18:10
ชอบแนวคิดที่แชร์ไว้ในบทความนี้ครับ ถ้าใครกำลังมองหาผู้ให้บริการตกแต่งงานศพ ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี ๆ ครับ
Here is my webpage – Aorest