Direct installation via the script:
$ curl -s https://metasec.de/installer/james.sh | sudo bash --
$ curl -s https://metasec.de/installer/james.sh | sudo bash --
Alternatively, it is possible to download the script manually and then execute it:
$ curl -s -o install_james.sh https://metasec.de/installer/james.sh
$ chmod +x install_james.sh
$ sudo ./install_james.sh
$ curl -s -o install_james.sh https://metasec.de/installer/james.sh
$ chmod +x install_james.sh
$ sudo ./install_james.sh
Manual installation without install script:
For manual installation, the GPG key of the metaSEC repository must be added.
$ curl -s -o /tmp/deb.metasec.key https://metasec.de/installer/deb.metasec.key
$ gpg --import /tmp/deb.metasec.key
$ apt-key add /tmp/deb.metasec.key
$ rm -f /tmp/deb.metasec.key
Now you need to install some packages that are required for the installation of JAMES:
$ apt-get update
$ apt-get install -y apt-transport-https lsb_release ca-certificates curl
$ apt-get update
$ apt-get install -y apt-transport-https lsb_release ca-certificates curl
Now the operating system version must be checked by executing the following command:
$ lsb_release -a
$ lsb_release -a
DEBIAN 11 (bullseye) or newer:
// Hinzufügen der Quellen für PHP 8.1
$
curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg
$ sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
// Hinzufügen des Mirrors für die JAMES-Bibliotheken:
$ echo "deb http://deb.metasec.de/ bullseye main" > /etc/apt/sources.list.d/metasec.list
// Hinzufügen der Quellen für PHP 8.1
$
curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg
$ sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
// Hinzufügen des Mirrors für die JAMES-Bibliotheken:
$ echo "deb http://deb.metasec.de/ bullseye main" > /etc/apt/sources.list.d/metasec.list Older DEBIAN versions:
Older DEBIAN versions:
If your system is running an older Debian version, run ONLY the following command to add the JAMES libraries to the package sources:
$ echo "deb http://deb.metasec.de/ jessie main" > /etc/apt/sources.list.d/metasec.list
$ echo "deb http://deb.metasec.de/ jessie main" > /etc/apt/sources.list.d/metasec.list
Installation after adding the package sources:
Installation after adding the package sources:
Update your package sources with the following command:
$ apt-get update
$ apt-get update
Now you are ready to install JAMES. To do this, run the following command:
$ apt-get install -y ms-james
$ apt-get install -y ms-james
Mirror GPG key
Save the following text e.g. in the file under /tmp/deb.metasec.key:
-----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1 mQENBFjPt6EBCADJJ9cZW4vKzAToNTDODccHpHoecPs73bB7gvUbFnjq/SfuPyFY OWdR33z+U00d65M5fGypNvpAAXPz3zg4SGnyAg66X5mFMmiABmkleK+gjgPo1qmV GyXR6y5a2fqM3f7GrkPsfkdgi6VEs6BewYW8wqiohC1fZo7IwzBzsE3/aAl9soVQ PIHuXoF+lX8QupwbAmaLjFpX8EJVsf4jsFON0U7GuDXrmg3w0VIwA5eplcIBSx61 zTaL9SIzs8jZbvI51yiTBgIKlObAwFF8B1gG4J/pZDFetuW47j2O9cuXoCT2zuo2 X964VaybqFevnpQWBxbQkWvzXWiQs42NSJz3ABEBAAG0B21ldGFTRUOJATgEEwEC ACIFAljPt6ECGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEEuBHgB3L0Ke xZ8H/iLnnqja7VU8alL5dzzYMLpSG29BZfIeaJCs5x7muReycBP/28gJSL+YYwqB sZktbCYEZJwbmK28dlZol7+gc8KVxO09YqQhXs3wBpgKOYLmBTIMUlYGZH9mRN/h CBEB9NEW/xEO1B16t6l2zoTHOdVcxgkvaexE2qg7nTNL4CNVZ9mnJV7g9//e/8eb gPagD3LaEw5bS/yQaHbssSq1re1HA5xkH+NCf+rnlgmvFHX504HZNjtWLKIc5NcU QuyEdbBX7jaeoX3sH9qWrEWiH/bU4WssRMtgxFSqh5GJWEq88ctrFGdIBJhvc5TR Ool+fNgYRqExeEj7VtI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