Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| docs:bash:imapsync-debian.sh [2017/10/21 16:00] – maison.gaetan | docs:bash:imapsync-debian.sh [2020/01/02 18:22] (Version actuelle) – maison.gaetan | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | <code bash creation.sh> | + | imapsync-01-debian |
| - | #!/bin/sh | + | <code bash> |
| + | #!/bin/bash | ||
| - | # ticket=Serveur_imapsync | ||
| ticket=$(uname -n) | ticket=$(uname -n) | ||
| - | wget -q --no-check-certificate https:// | + | rm -fr / |
| + | |||
| + | wget -q --no-check-certificate https:// | ||
| wget -q --no-check-certificate https:// | wget -q --no-check-certificate https:// | ||
| exit 0 | exit 0 | ||
| + | |||
| </ | </ | ||
| <file bash imapsync-02-debian.sh> | <file bash imapsync-02-debian.sh> | ||
| - | #!/bin/sh | + | #!/bin/bash |
| dpkg-reconfigure locales \ | dpkg-reconfigure locales \ | ||
| + | && dpkg-reconfigure tzdata \ | ||
| && apt update \ | && apt update \ | ||
| + | && apt upgrade -y \ | ||
| + | && apt dist-upgrade -y\ | ||
| && apt install -y \ | && apt install -y \ | ||
| - | | + | libauthen-ntlm-perl |
| - | | + | libcgi-pm-perl |
| - | libcgi-pm-perl \ | + | libcrypt-openssl-rsa-perl |
| - | libcrypt-openssl-rsa-perl \ | + | libdata-uniqid-perl |
| - | libdata-uniqid-perl \ | + | libencode-imaputf7-perl |
| libfile-copy-recursive-perl \ | libfile-copy-recursive-perl \ | ||
| - | libio-socket-ssl-perl \ | + | |
| - | libio-socket-inet6-perl \ | + | |
| - | libio-tee-perl \ | + | libio-socket-ssl-perl \ |
| - | libhtml-parser-perl \ | + | libio-tee-perl |
| - | libjson-webtoken-perl \ | + | libhtml-parser-perl |
| - | libmail-imapclient-perl \ | + | libjson-webtoken-perl |
| + | libmail-imapclient-perl | ||
| libparse-recdescent-perl \ | libparse-recdescent-perl \ | ||
| - | libmodule-scandeps-perl \ | + | libmodule-scandeps-perl |
| - | | + | |
| - | | + | |
| - | libsys-meminfo-perl \ | + | libsys-meminfo-perl |
| - | libterm-readkey-perl \ | + | libterm-readkey-perl |
| - | libtest-mockobject-perl \ | + | libtest-mockobject-perl |
| - | libtest-pod-perl \ | + | libtest-pod-perl |
| - | libunicode-string-perl \ | + | libunicode-string-perl |
| - | liburi-perl | + | liburi-perl |
| - | libwww-perl \ | + | libwww-perl |
| - | | + | libtest-nowarnings-perl |
| + | libtest-deep-perl | ||
| + | libtest-warn-perl | ||
| + | make \ | ||
| + | | ||
| wget \ | wget \ | ||
| + | screen \ | ||
| && rm -rf / | && rm -rf / | ||
| && wget -N https:// | && wget -N https:// | ||
| - | && | + | && |
| && chmod +x / | && chmod +x / | ||
| + | && imapsync -v \ | ||
| && exit | && exit | ||
| exit 0 | exit 0 | ||
| </ | </ | ||