« 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 | 314 Comments »

December 5th, 2025 at 05:12
เป็นประโยชน์สุดๆ โดยเฉพาะเรื่อง supercar tuning
ผมเองก็ใช้อู่ อู่ซ่อมรถซุปเปอร์คาร์ อยู่เหมือนกัน งานเขา ประณีต จริงๆ
ใครมีรถซุปเปอร์คาร์ลองดูบริการแนวนี้ได้เลยครับ
December 5th, 2025 at 05:27
ขอบคุณสำหรับบทความดีๆ
โดยเฉพาะเรื่อง iqos thailand
ผมเอง สนใจในด้านเทคโนโลยีของอุปกรณ์ประเภทนี้
ยังต้องติดตามด้านข้อกฎหมายต่อไป
December 5th, 2025 at 05:28
ดีมากครับอ่านแล้วเข้าใจขึ้นเยอะ
โดยเฉพาะเรื่อง การพูดคุยเกี่ยวกับอุปกรณ์ทำความร้อนยาสูบ
ผมเอง สนใจในด้านเทคโนโลยีของอุปกรณ์ประเภทนี้
ขอศึกษาข้อมูลไปก่อนในตอนนี้ครับ
Feel free to visit my blog … terea iqos
December 5th, 2025 at 05:55
ดีมากครับอ่านแล้วเข้าใจขึ้นเยอะ
โดยเฉพาะเรื่อง ความเปลี่ยนแปลงของตลาด heated tobaqcco
ผมเอง ติดตามข่าวสารของหลายประเทศเกี่ยวกับอุปกรณ์แบบนี้
หวังว่าอนาคตจะมีข้อมูลอย่างเป็นทางการมากขึ้น
my blog post … iqos iluma
December 5th, 2025 at 06:14
ขอบคุณสำหรับบทความดีๆ
โดยเฉพาะเรื่อง iqos thaiuland
ผมเอง ติดตามข่าวสารของหลายประเทศเกี่ยวกับอุปกรณ์แบบนี้
ยังต้องติดตามด้านข้อกฎหมายต่อไป
My homepage … iqos terea
December 5th, 2025 at 06:16
ดีมากครับอ่านแล้วเข้าใจขึ้นเยอะ
โดยเฉพาะเรื่อง ความเปลี่ยนแปลงของตลาด heated tobacco
ผมเอง ก็เคยหาข้อมูลไว้เหมือนกัน
ขอศึกษาข้อมูลไปก่อนในตอนนี้ครับ
Also visit my site terea iqos
December 5th, 2025 at 06:34
ดีมากครับอ่านแล้วเข้าใจขึ้นเยอะ
โดยเฉพาะเรื่อง iqos thailand
ผมเอง สนใจในด้านเทคโนโลยีของอุปกรณ์ประเภทนี้
ยังต้องติดตามด้านข้อกฎหมายต่อไป
Also visit my web blog … iqos terea
December 5th, 2025 at 06:43
ขอบคุณสำหรับบทความดีๆ
โดยเฉพาะเรื่อง ความเปลี่ยนแปลงของตลาด heated tobacco
ผมเอง สนใจในด้านเทคโนโลยีของอุปกรณ์ประเภทนี้
ขอศึกษาข้อมูลไปก่อนในตอนนี้ครับ
My log post iqos iluma
December 5th, 2025 at 06:44
ขอบคุณสำหรับบทความดีๆ
โดยเฉพาะเรื่อง การพูดคุยเกี่ยวกับอุปกรณ์ทำความร้อนยาสูบ
ผมเอง สนใจในด้านเทคโนโลยีของอุปกรณ์ประเภทนี้
ยังต้องติดตามด้านข้อกฎหมายต่อไป
Also visit my web-site iqos thailand
December 5th, 2025 at 06:44
ขอบคุณสำหรับบทความดีๆ
โดยเฉพาะเรื่อง iqos thailand
ผมเอง ติดตามข่าวสารของหลายประเทศเกี่ยวกับอุปกรณ์แบบนี้
ขอศึกษาข้อมูลไปก่อนในตอนนี้ครับ
Look intoo my website … iqos iluma
December 5th, 2025 at 06:48
เป็นเนื้อหาที่ช่วยให้เห็นภาพชัดขึ้น
โดยเฉพาะเรื่อง การพูดคุยเกี่ยวกับอุปกรณ์ทำความร้อนยาสูบ
ผมเอง ติดตามข่าวสารของหลายประเทศเกี่ยวกับอุปกรณ์แบบนี้
ขอศึกษาข้อมูลไปก่อนในตอนนี้ครับ
Review my web site :: iqos terea
December 5th, 2025 at 06:49
ขอบคุณสำหรับบทความดีๆ
โดยเฉพาะเรื่อง iqos thailand
ผมเอง ติดตามข่าวสารของหลายประเทศเกี่ยวกับอุปกรณ์แบบนี้
ยังต้องติดตามด้านข้อกฎหมายต่อไป
Feel free to visit my webpage :: iqos terea
December 5th, 2025 at 06:52
ขอบคุณสำหรับบทความดีๆ
โดยเฉพาะเรื่อง การพูดคุยเกี่ยวกับอุปกรณ์ทำความร้อนยาสูบ
ผมเอง ติดตามข่าวสารของหลายประเทศเกี่ยวกับอุปกรณ์แบบนี้
ยังต้องติดตามด้านข้อกฎหมายต่อไป
Have a look at my page … iqos iluma
December 5th, 2025 at 07:00
ดีมากครับอ่านแล้วเข้าใจขึ้นเยอะ
โดยเฉพาะเรื่อง iqos thailand
ผมเอง สนใจในด้านเทคโนโลยีของอุปกรณ์ประเภทนี้
หวังว่าอนาคตจะมีข้อมูลอย่างเป็นทางการมากขึ้น
Also visit my web site; iqos iluma