Thanks a lot for the help you offered me toward setting up CVS repository.I think it is set up in our system.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
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:
chown sadia:sadiascvsgroup /appl/src/cvs/
then as sadia on cvs_server:
pwd #assumption it returns /appl/src/cvs/
<root on cvs_server ,set the foll permissions>
chown :sadiascvsgroup JavaAppl/projectdir
chmod g+rws JavaAppl/projectdir
#you'll want to tighten up security on the following directory later.
chown :sadiascvsgroup JavaAppl/CVSROOT
chmod g+rws JavaAppl/CVSROOT
then as sadia on a_workstation:
cvs checkout projectdir
date > 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,v
Checking in mydate;
/appl/src/cvs/JavaAppl/projectdir/mydate,v <-- mydate
initial revision: 1.1
address@hidden ~]$ ls -ld ~/projectdir/
drwxr-xr-x 3 sadia users 4096 Mar 17 2008 /users/sadia/projectdir/
address@hidden ls -l ~/projectdir/
drwxr-xr-x 2 sadia users 4096 Mar 17 2008 CVS
-rw-r--r-- 1 sadia users 29 Mar 17 2008 mydate
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:
cvs 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.
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.
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.