-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequirements.sh
56 lines (54 loc) · 1.07 KB
/
requirements.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/env bash
mkdir -p /etc/apt/keyrings
apt-get update
apt-get -y install \
sudo \
git \
jq \
vim \
wget \
unzip \
gnupg \
bash \
shellcheck \
curl \
ca-certificates \
build-essential \
python3 \
python3-pip \
tar \
ansible \
ansible-lint \
zip \
bzip2 \
unzip \
xz-utils \
openjdk-11-jdk \
python3 \
python3-pip \
python3-setuptools \
apache2-utils \
apt-transport-https \
htop \
telnet \
lsb-release \
tcpdump \
siege \
ncat \
nmap \
net-tools \
sshpass \
procps \
file \
maven \
gradle \
zsh \
software-properties-common
# Homebrew
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | bash
echo '# Set PATH, MANPATH, etc., for Homebrew.' >> /root/.profile
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /root/.bashrc
echo '# Set PATH, MANPATH, etc., for Homebrew.' >> /home/operator/.profile
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/operator/.bashrc
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew update