{"id":1232,"date":"2011-07-10T12:44:50","date_gmt":"2011-07-10T04:44:50","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=1232"},"modified":"2023-06-24T18:37:43","modified_gmt":"2023-06-24T18:37:43","slug":"how-to-install-subversion-1-6-17-on-centos-5-5-server","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-install-subversion-1-6-17-on-centos-5-5-server\/","title":{"rendered":"How to Install Subversion 1.6.17 on CentOS 5.5 Server"},"content":{"rendered":"<p>Subversion, an open-source version control system, is a crucial tool for managing files and tracking changes made to them. This guide will walk you through the process of installing Subversion 1.6.17 on a CentOS 5.5 server. This version was released on June 1, 2011. If you have Subversion 1.6.16 installed, you can easily upgrade to 1.6.17. However, it&#8217;s important to back up your repository before performing a manual upgrade, which involves uninstalling the old version and installing the new one.<\/p>\n<p>Before we begin, you should have the Apache Httpd Web Server installed on your Linux system. If you haven&#8217;t done so yet, you can follow this guide on <a href=\"https:\/\/webhostinggeeks.com\/blog\/apache-http-server-explained\/\">Apache<\/a>.<\/p>\n<h2>Step-by-Step Guide to Install Subversion 1.6.17 on CentOS 5.5 Server<\/h2>\n<h3>Step 1: Download the Subversion RPM Packages<\/h3>\n<p>First, you need to download the latest Subversion RPM packages. You can do this by running the following command in your server&#8217;s terminal:<\/p>\n<pre>\r\nwget http:\/\/opensource.wandisco.com\/centos\/5\/RPMS\/i386\/mod_dav_svn-1.6.17-1.i386.rpm http:\/\/opensource.wandisco.com\/centos\/5\/RPMS\/i386\/subversion-1.6.17-1.i386.rpm http:\/\/opensource.wandisco.com\/centos\/5\/RPMS\/i386\/subversion-devel-1.6.17-1.i386.rpm http:\/\/opensource.wandisco.com\/centos\/5\/RPMS\/i386\/subversion-perl-1.6.17-1.i386.rpm http:\/\/opensource.wandisco.com\/centos\/5\/RPMS\/i386\/subversion-python-1.6.17-1.i386.rpm http:\/\/opensource.wandisco.com\/centos\/5\/RPMS\/i386\/subversion-tools-1.6.17-1.i386.rpm\r\n<\/pre>\n<p>This command will download six RPM packages from the Wandisco open-source repository. These packages include the main Subversion package, the mod_dav_svn module, and several Subversion development and utility packages.<\/p>\n<pre>\r\n--2011-07-09 22:43:25-- http:\/\/opensource.wandisco.com\/centos\/5\/RPMS\/i386\/mod_dav_svn-1.6.17-1.i386.rpm\r\nResolving opensource.wandisco.com... 212.7.198.163\r\nConnecting to opensource.wandisco.com|212.7.198.163|:80... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 80073 (78K) [application\/x-redhat-package-manager]\r\nSaving to: `mod_dav_svn-1.6.17-1.i386.rpm'\r\n\r\n100%[================================================&gt;] 80,073 37.3K\/s in 2.1s\r\n\r\n2011-07-09 22:43:28 (37.3 KB\/s) - `mod_dav_svn-1.6.17-1.i386.rpm' saved [80073\/80073]\r\n\r\n--2011-07-09 22:43:28-- http:\/\/opensource.wandisco.com\/centos\/5\/RPMS\/i386\/subversion-1.6.17-1.i386.rpm\r\nReusing existing connection to opensource.wandisco.com:80.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 2197278 (2.1M) [application\/x-redhat-package-manager]\r\nSaving to: `subversion-1.6.17-1.i386.rpm'\r\n\r\n100%[================================================&gt;] 2,197,278 9.69K\/s in 2m 50s\r\n\r\n2011-07-09 22:46:18 (12.6 KB\/s) - `subversion-1.6.17-1.i386.rpm' saved [2197278\/2197278]\r\n\r\n--2011-07-09 22:46:18-- http:\/\/opensource.wandisco.com\/centos\/5\/RPMS\/i386\/subversion-devel-1.6.17-1.i386.rpm\r\nReusing existing connection to opensource.wandisco.com:80.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 3413350 (3.3M) [application\/x-redhat-package-manager]\r\nSaving to: `subversion-devel-1.6.17-1.i386.rpm'\r\n\r\n100%[================================================&gt;] 3,413,350 11.1K\/s in 5m 18s\r\n\r\n2011-07-09 22:51:37 (10.5 KB\/s) - `subversion-devel-1.6.17-1.i386.rpm' saved [3413350\/3413350]\r\n\r\n--2011-07-09 22:51:37-- http:\/\/opensource.wandisco.com\/centos\/5\/RPMS\/i386\/subversion-perl-1.6.17-1.i386.rpm\r\nReusing existing connection to opensource.wandisco.com:80.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 1106258 (1.1M) [application\/x-redhat-package-manager]\r\nSaving to: `subversion-perl-1.6.17-1.i386.rpm'\r\n\r\n100%[================================================&gt;] 1,106,258 9.18K\/s in 2m 4s\r\n\r\n2011-07-09 22:53:42 (8.71 KB\/s) - `subversion-perl-1.6.17-1.i386.rpm' saved [1106258\/1106258]\r\n\r\n--2011-07-09 22:53:42-- http:\/\/opensource.wandisco.com\/centos\/5\/RPMS\/i386\/subversion-python-1.6.17-1.i386.rpm\r\nReusing existing connection to opensource.wandisco.com:80.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 1289255 (1.2M) [application\/x-redhat-package-manager]\r\nSaving to: `subversion-python-1.6.17-1.i386.rpm'\r\n\r\n100%[================================================&gt;] 1,289,255 7.12K\/s in 2m 26s\r\n\r\n2011-07-09 22:56:08 (8.60 KB\/s) - `subversion-python-1.6.17-1.i386.rpm' saved [1289255\/1289255]\r\n\r\n--2011-07-09 22:56:08-- http:\/\/opensource.wandisco.com\/centos\/5\/RPMS\/i386\/subversion-tools-1.6.17-1.i386.rpm\r\nReusing existing connection to opensource.wandisco.com:80.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 392647 (383K) [application\/x-redhat-package-manager]\r\nSaving to: `subversion-tools-1.6.17-1.i386.rpm'\r\n\r\n100%[================================================&gt;] 392,647 14.4K\/s in 34s\r\n\r\n2011-07-09 22:56:43 (11.3 KB\/s) - `subversion-tools-1.6.17-1.i386.rpm' saved [392647\/392647]\r\n\r\nFINISHED --2011-07-09 22:56:43--\r\nDownloaded: 6 files, 8.1M in 13m 15s (10.4 KB\/s)\r\n<\/pre>\n<h3>Step 2: Install the Subversion RPM Packages<\/h3>\n<p>After downloading the packages, you can install them using the RPM package manager. Run the following command to install the packages:<\/p>\n<pre>\r\nrpm -Uvh mod_dav_svn-1.6.17-1.i386.rpm subversion-tools-1.6.17-1.i386.rpm subversion-python-1.6.17-1.i386.rpm subversion-perl-1.6.17-1.i386.rpm subversion-devel-1.6.17-1.i386.rpm subversion-1.6.17-1.i386.rpm\r\n<\/pre>\n<p>This command will install all the downloaded packages on your server. The &#8216;-Uvh&#8217; option tells RPM to upgrade the packages, print hash marks (&#8216;#&#8217;) as the installation progresses (the &#8216;v&#8217; stands for &#8216;verbose&#8217;), and display the status of the installation (the &#8216;h&#8217; stands for &#8216;hash&#8217;).<\/p>\n<pre>\r\n[root@server ~]# rpm -Uvh mod_dav_svn-1.6.17-1.i386.rpm subversion-tools-1.6.17-1.i386.rpm subversion-python-1.6.17-1.i386.rpm subversion-perl-1.6.17-1.i386.rpm subversion-devel-1.6.17-1.i386.rpm subversion-1.6.17-1.i386.rpm\r\nwarning: mod_dav_svn-1.6.17-1.i386.rpm: Header V4 DSA signature: NOKEY, key ID 3bbf077a\r\nPreparing... ########################################### [100%]\r\n1:subversion ########################################### [ 17%]\r\n2:subversion-devel ########################################### [ 33%]\r\n3:subversion-perl ########################################### [ 50%]\r\n4:mod_dav_svn ########################################### [ 67%]\r\n5:subversion-tools ########################################### [ 83%]\r\n6:subversion-python ########################################### [100%]\r\n<\/pre>\n<h3>Step 3: Verify the Subversion Installation<\/h3>\n<p>After installing the packages, you should verify that Subversion has been installed correctly. You can do this by checking the version of Subversion installed on your server. Run the following command to check the Subversion version:<\/p>\n<pre>\r\nsvn --version\r\n<\/pre>\n<p>This commandwill display the version of Subversion installed on your server. If the installation was successful, the output should display &#8216;svn, version 1.6.17&#8217;.<\/p>\n<pre>[root@server ~]# svn --version\r\nsvn, version 1.6.17\r\n   compiled Jan 15 2011, 23:26:01\r\n\r\nCopyright (C) 2000-2009 CollabNet.\r\nSubversion is open source software, see http:\/\/subversion.apache.org\/\r\nThis product includes software developed by CollabNet (http:\/\/www.Collab.Net\/).\r\n\r\nThe following repository access (RA) modules are available:\r\n\r\n* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.\r\n  - handles 'http' scheme\r\n* ra_svn : Module for accessing a repository using the svn network protocol.\r\n  - handles 'svn' scheme\r\n* ra_local : Module for accessing a repository on local disk.\r\n  - handles 'file' scheme\r\n* ra_serf : Module for accessing a repository via WebDAV protocol using serf.\r\n  - handles 'http' scheme\r\n  - handles 'https' scheme\r\n<\/pre>\n<h2>Commands Mentioned<\/h2>\n<ul>\n<li><span class=\"fw-bold\">wget<\/span> \u2013 This command is used to download files from the internet. In this context, it is used to download the RPM packages for Subversion.<\/li>\n<li><span class=\"fw-bold\">rpm -Uvh<\/span> \u2013 This command is used to install or upgrade packages on your server. The &#8216;-Uvh&#8217; option tells RPM to upgrade the packages, print hash marks as the installation progresses, and display the status of the installation.<\/li>\n<li><span class=\"fw-bold\">svn &#8211;version<\/span> \u2013 This command is used to check the version of Subversion installed on your server.<\/li>\n<\/ul>\n<h2>Conclusion<\/h2>\n<p>Installing Subversion on a CentOS 5.5 server involves downloading the necessary RPM packages, installing them, and verifying the installation. This process allows you to take advantage of Subversion&#8217;s powerful version control capabilities, making it easier to manage files and track changes. Remember to back up your repository before performing a manual upgrade to prevent data loss.<\/p>\n<p>By following this guide, you can ensure that you have the latest version of Subversion installed on your server. This will allow you to manage your files more effectively and collaborate with others more efficiently.<\/p>\n<p>Whether you&#8217;re running a <a href=\"https:\/\/webhostinggeeks.com\/best\/web-server\/\">top-tier web server<\/a>, an <a href=\"https:\/\/webhostinggeeks.com\/blog\/apache-http-server-explained\/\">Apache<\/a>, <a href=\"https:\/\/webhostinggeeks.com\/blog\/nginx-server-explained\/\">Nginx<\/a>, or <a href=\"https:\/\/webhostinggeeks.com\/blog\/litespeed-web-server-explained\/\">LiteSpeed<\/a> server, or hosting on a <a href=\"https:\/\/webhostinggeeks.com\/blog\/what-is-dedicated-server-hosting\/\">dedicated<\/a>, <a href=\"https:\/\/webhostinggeeks.com\/blog\/what-is-vps-hosting\/\">VPS<\/a>, <a href=\"https:\/\/webhostinggeeks.com\/blog\/what-is-cloud-hosting\/\">cloud<\/a>, or <a href=\"https:\/\/webhostinggeeks.com\/blog\/what-is-shared-hosting\/\">shared server<\/a>, understanding how to install and upgrade essential tools like Subversion is a crucial skill for any webmaster or website administrator.<\/p>\n<p>By mastering these skills, you can ensure that your server is always equipped with the latest tools, helping you to manage your files more effectively and keep your website running smoothly.<\/p>\n<h2>FAQ<\/h2>\n<ol itemscope itemtype=\"https:\/\/schema.org\/FAQPage\">\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">What is Subversion and why is it important?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">Subversion is an open-source version control system. It is important because it manages files and tracks changes made to them, allowing developers to keep track of their work and collaborate more effectively.<\/span>\n            <\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">What does the &#8216;rpm -Uvh&#8217; command do?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">The &#8216;rpm -Uvh&#8217; command is used to install or upgrade packages on your server. The &#8216;-Uvh&#8217; option tells RPM to upgrade the packages, print hash marks as the installation progresses, and display the status of the installation.<\/span>\n            <\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">How can I verify the installation of Subversion?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">You can verify the installation of Subversion by checking the version installed on your server. This can be done by running the &#8216;svn &#8211;version&#8217; command in the terminal.<\/span>\n            <\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">What is the purpose of the &#8216;wget&#8217; command in this context?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">In this context, the &#8216;wget&#8217; command is used to download the RPM packages for Subversion from the internet.<\/span>\n            <\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">What should I do before upgrading to a new version of Subversion?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">Before upgrading to a new version of Subversion, it&#8217;s important to back up your repository. This ensures that you don&#8217;t lose any data if something goes wrong during the upgrade process.<\/span>\n            <\/p>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Subversion, an open-source version control system, is a crucial tool for managing files and tracking changes made to them. This guide will walk you through the process of installing Subversion&#8230;<\/p>\n","protected":false},"author":6,"featured_media":349,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[1060],"tags":[1246,1536,1811],"class_list":["post-1232","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-subversion","tag-centos-5-5","tag-linux","tag-subversion"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/1232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=1232"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/1232\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/349"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=1232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=1232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=1232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}