Hi Todd and Bob,
Thanks a lot for the help you offered me toward setting up CVS repository.I
think it is set up in our system.I would be really thankful if you further
guide me in Using CVS.I wanted to tell you what I did to make the Repository
projectdir which contains CVS and mydate on workstation and mydate on
cvs_server.I have even made clear of certain questions which were unanswered in
my previous mails.
as root on the cvs_server:
edit /etc/group and add a group for your cvs work, i.e. add a line similar to
the one of the following:
users:x:100:sadia,user1,user2,user3
sadiascvsgroup:x:800:sadia,user1,user2,user3,userN
chown sadia:sadiascvsgroup /appl/src/cvs/
then as sadia on cvs_server:cd /appl/src/cvs/ mkdir JavaApplpwd #assumption it
returns /appl/src/cvs/export CVSROOT=/appl/src/cvs/JavaApplcvs init<root on
cvs_server ,set the foll permissions>mkdir JavaAppl/projectdirchown
:sadiascvsgroup JavaAppl/projectdirchmod g+rws JavaAppl/projectdir#you'll want
to tighten up security on the following directory later.chown :sadiascvsgroup
JavaAppl/CVSROOTchmod g+rws JavaAppl/CVSROOT
then as sadia on a_workstation:export
CVSROOT=:ext:cvs_server:/appl/src/cvs/JavaApplexport CVS_RSH=sshcvs checkout
projectdirdate > projectdir/mydate /*cd projectdir*/cvs add mydate
cvs commit -m"a comment" mydate
OUTPUT AFTER cvs commit:RCS file:
/appl/src/cvs/JavaAppl/projectdir/mydate,vdoneChecking in
mydate;/appl/src/cvs/JavaAppl/projectdir/mydate,v <-- mydateinitial revision:
1.1done
[EMAIL PROTECTED] ~]$ ls -ld ~/projectdir/drwxr-xr-x 3 sadia users 4096 Mar 17
2008 /users/sadia/projectdir/[EMAIL PROTECTED] ls -l ~/projectdir/total
16drwxr-xr-x 2 sadia users 4096 Mar 17 2008 CVS-rw-r--r-- 1 sadia users 29
Mar 17 2008 mydate
<sadia said>
As I have no idea using CVS,Could be more elaborate on what the users should do
to start working on the projects.Could you please guide me as a user in
starting and working on projects using CVS.What should I do after the following
4 commands on terminals to get started working using CVS
as user1 on another_workstation:export
CVSROOT=:ext:cvs_server:/appl/src/cvs/JavaApplexport CVS_RSH=sshcvs checkout
projectdir
Changes I made:
I haven't changed the permissions ,so I made root only do the chown and chmod
I changed into the projectdir on workstation and user sadia to type
cvs add and cvs commit commands
To retain the change even on the server side ,so that every time I log in I do
not have to make any changes.
<todd said>
If you are using NIS/LDAP then all the clients have the same user names,
passwords and groups.
But you have not indicated that the systems are using NIS/LDAP or independent
user authentication/authorization configurations.
</todd said>
<sadia said>
I AM NOT USING NIS/LDAP ,SORRY FOR MY PREVIOUS MAIL.I AM USING NFS AND EACH
USER HAS AN INDEPENDANT USER AUTHENTICATION TO ACCESS THE SYSTEMS IN
NETWORK.THERE ARE 4 RHL SYSTEMS(1 server and 3 clients) CONNECTED IN NETWORK
AND
THERE IS SUN GRID CLUSTER SOFTWARE INSTALLED .
I would like to get your support and help for further working of projects on
CVS.
Thank you
Sadia
____________________________________________________________________________________
OMG, Sweet deal for Yahoo! users/friends:Get A Month of Blockbuster Total
Access, No Cost. W00t
http://tc.deals.yahoo.com/tc/blockbuster/text2.com