summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-03-09 16:55:49 -0600
committerJeff Carr <[email protected]>2023-03-09 16:55:49 -0600
commit3ff0f64a6bbcc1538e4a213336c42d70ab2fb34e (patch)
tree9f5582d1169f7f1bb264972903c2737350676f38
parent22829c8dce52a1b8d0be032ec423871a3c2047ea (diff)
sounds like a good start
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--Makefile20
-rwxr-xr-xjcarr7
-rwxr-xr-xjcarr.sh17
3 files changed, 44 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..8dc9e71
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+setup:
+ echo is this a new install?
+
+apt:
+ mv /etc/apt/sources.list /root/
+ echo "deb http://mirrors.wit.org/debian/ sid main contrib non-free" > /etc/apt/sources.list
+ 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
+
+set-date:
+ @# you need this if your hardware clock is fucked up
+ @# I need to check to see if the clock is before this date, if so, then it's not working
+ wget --method=HEAD -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f 4-9
+ date -s '2023-02-21 11:31:30'
diff --git a/jcarr b/jcarr
new file mode 100755
index 0000000..4c67ff1
--- /dev/null
+++ b/jcarr
@@ -0,0 +1,7 @@
+#!/bin/bash -x
+
+cd /tmp
+rm -f jcarr.sh
+curl http://mirrors.wit.org/jcarr/jcarr.sh -o jcarr.sh
+chmod +x /tmp/jcarr.sh
+sudo /tmp/jcarr.sh
diff --git a/jcarr.sh b/jcarr.sh
new file mode 100755
index 0000000..f5d04c7
--- /dev/null
+++ b/jcarr.sh
@@ -0,0 +1,17 @@
+#!/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