~/.login
) :
setenv CVSROOT :ext:yourlogin@forms4usall:/project/cs/iceberg/b/forms4usall/cvsroot setenv CVS_RSH sshIf you don't like using vi to enter log entries, also add the following line:
setenv CVSEDITOR emacsIf you haven't used CVS before, here are some references (anyone have better links?):
cvsroot/www
. Checkout the files to
the current directory using the command:
$ cvs co wwwThis will create a
www
directory in the current directory which
contains all the web files. Edit these files with your update and save. To
commit, run the following two commands in the www
directory:
$ cvs update $ cvs commitNOTE: you should always update before you commit, in case someone has changed the files since you checked them out.
IMPORTANT: The files stored in the cvs repository
(cvsroot/www
) are not the files that are accessible through the
web. You must ssh to forms4usall
or dwight
and run
the following script to update the files accessed by the webserver:
$ /project/cs/iceberg/b/forms4usall/webupdate
WARNING: Do NOT edit html files using MS Word, or I will personally
track you down and smack you! Have a nice day =)
$ ls ~/.sshIf you have
id_rsa
and id_rsa.pub
already, skip to the
next step. Otherwise, you need to generate a keypair:
$ ssh-keygen -t rsaAccept the default location for the key and enter no password.
authorized_keys2
file.
$ touch ~/.ssh/authorized_keys2 $ cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys2 $ chmod 600 ~/.ssh/authorized_keys2Now you should be able to ssh to other machines without typing your password and use cvs commands. (Note: this only works for machines using ssh2)
last modified on 7/13/2003 sjiang@cs