doc: Make install script more prominent.

Suggested by Steven vanZyl <rushsteve1@rushsteve1.us>.

* doc/guix.texi (Binary Installation): Add @example showing how to
download the script.  Use "systemctl enable --now".
This commit is contained in:
Ludovic Courtès 2020-04-19 13:26:05 +02:00
parent a3cbcbaf8b
commit 40c6b1802c
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -548,7 +548,14 @@ We recommend the use of this
@uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh,
shell installer script}. The script automates the download, installation, and shell installer script}. The script automates the download, installation, and
initial configuration steps described below. It should be run as the root initial configuration steps described below. It should be run as the root
user. user. As root, you can thus run this:
@example
cd /tmp
wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh
chmod +x guix-install.sh
./guix-install.sh
@end example
@end quotation @end quotation
Installing goes along these lines: Installing goes along these lines:
@ -652,7 +659,7 @@ with these commands:
@example @example
# cp ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \ # cp ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \
/etc/systemd/system/ /etc/systemd/system/
# systemctl start guix-daemon && systemctl enable guix-daemon # systemctl enable --now guix-daemon
@end example @end example
If your host distro uses the Upstart init system: If your host distro uses the Upstart init system: