mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-01-18 17:02:35 +00:00
[svn r5727] *** empty log message ***
This commit is contained in:
parent
13acfbf1f2
commit
b0ac926413
@ -95,21 +95,21 @@ this page.</a> The cvs machine itself is a Linux box, and some of the
|
|||||||
commands you need to use involve typing at the command line on that machine,
|
commands you need to use involve typing at the command line on that machine,
|
||||||
so some familiarity with Unix/Linux will make you feel more at home.
|
so some familiarity with Unix/Linux will make you feel more at home.
|
||||||
|
|
||||||
<p>The CVS repository is on a machine called cvs.survex.com, so you need to get
|
<p>The CVS repository is on a machine called cvs.cucc.survex.com, so you need to get
|
||||||
(from Mark Shinwell, at present) a username and password. If you are told
|
(from Mark Shinwell, at present) a username and password. If you are told
|
||||||
these via email, the first thing you will need to do is change the password,
|
these via email, the first thing you will need to do is change the password,
|
||||||
using ssh:<br>
|
using ssh:<br>
|
||||||
|
|
||||||
<TT>ssh <i>username</i>@cvs.survex.com passwd</TT>
|
<TT>ssh <i>username</i>@cvs.cucc.survex.com passwd</TT>
|
||||||
|
|
||||||
<p>(where <tt><i>username</i></tt> is the username given to you).
|
<p>(where <tt><i>username</i></tt> is the username given to you).
|
||||||
This command is in three parts: "ssh" says to open an encrypted connection
|
This command is in three parts: "ssh" says to open an encrypted connection
|
||||||
"<i>username</i>@cvs.survex.com" says which user on what machine to connect to,
|
"<i>username</i>@cvs.cucc.survex.com" says which user on what machine to connect to,
|
||||||
"passwd" is the command you are going to execute on that machine, as that user,
|
"passwd" is the command you are going to execute on that machine, as that user,
|
||||||
in this case a command to change your password.
|
in this case a command to change your password.
|
||||||
|
|
||||||
<p>this will ask for the existing password to open the connection to the cvs
|
<p>this will ask for the existing password to open the connection to the cvs
|
||||||
machine (this allows the "ssh <i>username</i>@cvs.survex.com" to happen), then
|
machine (this allows the "ssh <i>username</i>@cvs.cucc.survex.com" to happen), then
|
||||||
ask for it again (to validate the passwd command). Then you need to type
|
ask for it again (to validate the passwd command). Then you need to type
|
||||||
your new password twice (second time to confirm that you really typed what
|
your new password twice (second time to confirm that you really typed what
|
||||||
you thought the first time), and should then tell you that the password was
|
you thought the first time), and should then tell you that the password was
|
||||||
@ -141,22 +141,22 @@ just the user you will be when doing the CVS commands. Create a file
|
|||||||
~/.ssh/config containing the lines<br>
|
~/.ssh/config containing the lines<br>
|
||||||
|
|
||||||
<TT># Make sure we use protocol 2 to avoid tedious password typing:<br>
|
<TT># Make sure we use protocol 2 to avoid tedious password typing:<br>
|
||||||
Host cvs.survex.com<br>
|
Host cvs.cucc.survex.com<br>
|
||||||
Protocol 2</TT>
|
Protocol 2</TT>
|
||||||
|
|
||||||
<p>Now copy the public key to the server. One thing that might trip you up is
|
<p>Now copy the public key to the server. One thing that might trip you up is
|
||||||
that the directory ~/.ssh may not exist on the remote machine. To create it
|
that the directory ~/.ssh may not exist on the remote machine. To create it
|
||||||
and copy the key:<br>
|
and copy the key:<br>
|
||||||
|
|
||||||
<TT>ssh <i>username</i>@cvs.survex.com mkdir ~/.ssh<br>
|
<TT>ssh <i>username</i>@cvs.cucc.survex.com mkdir ~/.ssh<br>
|
||||||
scp ~/.ssh/id_dsa.pub <i>username</i>@cvs.survex.com:.ssh/authorized_keys2<br>
|
scp ~/.ssh/id_dsa.pub <i>username</i>@cvs.cucc.survex.com:.ssh/authorized_keys2<br>
|
||||||
</TT>
|
</TT>
|
||||||
<p>(note the nasty American spelling here - easy to mistype if you're English)-:
|
<p>(note the nasty American spelling here - easy to mistype if you're English)-:
|
||||||
Those commands will ask for your password again, but that should be the last
|
Those commands will ask for your password again, but that should be the last
|
||||||
time you'll need to enter it on that machine. Having done all that, you
|
time you'll need to enter it on that machine. Having done all that, you
|
||||||
should now be able to do<br>
|
should now be able to do<br>
|
||||||
|
|
||||||
<TT>ssh cvs.survex.com</TT>
|
<TT>ssh cvs.cucc.survex.com</TT>
|
||||||
|
|
||||||
<p>without being asked for a password. That would get you a command line to do
|
<p>without being asked for a password. That would get you a command line to do
|
||||||
things on the cvs machine, but for most jobs, you only need to do CVS
|
things on the cvs machine, but for most jobs, you only need to do CVS
|
||||||
@ -166,11 +166,11 @@ commands on your own machine, so get out of that command line with<br>
|
|||||||
|
|
||||||
<p>To use the CVS commands on your local machine (for checking out pages
|
<p>To use the CVS commands on your local machine (for checking out pages
|
||||||
to edit and commiting them back) you need to tell cvs where the archive
|
to edit and commiting them back) you need to tell cvs where the archive
|
||||||
is. You can include a "-d <i>username</i>@cvs.survex.com:/export/cvs" with
|
is. You can include a "-d <i>username</i>@cvs.cucc.survex.com:/export/cvs" with
|
||||||
cvs commands (useful if you use cvs on more than one repository), but
|
cvs commands (useful if you use cvs on more than one repository), but
|
||||||
it is usually easier to add<br>
|
it is usually easier to add<br>
|
||||||
|
|
||||||
<TT>export CVSROOT=<i>username</i>@cvs.survex.com:/export/cvs</TT>
|
<TT>export CVSROOT=<i>username</i>@cvs.cucc.survex.com:/export/cvs</TT>
|
||||||
|
|
||||||
<p>to some script that will be executed before you want to use cvs. Easiest
|
<p>to some script that will be executed before you want to use cvs. Easiest
|
||||||
would usually be ~/.bashrc (assuming your default shell is bash). Also
|
would usually be ~/.bashrc (assuming your default shell is bash). Also
|
||||||
@ -308,7 +308,7 @@ a "?" are ones which cvs doesn't know about - maybe you haven't "cvs add"ed
|
|||||||
them yet.
|
them yet.
|
||||||
|
|
||||||
<H3>Updating the website</H3>
|
<H3>Updating the website</H3>
|
||||||
<p>Having commited any changes to the cvs tree, connect to cvs.survex.com via ssh and run the command /opt/expo/bin/www-update
|
<p>Having commited any changes to the cvs tree, connect to cvs.cucc.survex.com via ssh and run the command /opt/expo/bin/www-update
|
||||||
<p>Then use the command exit to log out.
|
<p>Then use the command exit to log out.
|
||||||
|
|
||||||
<H3>CVS documentation</H3>
|
<H3>CVS documentation</H3>
|
||||||
|
Loading…
Reference in New Issue
Block a user