Tyleo-Scripts/old/irp-deb

33 lines
1.7 KiB
Text
Raw Permalink Normal View History

2024-02-18 18:06:30 +00:00
#!/usr/bin/env bash
if ! command -v dpkg &> /dev/null
then
echo "Systéme non DEB - Lancement annulé"
echo "Utilisez irp-rhel pour RPM."
echo "https://tyleodev.fr/scripts-crees-par-tyleo/"
exit
fi
echo -------------------------------------------------------------
curl https://static.tyleodev.fr/astra/banner-deb
echo Version 3 - Script de Déploiement Public avec DUF 0.8.1
echo Sans Portainer - Mode Autonome avec Docker Compose
echo Utilisez irp-portainer pour installer Portainer.
echo -------------------------------------------------------------
wget https://github.com/muesli/duf/releases/download/v0.8.1/duf_0.8.1_linux_amd64.deb
sudo apt-get install ./duf_0.8.1_linux_amd64.deb
sudo apt-get update &>/dev/null
sudo apt-get install zsh git tuned curl wget mc htop nethogs figlet nano docker.io docker-compose -y
sudo apt-get install netdata-web cockpit libvirt virt-manager -y
wget https://launchpad.net/ubuntu/+source/cockpit/215-1~ubuntu19.10.1/+build/18889196/+files/cockpit-docker_215-1~ubuntu19.10.1_all.deb
wget https://github.com/xxxserxxx/gotop/releases/download/v4.1.4/gotop_v4.1.4_linux_amd64.deb
sudo apt-get install ./gotop_v4.1.4_linux_amd64.deb -y
sudo apt-get install ./cockpit-docker_215-1~ubuntu19.10.1_all.deb -y
sudo wget https://github.com/45Drives/cockpit-navigator/releases/download/v0.5.10/cockpit-navigator_0.5.10-1focal_all.deb
sudo apt-get install ./cockpit-navigator_0.5.8-1focal_all.deb -y
echo "$USER ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/$USER
sudo usermod -a -G docker $USER
sudo chown $USER:docker /var/run/docker.sock
sudo wget https://github.com/bcicen/ctop/releases/download/v0.7.7/ctop-0.7.7-linux-amd64 -O /usr/local/bin/ctop
sudo chmod +x /usr/local/bin/ctop
echo Terminé.