bash/jcarr.sh

18 lines
784 B
Bash
Executable File

#!/bin/bash -x
mv /etc/apt/sources.list /root/
echo "deb http://mirrors.wit.org/debian/ sid main contrib non-free" > /etc/apt/sources.list
# echo "deb http://mirrors.wit.org/wit/ sid main" >> /etc/apt/sources.list
# I need to check to see if the clock is before this date, if so, then it's not working
date -s '2023-02-21 11:31:30'
apt update
apt install -y bash_completion wget
apt install -y lsof bash-completion libpam-systemd dbus rbd-nbd golang-go git screen vim ethstatus ethtool sysstat \
traceroute whois devscripts automake libtool devscripts nmap clang rsync bind9utils dnsutils net-tools \
tcpdump wget curl iputils-ping pciutils iptables sysbench man usbutils ssh openssh-server neofetch bc lshw telnet hdparm vrms
apt dist-upgrade
apt autoremove
service ssh start