{"id":433,"date":"2015-09-22T04:40:41","date_gmt":"2015-09-22T04:40:41","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/2015\/09\/22\/setup-svn-server-with-apache2-in-ubantu\/"},"modified":"2021-02-27T09:50:35","modified_gmt":"2021-02-27T09:50:35","slug":"setup-svn-server-with-apache2-in-ubantu","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/","title":{"rendered":"How to Setup SVN Server with Apache2 in Ubantu?"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3349 aligncenter\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/09\/setup-svn-server-with-apach.png\" alt=\"setup-svn-server-with-apache2-in-ubantu\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/09\/setup-svn-server-with-apach.png 600w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/09\/setup-svn-server-with-apach-300x200.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>This tutorial is to setup the SVNServer from base using Apache2 in Ubantu only.<\/p>\n<p>&gt; sudo apt-get update<\/p>\n<p>&gt; sudo apt-get install subversion apache2 libapache2-svn apache2-utils<\/p>\n<p>&gt; sudo addgroup subversion<\/p>\n<p>&gt; sudo mkdir \/home\/svn<\/p>\n<p>&gt; sudo chown -R www-data:subversion \/home\/svn<\/p>\n<p>&gt; sudo chmod -R g+ws \/home\/svn<\/p>\n<p>&gt; sudo svnadmin create \/home\/svn\/myWebsite<\/p>\n<p>sudo vim \/etc\/apache2\/mods-available\/dav_svn.conf<\/p>\n<p>&amp; add the following entry at the end of file.<\/p>\n<pre>&lt;Location \/svn\/myWebsite&gt; DAV svn SVNPath \/home\/svn\/myWebsite AuthType Basic AuthName \"myWebsite subversion Repository\" AuthUserFile \/etc\/subversion\/passwd &lt;LimitExcept GET PROPFIND OPTIONS REPORT&gt; Require valid-user &lt;\/LimitExcept&gt; &lt;\/Location&gt;<\/pre>\n<p>sudo htpasswd -c \/etc\/subversion\/passwd rajesh<\/p>\n<p>sudo chown -R www-data:subversion \/home\/svn\/myWebsite<\/p>\n<p>sudo chmod -R g+rws \/home\/svn\/myWebsite<\/p>\n<p>sudo \/etc\/init.d\/apache2 restart<\/p>\n<p>sudo htpasswd \/etc\/subversion\/passwd user1<\/p>\n<p>sudo \/etc\/init.d\/apache2 restart<\/p>\n<p>All DONE.<\/p>\n<p>Now you can access the SVN Server using&#8230;.<\/p>\n<p><a href=\"http:\/\/uvo12exe3iancqqq622.vm.cld.sr\/svn\/myWebsite\/\">http:\/\/uvo12exe3iancqqq622.vm.cld.sr\/svn\/myWebsite\/<\/a><\/p>\n<p>If you are still not able to open the url, that means you have IPtables services running and stopping you to access the server. For testing, you can stop the\u00a0<span style=\"color: #111111; font-family: Consolas, Monaco, Menlo, Courier, Verdana, sans-serif; font-size: 14px; line-height: 14px; background-color: #ededed;\">sudo ufw stop<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial is to setup the SVNServer from base using Apache2 in Ubantu only. &gt; sudo apt-get update &gt; sudo [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":3349,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[67],"tags":[590,1122,545,593,399,230,1474,1479,1478,395,1475,1477,1476,213,1341],"class_list":["post-433","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-application-web-servers","tag-apache2","tag-guide","tag-how","tag-process","tag-server","tag-setup","tag-setup-svn-server","tag-setup-svnserver-using-apache2-in-ubantu","tag-setup-the-svnserver","tag-svn","tag-svn-server-setup","tag-svn-server-setup-with-apache2","tag-svn-server-with-apache2","tag-tutorial","tag-ubantu"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Setup SVN Server with Apache2 in Ubantu? - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Setup SVN Server with Apache2 in Ubantu? - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"This tutorial is to setup the SVNServer from base using Apache2 in Ubantu only. &gt; sudo apt-get update &gt; sudo [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2015-09-22T04:40:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-27T09:50:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/09\/setup-svn-server-with-apach.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"scmgalaxy K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"scmgalaxy K\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/setup-svn-server-with-apache2-in-ubantu\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/setup-svn-server-with-apache2-in-ubantu\\\/\"},\"author\":{\"name\":\"scmgalaxy K\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"headline\":\"How to Setup SVN Server with Apache2 in Ubantu?\",\"datePublished\":\"2015-09-22T04:40:41+00:00\",\"dateModified\":\"2021-02-27T09:50:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/setup-svn-server-with-apache2-in-ubantu\\\/\"},\"wordCount\":180,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/setup-svn-server-with-apache2-in-ubantu\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2015\\\/09\\\/setup-svn-server-with-apach.png\",\"keywords\":[\"Apache2\",\"Guide\",\"How\",\"Process\",\"server\",\"Setup\",\"Setup SVN Server\",\"setup SVNServer using Apache2 in Ubantu\",\"setup the SVNServer\",\"SVN\",\"SVN Server Setup\",\"SVN Server Setup with Apache2\",\"SVN Server with Apache2\",\"Tutorial\",\"Ubantu\"],\"articleSection\":[\"App \\\/ Web Servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/setup-svn-server-with-apache2-in-ubantu\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/setup-svn-server-with-apache2-in-ubantu\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/setup-svn-server-with-apache2-in-ubantu\\\/\",\"name\":\"How to Setup SVN Server with Apache2 in Ubantu? - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/setup-svn-server-with-apache2-in-ubantu\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/setup-svn-server-with-apache2-in-ubantu\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2015\\\/09\\\/setup-svn-server-with-apach.png\",\"datePublished\":\"2015-09-22T04:40:41+00:00\",\"dateModified\":\"2021-02-27T09:50:35+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/setup-svn-server-with-apache2-in-ubantu\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/setup-svn-server-with-apache2-in-ubantu\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/setup-svn-server-with-apache2-in-ubantu\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2015\\\/09\\\/setup-svn-server-with-apach.png\",\"contentUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2015\\\/09\\\/setup-svn-server-with-apach.png\",\"width\":600,\"height\":400,\"caption\":\"setup-svn-server-with-apache2-in-ubantu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/setup-svn-server-with-apache2-in-ubantu\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Setup SVN Server with Apache2 in Ubantu?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\",\"name\":\"scmgalaxy K\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"caption\":\"scmgalaxy K\"},\"sameAs\":[\"http:\\\/\\\/www.DevOpsSchool.com\"],\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/scmgalaxy\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Setup SVN Server with Apache2 in Ubantu? - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/","og_locale":"en_US","og_type":"article","og_title":"How to Setup SVN Server with Apache2 in Ubantu? - scmGalaxy","og_description":"This tutorial is to setup the SVNServer from base using Apache2 in Ubantu only. &gt; sudo apt-get update &gt; sudo [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/","og_site_name":"scmGalaxy","article_published_time":"2015-09-22T04:40:41+00:00","article_modified_time":"2021-02-27T09:50:35+00:00","og_image":[{"width":600,"height":400,"url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/09\/setup-svn-server-with-apach.png","type":"image\/png"}],"author":"scmgalaxy K","twitter_card":"summary_large_image","twitter_misc":{"Written by":"scmgalaxy K","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/"},"author":{"name":"scmgalaxy K","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"headline":"How to Setup SVN Server with Apache2 in Ubantu?","datePublished":"2015-09-22T04:40:41+00:00","dateModified":"2021-02-27T09:50:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/"},"wordCount":180,"commentCount":0,"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/09\/setup-svn-server-with-apach.png","keywords":["Apache2","Guide","How","Process","server","Setup","Setup SVN Server","setup SVNServer using Apache2 in Ubantu","setup the SVNServer","SVN","SVN Server Setup","SVN Server Setup with Apache2","SVN Server with Apache2","Tutorial","Ubantu"],"articleSection":["App \/ Web Servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/","name":"How to Setup SVN Server with Apache2 in Ubantu? - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/#primaryimage"},"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/09\/setup-svn-server-with-apach.png","datePublished":"2015-09-22T04:40:41+00:00","dateModified":"2021-02-27T09:50:35+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/#primaryimage","url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/09\/setup-svn-server-with-apach.png","contentUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/09\/setup-svn-server-with-apach.png","width":600,"height":400,"caption":"setup-svn-server-with-apache2-in-ubantu"},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/setup-svn-server-with-apache2-in-ubantu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to Setup SVN Server with Apache2 in Ubantu?"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102","name":"scmgalaxy K","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","caption":"scmgalaxy K"},"sameAs":["http:\/\/www.DevOpsSchool.com"],"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/scmgalaxy\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=433"}],"version-history":[{"count":2,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/433\/revisions"}],"predecessor-version":[{"id":3351,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/433\/revisions\/3351"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media\/3349"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}