#!/bin/bash echo "10 secondes d'attentes et lancement du script" sleep 10 dpkg-reconfigure locales \ && dpkg-reconfigure tzdata \ && apt update \ && apt upgrade -y \ && apt dist-upgrade -y\ && apt install -y \ htop \ curl \ screen \ figlet figlet -w 250 $(uname -n) > /home/debian/profile.txt sed -i "s/sudo bash vps-debian.sh//g" .profile echo "cat /home/debian/profile.txt" >> .profile echo " " >> /home/debian/profile.txt echo " " >> /home/debian/profile.txt cat /home/debian/bashrc.txt >> .bashrc rm -fr /home/debian/bashrc.txt cat /home/debian/profile.txt chown debian:debian wget-cron.sh echo "5 * * * * bash wget-cron.sh >/dev/null 2>&1" echo "crontab -e" echo "Pour installer Yunohost :" echo "sudo -i" echo "curl https://install.yunohost.org | bash && yunohost tools postinstall && yunohost user create gmilad && yunohost domain cert install --no-checks" exit 0