# HG changeset patch # User Paul Crowley # Date 1257851046 0 # Node ID f8f8b401838157497b1962da97795edc40f5fca5 # Parent ec3047e1dadc23440dacf9c93d25b520ceec800d Remove all installation talk from docbook diff -r ec3047e1dadc -r f8f8b4018381 README --- a/README Tue Nov 10 11:03:21 2009 +0000 +++ b/README Tue Nov 10 11:04:06 2009 +0000 @@ -1,6 +1,8 @@ mercurial-server -mercurial-server gives your developers remote read/write access to centralized Mercurial repositories using SSH public key authentication; it provides convenient and fine-grained key management and access control. +mercurial-server gives your developers remote read/write access to +centralized Mercurial repositories using SSH public key authentication; it +provides convenient and fine-grained key management and access control. http://www.lshift.net/mercurial-server.html @@ -20,9 +22,15 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -Though mercurial-server is currently targeted at Debian-based systems such as Ubuntu, other users have reported success getting it running on other Unix-based systems such as Red Hat. Running it on a non-Unix system such as Windows is not supported. You will need root privileges to install it. +Though mercurial-server is currently targeted at Debian-based systems such +as Ubuntu, other users have reported success getting it running on other +Unix-based systems such as Red Hat. Running it on a non-Unix system such as +Windows is not supported. You will need root privileges to install it. -The best way to install mercurial-server is using your package management system. However, there is some provision for installing it directly. On Debian based systems such as Ubuntu, use the command +The best way to install mercurial-server is using your package management +system - there are pre-built .deb files on the website. However, there is +some provision for installing it directly. On Debian based systems such as +Ubuntu, use the command sudo make setup-adduser 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