you're looking for: New Install and configure CVS on Solaris 10 By Gamzeozgesaroglu
complete information: New Install and configure CVS on Solaris 10 By Gamzeozgesaroglu
Artikel freeware, Artikel sample code, Artikel tips and tricks,
New Install and configure CVS on Solaris 10 By Gamzeozgesaroglu
Download the appropriate binary fromhttp://www.nongnu.org/cvs
# create a "cvs" user. This user will be used to impersonate cvs' users
$ mkdir /export/home/cvsroot# create the CVS repository
$ useradd -d /home/cvs -c "CVS Owner" cvs
$ cvs -d /path_to_repository#Add the following to /etc/services
cvspserver 2401/tcp # CVS Client/server operations#Place this following line in a file called "cvs_inetd"
cvspserver 2401/udp # CVS Client/server operations
cvspserver stream tcp nowait root /path_to_cvs_executable -f \# import the service into smf
--allow-root=/path_to_cvs_repository pserver
$ inetconv -f -i ./cvs_inetd#Add the following lines to /var/svc/profile/inetd_services.xml
cvspserver -> /var/svc/manifest/network/cvspserver-tcp.xml
Importing cvspserver-tcp.xml …Done
<service name='network/cvspserver-tcp' version='1' type='service'>#Restart the network
<instance name='default' enabled='true'/>
</service>
$ svcadm restart svc:/network/inetd:defaultYou're done. Your pserver should be listening on port 2401
#Script to create cvs users
#!/usr/bin/perl
$cvsroot="/path_to_cvs_root";
$user = shift @ARGV || die "cvspasswd user\n";
print "Enter password for $user: ";
system "stty -echo";
chomp ($plain = <>);
system "stty echo";
print "\n";
@chars = ('A'..'Z', 'a'..'z', '0'..'9');
$salt = $chars[rand(@chars)] . $chars[rand(@chars)];
$passwd = crypt($plain, $salt);
open(PASSWD,">>$cvsroot/CVSROOT/passwd") || die("Cannot Open File");
print PASSWD "$user:$passwd:cvs\n";
close PASSWD;
#-End
$ perl createcvspasswd.pl your_cvs_user
Articles New Install and configure CVS on Solaris 10 By Gamzeozgesaroglu we have presented
That's all the information about the New Install and configure CVS on Solaris 10 By Gamzeozgesaroglu, hopefully can provide benefits to all of you in finding information latest gadgets, how to care for gadgets, tips and tricks mobile phone.
Thank you for reading the article New Install and configure CVS on Solaris 10 By Gamzeozgesaroglu and its url of this article is https://gamzeozgesaroglu.blogspot.com/2008/09/new-install-and-configure-cvs-on.html o you to bookmark and you can go back if you need :), I hope the article this can be useful for you all.
0 Response to "New Install and configure CVS on Solaris 10 By Gamzeozgesaroglu"
Post a Comment