Red gadget news, Xiaomi Mi, Video & Photo Gallery Unboxing, Android KitKat, Lava iris, Specifications & Picures, Falcon Box, Full Device Specs & Price, Android Jelly Bean, stock firmware samsung

Install and configure CVS on Solaris 10

Install and configure CVS on Solaris 10 - We've built this blog Red Gadget News a few years ago, in my busy time now I still try to keep updating the information on this blog for you seekers of information about the latest gadget technology, now we're discussing first about us Install and configure CVS on Solaris 10 has gathered a lot of information to make this article so that the news that you give complete, please see:

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



information Install and configure CVS on Solaris 10 has been discussed

hopefully the information titled Install and configure CVS on Solaris 10 this can be useful for you in answering questions you submit via google.

you just finished reading the article titled Install and configure CVS on Solaris 10 if you intend to bookmark or share it to others please use the link https://redzuanifaliyana.blogspot.com/2008/09/install-and-configure-cvs-on-solaris-10.html and thank you.

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

Related : Install and configure CVS on Solaris 10

0 komentar:

Posting Komentar