<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3747899589980995719</id><updated>2011-11-27T16:24:37.216-08:00</updated><title type='text'>Linux Eyes</title><subtitle type='html'>Free and Open Source World</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linuxeyes.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3747899589980995719/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://linuxeyes.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sasikala P A</name><uri>http://www.blogger.com/profile/15737183149058777271</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3747899589980995719.post-7124174599449467373</id><published>2007-07-18T02:16:00.000-07:00</published><updated>2007-07-18T02:47:09.082-07:00</updated><title type='text'>Subversion Quick Start Guide</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Subversion&lt;/span&gt; is one of the prominent FLOSS(Free/Libre Open Source Software) Version Control System, which is very much superior to CVS. It has a nice set of powerful command-line tools through which developers can interact with the source repository.  There are also GUI(Graphical Interface) Tools like kdeSVN, NaughtySVN, eSVN, TortoiseSVN for interacting with the repository.&lt;br /&gt;&lt;br /&gt;Here is a simple step-by-step configuration guide that may help you to set up a subversion repository for your development projects.&lt;br /&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;u&gt;&lt;b&gt;Step 1:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;Make sure that the latest version of subversion is installed in your server. Use rpm command in Fedora/CentOS/RHEL and apt-get in Debian/Ubuntu.&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Luxi Mono;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;# yum install subversion&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Luxi Mono;"&gt;&lt;span style="font-size:85%;"&gt;or&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Luxi Mono;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;# apt-get install subversion.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Luxi Mono;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:times new roman;"&gt;You can also install subversion from source. For detailed instructions on compiling and installing subversion, refer the subversion home page(The link is given at the bottom of this page).&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Luxi Mono;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;u&gt;&lt;b&gt;Step 2:&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;Create a new Repository with the following command:&lt;br /&gt;&lt;span style="font-family:Luxi Mono;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;# svnadmin create /home/svn/linuxeyes&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Step 3:&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;   &lt;p style="margin-bottom: 0in; font-style: normal;"&gt;Edit the &lt;i&gt;/home/svn/call_centre/conf/svnserve.conf&lt;/i&gt;&lt;br /&gt;and enable the following lines :&lt;/p&gt;     &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Luxi Mono;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;[general]&lt;br /&gt;password-db = passwd&lt;br /&gt;realm = Linuxeyes Repository&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Step 4:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;Edit the file &lt;i&gt;/home/svn/linuxeyes/conf/passwd&lt;/i&gt; and add the following lines:&lt;/p&gt;  &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Luxi Mono;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;[users]&lt;br /&gt;manoj=manoj&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;      &lt;p style="margin-bottom: 0in;"&gt;You can add as many users in the format USERNAME=PASSWORD. The passwords are not encrypted.&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;u&gt;&lt;b&gt;Step 5:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;Set a text editor as the default SVN editor:&lt;br /&gt;&lt;span style="font-family:Luxi Mono;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;# export SVN_EDITOR=vi&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;Now that your Repository and authentication  schemes are set, you need to import the development source tree to the server. You can use the file protocol or the SVN protocol to import the files. If you need to make the repository available in a network then you have to set up the &lt;b&gt;&lt;i&gt;svnserve&lt;/i&gt;&lt;/b&gt;. Issue the command:&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Luxi Mono;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;# svnserve -d -r /home/svn/&lt;/b&gt; &lt;/span&gt;&lt;/span&gt; &lt;/p&gt;   &lt;p style="margin-bottom: 0in;"&gt;This will run the svn server in daemon mode.&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;u&gt;&lt;b&gt;Step 6:&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0in;"&gt;You can now import the source tree with the following command:&lt;/p&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="font-family:Luxi Mono;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;$  svn import linuxeyes svn://192.168.0.250/linuxeyes --username manoj&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;Here “linuxeyes” is the orginal source tree.&lt;/p&gt;  &lt;p style="margin-bottom: 0in;"&gt;You can also use the file protocol to import the tree.&lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Luxi Mono;"&gt;# svn import linuxeyes &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;a href="http://lal.bizhat.com/svn/call_centre"&gt;&lt;b&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Luxi Mono;"&gt;file:///home/svn/linuxeyes&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Step 7:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;You can checkout the source by using the command:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Luxi Mono;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;$ svn checkout svn://192.168.0.250/linuxeyes&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0in;"&gt;More help can be obtained by using the command : svn help&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Luxi Mono;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;$ svn help&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;span style="font-weight: bold;"&gt;Resources:&lt;/span&gt;  &lt;p style="margin-bottom: 0in;"&gt;Subversion Homepage: &lt;a href="http://subversion.tigris.org/"&gt;http://subversion.tigris.org/&lt;/a&gt;&lt;/p&gt;Subversion Book: http://svnbook.red-bean.com/&lt;br /&gt;&lt;br /&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-weight: bold;"&gt;P.S&lt;/span&gt;: I am now preparing a detailed documentation on setting up a secure subversion repository using HTTPS/SSH. I will post it here once the it's completed.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3747899589980995719-7124174599449467373?l=linuxeyes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxeyes.blogspot.com/feeds/7124174599449467373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3747899589980995719&amp;postID=7124174599449467373' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3747899589980995719/posts/default/7124174599449467373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3747899589980995719/posts/default/7124174599449467373'/><link rel='alternate' type='text/html' href='http://linuxeyes.blogspot.com/2007/07/subversion-quick-start-guide.html' title='Subversion Quick Start Guide'/><author><name>Sasikala P A</name><uri>http://www.blogger.com/profile/15737183149058777271</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry></feed>
