<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TheUnical Technologies Blog &#187; CVS</title>
	<atom:link href="http://blog.theunical.com/tag/cvs/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.theunical.com</link>
	<description>TheUnical Technologies Official Blog</description>
	<lastBuildDate>Fri, 27 Jan 2012 05:48:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to install CVS/CVSNT server on RHEL /CentOS</title>
		<link>http://blog.theunical.com/linux/my-nerd-stuff-howto-install-cvscvsnt-server-on-rhelcentos/</link>
		<comments>http://blog.theunical.com/linux/my-nerd-stuff-howto-install-cvscvsnt-server-on-rhelcentos/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 07:06:47 +0000</pubDate>
		<dc:creator>Steven Wall</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[CentOs]]></category>
		<category><![CDATA[CVS]]></category>
		<category><![CDATA[RHEL]]></category>

		<guid isPermaLink="false">http://blog.theunical.com/linux/my-nerd-stuff-howto-install-cvscvsnt-server-on-rhelcentos/</guid>
		<description><![CDATA[First you&#8217;ll have to check /etc/services for the definitions of the CVS used TCP ports : grep -i cvs /etc/services cvspserver 2401/tcp # CVS client/server operations cvspserver 2401/udp # CVS client/server operations Then you&#8217;ll have to install either CVS package either CVSNT package : yum install cvs or rpm -ivh cvsnt-2.5.04.3510-rh9-rpm.tar.gz Now, set up users [...]]]></description>
			<content:encoded><![CDATA[<p>First you&#8217;ll have to check /etc/services for the definitions of the CVS used TCP ports :</p>
<p><code>grep -i cvs /etc/services<br />
cvspserver      2401/tcp                        # CVS client/server operations<br />
cvspserver      2401/udp                        # CVS client/server operations<br />
</code><br />
Then you&#8217;ll have to install either CVS package either CVSNT package :<br />
<code>yum install cvs<br />
or<br />
rpm -ivh cvsnt-2.5.04.3510-rh9-rpm.tar.gz</code><br />
Now, set up users that will access the CVS server :<br />
<code>vim /etc/passwd<br />
vim /etc/shadow</code><br />
Then, setup a folder for the CVS data. I usually put this on an NFS share which is on a filer so that data is backuped and you have snapshots of it :<br />
<code>mkdir /home/cvsrepo<br />
cvs -d /home/cvsrepo init<br />
chgrp GID /home/cvsrepo (according to what you did in the /etc/passwd)<br />
chmod g+w /home/cvsrepo<br />
</code><br />
Now add the CVSROOT environement variable to all the users needed :<br />
<code><br />
echo "export CVSROOT=/home/cvsrepo" &gt;&gt; /root/.bashrc<br />
echo "export CVSROOT=/home/cvsrepo" &gt;&gt; /home/userXXX/.bashrc<br />
</code><br />
Now time for setup the CVS server. It will be launched by Xinetd, so check you have it running on your system. It is running default on CentOS5, RHEL5, Suse, &#8230;<br />
<code>/etc/init.d/xinetd status</code><br />
It&#8217;s Xinetd who will launch CVS each time a client is asking. This is configured in the /etc/xinetd.d folder; you&#8217;ll have to add a file like this one :<br />
<code>cat /etc/xinetd.d/cvspserver<br />
service cvspserver<br />
{<br />
disable = no<br />
socket_type = stream<br />
wait = no<br />
user = root<br />
group = systeme<br />
log_type = FILE /var/log/cvspserver<br />
protocol = tcp<br />
env = '$HOME=/usr/local/cvspserver'<br />
log_on_failure += USERID<br />
port = 2401<br />
server = /usr/bin/cvs<br />
server_args = -f --allow-root=/home/cvsrepo pserver<br />
}<br />
</code></p>
<p>Now restart you xinetd, and check you /var/log/messages that your new rule cvspserver has been loaded :<br />
<code>/etc/init.d/xinetd restart<br />
cat /var/log/messages<br />
</code><br />
Everything is now ok, your CVS server is up. Supposing you created a user named &#8216;user1&#8242; on the cvs server named &#8216;cvsserver&#8217; here is the CVSROOT you&#8217;ll have to use either on UNIX systems, either on Windows with TortoiseCVS or another CVs client :<br />
<code>CVSROOT=:pserver:user1@cvsserver:/home/cvsrepo</code><br />
For security reasons, it&#8217;s possible to create CVS ONLY users. For that, go to the CVS folder and CVSROOT then. At this place there is a &#8220;CVS local passwd&#8221; alose named passwd. To add users able only to access the CVS and no the entire system, use htpasswd command or perl scripts :<br />
<code>htpasswd passwd user3</code></p>
<p>Have fun !</p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
]]></content:encoded>
			<wfw:commentRss>http://blog.theunical.com/linux/my-nerd-stuff-howto-install-cvscvsnt-server-on-rhelcentos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>configure CVS connection</title>
		<link>http://blog.theunical.com/cvs/configure-cvs-connection/</link>
		<comments>http://blog.theunical.com/cvs/configure-cvs-connection/#comments</comments>
		<pubDate>Sun, 29 Jun 2008 12:43:00 +0000</pubDate>
		<dc:creator>Steven Wall</dc:creator>
				<category><![CDATA[CVS]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[NetBeans]]></category>

		<guid isPermaLink="false">http://rachasatish.wordpress.com/2008/06/29/configure-cvs-connection/</guid>
		<description><![CDATA[How do I configure CVS connection settings? You can specify connection settings in the Checkout wizard. Settings are persistently stored. For example, to check out NetBeans sources, choose Versioning &#62; Checkout (or Versioning &#62; CVS &#62; Checkout) from the main menu and use :pserver:anoncvs@cvs.netbeans.org:/cvs with empty password for anonymous checkout. Alternatively use your own NetBeans.org [...]]]></description>
			<content:encoded><![CDATA[<div class="Section1">
<h3><b><span style="font-family:Arial;font-size:130%;"><span style="font-size:13px;">How do I <span class="searchword">configure</span> <span class="searchword">CVS</span> connection settings?</span></span></b></h3>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Arial;font-size:85%;"><span style="font-size:10px;">You can specify connection settings in the Checkout wizard.      Settings are persistently stored.</span></span></li>
</ul>
<p><span style="font-family:Times New Roman;font-size:100%;"><span style="font-size:12px;">For example, to <a href="http://www.netbeans.org/community/sources/cvs.html">check out <span class="searchword">NetBeans</span> sources</a>, choose Versioning &gt; Checkout (or Versioning &gt; <span class="searchword">CVS</span> &gt; Checkout) from the main menu and use </span></span><tt><span style="font-family:Courier New;font-size:85%;"><span style="font-size:10px;">:pserver:anon</span></span></tt><span class="searchword"><span style="font-family:Courier New;font-size:85%;"><span style="font-family:&quot;font-size:10px;">cvs</span></span></span><tt><span style="font-family:Courier New;font-size:85%;"><span style="font-size:10px;">@</span></span></tt><span class="searchword"><span style="font-family:Courier New;font-size:85%;"><span style="font-family:&quot;font-size:10px;">cvs</span></span></span><tt><span style="font-family:Courier New;font-size:85%;"><span style="font-size:10px;">.</span></span></tt><span class="searchword"><span style="font-family:Courier New;font-size:85%;"><span style="font-family:&quot;font-size:10px;">netbeans</span></span></span><tt><span style="font-family:Courier New;font-size:85%;"><span style="font-size:10px;">.org:/</span></span></tt><span class="searchword"><span style="font-family:Courier New;font-size:85%;"><span style="font-family:&quot;font-size:10px;">cvs</span></span></span> with empty password for anonymous checkout. Alternatively use your own <a href="http://www.netbeans.org/"><span class="searchword">NetBeans</span>.org</a> login and password instead of <tt><span style="font-family:Courier New;font-size:85%;"><span style="font-size:10px;">anon</span></span></tt><span class="searchword"><span style="font-family:Courier New;font-size:85%;"><span style="font-family:&quot;font-size:10px;">cvs</span></span></span>.</p>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Arial;font-size:85%;"><span style="font-size:10px;">Otherwise, the IDE uses automatic configuration detection (probing      common <span class="searchword">cvs</span> setup files). Open the Favorites      window, and right-click to add and open an existing repository directory.      If the <span class="searchword">cvs</span> session fails, the IDE shows the      connection configuration dialog so you can change the settings (e.g. <span class="searchword">configure</span> a proxy).</span></span></li>
</ul>
<div style="color:0 0 windowtext;border-style:none none solid;padding:0 0 1pt;">
<p style="border:medium none;padding:0;"><span style="font-family:Times New Roman;font-size:100%;"><span style="font-size:12px;">Applies to: <span class="searchword">NetBeans</span> 6.x, 5.x</span></span></p>
</p></div>
<p class="MsoNormal"><span style="font-family:Arial;font-size:85%;color:green;"><span style="font-size:10px;color:green;"> </span></span></p>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.theunical.com/cvs/configure-cvs-connection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

