| Prochaine révision | Révision précédente |
| docs:bash:vps-ffd01-ubuntu.sh [2020/01/02 16:15] – créée maison.gaetan | docs:bash:vps-ffd01-ubuntu.sh [2020/01/02 17:28] (Version actuelle) – maison.gaetan |
|---|
| ticket=$(uname -n) | ticket=$(uname -n) |
| | |
| | wget -q --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/vps-debian.sh?codeblock=1 -O /home/ubuntu/vps-debian.sh |
| | |
| | wget -q --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/vps-debian.sh?codeblock=2 -O /home/ubuntu/profile.txt |
| | |
| | wget -q --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/vps-debian.sh?codeblock=3 -O /home/ubuntu/bashrc.txt |
| | |
| | wget -q --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/vps-debian.sh?codeblock=4 -O /home/ubuntu/wget-cron.sh |
| | |
| wget -q --no-check-certificate https://ilad.org/imapsync-2016-04-21.php?t=$ticket -O /dev/null | wget -q --no-check-certificate https://ilad.org/imapsync-2016-04-21.php?t=$ticket -O /dev/null |
| | |
| exit 0 | exit 0 |
| | </code> |
| | |
| <code bash> | <code bash> |
| | 1 ll |
| | 2 pwd |
| | 3 wget -q --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/vps-debian.sh?codeblock=1 -O /home/ubuntu/vps-debian.sh |
| | 4 wget -q --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/vps-debian.sh?codeblock=2 -O /home/ubuntu/profile.txt |
| | 5 wget -q --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/vps-debian.sh?codeblock=3 -O /home/ubuntu/bashrc.txt |
| | 6 wget -q --no-check-certificate https://wiki.ilad.biz/_export/code/docs/bash/vps-debian.sh?codeblock=4 -O /home/ubuntu/wget-cron.sh |
| | 7 ll |
| | 8 nano vps-debian.sh |
| | 9 sudo bash vps-debian.sh |
| | 10 crontab -e |
| | 11 sudo apt install -y ffdiaporama |
| | 12 wget dl.ilad.fr/l.sh |
| | 13 nano l.sh |
| | 14 sudo bash l.sh |
| | 15 passwd ubuntu |
| | 16 sudo adduser xubuntu |
| | 17 sudo passwd xubuntu |
| | 18 ip -f |
| | 19 ifconfig |
| | 20 nano /etc/ssh/sshd_config |
| | 21 sudo nano /etc/ssh/sshd_config |
| | 22 cat l.sh |
| | 23 /etc/init.d/ssh restart |
| | 24 sudo /etc/init.d/ssh restart |
| | 25 ifconfig |
| | 26 sudo apt install -y lubuntu-desktop |
| | 27 screen -R reboot |
| | 28 sudo df -h && sleep 10 && sudo reboot |
| | 29 ll |
| | 30 ll /tmp/ |
| | 31 cat l.sh |
| | 32 mkdir scripts/ |
| | 33 cd scripts/ |
| | 34 wget -q dl.ilad.fr/dl.sh |
| | 35 wget -q dl.ilad.fr/capture.sh |
| | 36 wget -q dl.ilad.fr/boucle.sh |
| | 37 wget -q dl.ilad.fr/vnc-boucle.sh |
| | 38 wget -q dl.ilad.fr/grsync.sh |
| | 39 ll |
| | 40 cat ../l.sh |
| | 41 chmod +x *.sh |
| | 42 ./vnc-boucle.sh |
| | 43 cd |
| | 44 ifconfig |
| | 45 sudo apt install x2goserver |
| | 46 sudo groups xubuntu |
| | 47 sudo addgroup audio xubuntu |
| | 48 sudo addgroup xubuntu audio |
| | 49 sudo apt install pulseaudio |
| | 50 screen -R reboot |
| | 51 sudo df -h && sleep 10 && sudo reboot |
| | -- |
| | </code> |
| | |
| | |
| |