Wiki Info Libre @ Dom

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
docs:bash:ks-1-debian.sh [2021/06/19 12:37] maison.gaetandocs:bash:ks-1-debian.sh [2024/11/24 12:50] (Version actuelle) – [ks-1-debian :] maison.gaetan
Ligne 6: Ligne 6:
 ticket=$(uname -n)_en_ligne ticket=$(uname -n)_en_ligne
  
-wget -q --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/ks-1-debian.sh?codeblock=1   -O $HOME/ks-1-debian.sh+wget -q -U "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0" --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/ks-1-debian.sh?codeblock=1   -O $HOME/ks-1-debian.sh
  
-wget -q --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/ks-1-debian.sh?codeblock=2   -O $HOME/profile.txt+wget -q -U "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0" --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/ks-1-debian.sh?codeblock=2   -O $HOME/profile.txt
  
-wget -q --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/ks-1-debian.sh?codeblock=3   -O $HOME/bashrc.txt+wget -q -U "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0" --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/ks-1-debian.sh?codeblock=3   -O $HOME/bashrc.txt
  
-wget -q --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/ks-1-debian.sh?codeblock=4   -O $HOME/wget-cron.sh+wget -q -U "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0" --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/ks-1-debian.sh?codeblock=4   -O $HOME/wget-cron.sh
  
-wget -q --no-check-certificate https://ilad.org/imapsync-2016-04-21.php?t=$ticket  -O /dev/null+wget -q -U "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0" --no-check-certificate https://ilad.org/imapsync-2016-04-21.php?t=$ticket  -O /dev/null
  
 echo "sudo bash ks-1-debian.sh" >> $HOME/.profile echo "sudo bash ks-1-debian.sh" >> $HOME/.profile
Ligne 72: Ligne 72:
 alias p="ping -c 5 1.1.1.1" alias p="ping -c 5 1.1.1.1"
 alias ld="date +%Y%m%d-%H%M%S" alias ld="date +%Y%m%d-%H%M%S"
 +
 +export LC_ALL=fr_FR.UTF-8
 +export LANG=fr_FR.UTF-8
 +export LANGUAGE=fr_FR.UTF-8
  
 </file> </file>
Ligne 94: Ligne 98:
 ticket=$(uname -n)_en_ligne ticket=$(uname -n)_en_ligne
  
-wget -q --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/ks-1-debian.sh?codeblock=1   -O $HOME/ks-1-debian.sh+wget -q -U "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0" --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/ks-1-debian.sh?codeblock=1   -O $HOME/ks-1-debian.sh
  
-wget -q --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/ks-1-debian.sh?codeblock=2   -O $HOME/profile.txt+wget -q -U "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0" --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/ks-1-debian.sh?codeblock=2   -O $HOME/profile.txt
  
-wget -q --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/ks-1-debian.sh?codeblock=3   -O $HOME/bashrc.txt+wget -q -U "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0" --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/ks-1-debian.sh?codeblock=3   -O $HOME/bashrc.txt
  
-wget -q --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/ks-1-debian.sh?codeblock=4   -O $HOME/wget-cron.sh+wget -q -U "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0" --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/ks-1-debian.sh?codeblock=4   -O $HOME/wget-cron.sh
  
-wget -q --no-check-certificate https://ilad.org/imapsync-2016-04-21.php?t=$ticket  -O /dev/null+wget -q -U "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0" --no-check-certificate https://ilad.org/imapsync-2016-04-21.php?t=$ticket  -O /dev/null
  
 echo "sudo bash ks-1-debian.sh" >> $HOME/.profile echo "sudo bash ks-1-debian.sh" >> $HOME/.profile
Ligne 108: Ligne 112:
 exit 0 exit 0
  
 +</file>
 +
 +===== ks-1-upgrade-buster.sh =====
 +
 +<file bash ks-1-upgrade-buster.sh>
 +apt update \
 +&& apt upgrade -y \
 +&& apt dist-upgrade -y\
 +&& apt install -y \
 +&& sed -i 's/stretch/buster/g' /etc/apt/sources.list \
 +&& apt update \
 +&& apt upgrade -y \
 +&& apt dist-upgrade -y
 </file> </file>