1 / 6

CVS Client/Server

CVS Client/Server. CVS (GNU CVS) Open source Cross-platform Designed as a client/server application Remote access Client cvs: uses rsh or ssh to establish a session to the remote server, issues CVS command and request Server cvs: sends the results back to the requestor (client)

bevis-pugh
Download Presentation

CVS Client/Server

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CVS Client/Server • CVS (GNU CVS) • Open source • Cross-platform • Designed as a client/server application • Remote access • Client cvs: uses rsh or ssh to establish a session to the remote server, issues CVS command and request • Server cvs: sends the results back to the requestor (client) • Any platform • “Server” • No CVS server daemon running on a machine dedicated as CVS server !!!

  2. CVS Client-Server Architecture SCS AFS SCS NFS flora SCS pubs • /afs/slac/g/cd/soft/cvs (repository) • /afs/slac/g/cd/soft/ref (reference) • /usr/local/bin/cvs slcsun1 LAVC esdslx02 (Linux) /usr/local/bin/cvs NT VMS UNIX • CVS “Server” • any public UNIX machines • access to AFS or/and NFS • (CVS respository , reference) • /usr/local/bin/cvs available • slcsun1 • meets such requirements • in our control (easy management, security) • memory consumption estimate needed • a dedicated CVS server • CVS Client • any machines • Unix, VMS, NT… • CVS available • an example • esdslx02 (linux) • /usr/local/bin/cvs rsh or ssh

  3. An Example CVS Clinet : esdslx02 CVS “Server”: slcsun1 • Connecting with RSH • Verify if rsh works • # rsh -l jingchen slcsun1 'echo $PATH‘ • …/u/cd/jingchen/bin:/usr/local/bin:/usr/afsws/bin… • Remote CVS via rsh • # cvs -d :ext:slcsun1:/afs/slac/g/cd/soft/slaconly/cvs checkout script • cvs server: Updating script • Connecting with SSH • Verify if rsh is disabled • # rsh slcsun1 ls • permission denied • Remote CVS via ssh • # setenv CVS_RSH ssh • # cvs -d :ext:slcsun1:/afs/slac/g/cd/soft/slaconly/cvs checkout script • Connecting with RSH • Enable RSH • # cat /etc/inetd.conf • shell stream tcp nowait root /usr/etc/tcpd /usr/sbin/in.rshd • # cat .rhosts • esdslx02.slac.stanford.edu jingchen • Verify if CVS is available • # which cvs • /usr/local/bin/cvs • No need to start a CVS server daemon! • CVS repository accessible via AFS • # ls /afs/slac/g/cd/soft/slaconly/cvs • Connecting with SSH • Disable RSH • # mv .rhosts .rhosts.old

  4. CVS Client on VMS • Tests done: • Made SSH2 available • Enabled RSH • CVS server on UNIX • No particular requirement (or setup) • access to AFS or/and NFS (CVS respository , reference) /usr/local/bin/cvs available • A test: linux (client) -> slcsun1 (server) working!!! • Conclusion: • SSH no longer an issue! • Server is OK! • KenB in progress “… the VMS side will work. The AFS token is another issue. We need to set up an account, if we can, that does not have a token expiration …”

  5. CVS Client on NT • Test with Netbean (Greg) • A simple test • From NT command line (DOS) • Software: ComponentSoftware CVS for Windows • http://www.componentsoftware.com/products/cvs/ • Setup and test

More Related