Install Spider on Linux servers

  • Download Spider from our website and upload to your server: https://spiderd.io/

  • Unarchive the downloaded package and install. We use Linux server and amd64 architecture for example here:

    tar xf spider-1.0-beta1-linux-amd64.tar
    cd spider-1.0-beta1-linux-amd64/
    bash install.sh
    

    The installer asks for confirmation, please type y and press the ENTER key to confirm and continue, or type any other letter and press the ENTER key to abort.

    WARNING: Keep the secret key file safe.

    The installer generates a secret key and stores it in file /opt/spider/secret.key during initial installation. If you lose this secret key file, then all archived email messages and attachments are impossible to recover.

That's all.

If port 25 or 8080 conflicts with other application, you can change the bind addresses and ports in config file /opt/spider/settings.json, parameter smtpd_bind_address and web_bind_address. Check Configuration section to understand possible settings.

Here's the output of a sample (initial) installation on an Ubuntu 22.04 server:

# bash install.sh 
**************************************************************
* Install or upgrade the Spider Email Archiver
**************************************************************
We are going to check and create:

- Main config file: /opt/spider/settings.json
- System user and group: "spider", used to run archiver program.
- /opt/spider/: root directory of application data.
- /opt/spider/archive/: archived email messages and attachments.
- /opt/spider/fts/: full-text indexed data.
- /opt/spider/log/: application log.

Existing settings will be preserved.

Press letter 'y' to continue, any other key to abort. y
- Generate secret key file /opt/spider/secret.key, used to 
  encrypt and decrypt email messages and attachments.
- Starting / Restarting the Spider Email Archiver.
- Spider Email Archiver has been successfully installed / upgraded.
- You can now access the web console at http://localhost:8080/