summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-03-09 20:43:55 -0600
committerJeff Carr <[email protected]>2023-03-09 20:43:55 -0600
commitf8702510accc4e95f893928bf43e420d17180faf (patch)
tree0cfe33f042394d3cc3039121885fe1ce99688066
parent8c11a42768d48cc5d165da4ff01c2dc390c28f6f (diff)
more
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 23ab61c..66925ee 100644
--- a/Makefile
+++ b/Makefile
@@ -8,19 +8,21 @@ all:
new-install:
make setup-bash
+ make setup-vim
+ make setup-apt
make go
setup-bash:
ifeq ($(WIT_BASH),true)
echo WIT_BASH is already set WIT_USER=${WIT_USER}
- exit
+ false
else
echo WIT_BASH is not set WIT_USER=${WIT_USER}
cat bashrc/.bashrc >> ~/.bashrc
endif
go:
- wget https://go.dev/dl/go1.19.linux-amd64.tar.gz
+ wget -c https://go.dev/dl/go1.19.linux-amd64.tar.gz
mv go1.19.linux-amd64.tar.gz /usr/local/
git:
@@ -38,10 +40,14 @@ setup-apt:
mv /etc/apt/sources.list /root/
echo "deb http://mirrors.wit.com/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 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
+
+dist-upgrade:
apt dist-upgrade
apt autoremove
service ssh start