Test All Gadget, Z3X BOX Samsung, Miracle Box, Smart Phone Flash Tool, Stock ROMs, Android Tool, apps, Data Plans Internet

Selasa, 02 September 2008

Install and configure CVS on Solaris 10

Install and configure CVS on Solaris 10 - discussing about technology is my hobby, with media blogs Test All Gadget we can share the knowledge of technology that continues to grow with various ways of use that is intended to simplify your life, now we will discuss first about that in your search that is Install and configure CVS on Solaris 10 please refer to our explanation because we will try to make a complete article for you.

Articles : Install and configure CVS on Solaris 10
full Link : Install and configure CVS on Solaris 10

You can also see our article on:


Install and configure CVS on Solaris 10

Download the appropriate binary from
http://www.nongnu.org/cvs

# create a "cvs" user. This user will be used to impersonate cvs' users

$ mkdir  /export/home/cvsroot
$ useradd -d /home/cvs -c "CVS Owner" cvs
# create the CVS repository
$ cvs -d /path_to_repository
#Add the following to /etc/services
cvspserver 2401/tcp # CVS Client/server operations
cvspserver 2401/udp # CVS Client/server operations
#Place this following line in a file called "cvs_inetd"
cvspserver stream tcp nowait root /path_to_cvs_executable -f \
--allow-root=/path_to_cvs_repository pserver

# import the service into smf
$ inetconv -f -i ./cvs_inetd
cvspserver -> /var/svc/manifest/network/cvspserver-tcp.xml
Importing cvspserver-tcp.xml …Done
#Add the following lines to /var/svc/profile/inetd_services.xml
<service name='network/cvspserver-tcp' version='1' type='service'>
<instance name='default' enabled='true'/>
</service>
#Restart the network
$ svcadm restart svc:/network/inetd:default

You'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



enough already articles Install and configure CVS on Solaris 10

hopefully the information Install and configure CVS on Solaris 10 that we submit on this blog can be useful for your life and all the people who visit this blog.

you just finished reading the article with the title Install and configure CVS on Solaris 10 if you intend to bookmark or shre please use the link https://testallforone.blogspot.com/2008/09/install-and-configure-cvs-on-solaris-10.html and do not visit other pages on this blog because it still sangant a lot of information about gadgets from the old to the latest.

Tag :
Share on Facebook
Share on Twitter
Share on Google+
Tags :

Related : Install and configure CVS on Solaris 10

0 komentar:

Posting Komentar