diff -r ec3047e1dadc -r f8f8b4018381 doc/manual.docbook --- a/doc/manual.docbook Tue Nov 10 11:03:21 2009 +0000 +++ b/doc/manual.docbook Tue Nov 10 11:04:06 2009 +0000 @@ -38,31 +38,17 @@ Key Authentication tutorial may be helpful.
-Installing mercurial-server +Initial access to mercurial-server In what follows, we assume that your username is jay, that you usually sit at a machine called -spoon and you wish to -install mercurial-server on jeeves. We assume that you have created your SSH public key, set up your SSH agent with this key, and that this key gives you access to spoon and you have +installed mercurial-server on jeeves using the package management system (see the README for more on installation). We assume that you have created your SSH public key, set up your SSH agent with this key, and that this key gives you access to jeeves. -First install mercurial-server on jeeves: -jay@spoon:~$ scp mercurial-server_0.6.1_amd64.deb jeeves: -mercurial-server_0.6.1_amd64.deb 100% -jay@spoon:~$ ssh -A jeeves -jay@jeeves:~$ sudo dpkg -i mercurial-server_0.7_amd64.deb -[sudo] password for jay: -Selecting previously deselected package mercurial-server. -(Reading database ... 144805 files and directories currently installed.) -Unpacking mercurial-server (from .../mercurial-server_0.7_amd64.deb) ... -Setting up mercurial-server (0.7) ... -jay@jeeves:~$ - -mercurial-server is now installed on the repository host. Next, we need to give you permission to access its repositories. - -jay@jeeves:~$ ssh-add -L > my-key +jay@spoon:~$ ssh -A jeeves +jay@jeeves:~$ ssh-add -L > my-key jay@jeeves:~$ sudo mkdir -p /etc/mercurial-server/keys/root/jay jay@jeeves:~$ sudo cp my-key /etc/mercurial-server/keys/root/jay/spoon jay@jeeves:~$ sudo -u hg /usr/share/mercurial-server/refresh-auth