2.2. Downloading the LOCKSS Installer
This section describes how to use the LOCKSS Downloader to download the LOCKSS Installer.
2.2.1. LOCKSS Installer Directory
The LOCKSS Installer Directory is simply the directory under which the LOCKSS Installer is stored.
In this manual, it will sometimes be represented symbolically as <LOCKSS_INSTALLER_DIR>. Many commands, such as those to configure, start and stop the LOCKSS stack, are relative to the LOCKSS Installer Directory, meaning you need to navigate to it at the console using cd before issuing the relevant command:
cd <LOCKSS_INSTALLER_DIR>
2.2.2. Default LOCKSS Installer Directory
The default LOCKSS Installer Directory is $HOME/lockss-installer relative to the lockss user, meaning /home/lockss/lockss-installer on most Linux systems.
You can specify a Custom LOCKSS Installer Directory when Running the LOCKSS Downloader by using its --download-dir option.
2.2.3. Running the LOCKSS Downloader
To download the LOCKSS Installer, you will use Curl or Wget [1] to invoke the LOCKSS Downloader, whose default action is to download the LOCKSS Installer.
Double-check that you are operating in the
rootsession established for the entirety of this chapter [3] by typing:whoami
and verifying that the output is
root.Run this curl or wget command as the
lockssuser:curl -sSfL https://lockss.org/downloader | runuser -u lockss sh -s -
wget -qO- https://lockss.org/downloader | runuser -u lockss sh -s -
This will download the LOCKSS Installer into the Default LOCKSS Installer Directory.
Tip
Footnotes