-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathinstall.sh
48 lines (34 loc) · 1.08 KB
/
install.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
#!/bin/bash
#run this with the command :
# curl https://raw.githubusercontent.com/kris-classes/restart/main/install.sh | bash
echo "Starting restart install script"
echo "============"
echo "installing cowsay"
sudo yum install -y cowsay
echo "finished installing cowsay" | cowsay
echo "installing tmux"
sudo yum install -y tmux
echo "finished installing tmux"
echo "installing net-tools"
sudo yum install -y net-tools
echo "finished installing net-tools"
echo "installing sl"
sudo yum install -y sl
echo "finished installing sl"
echo "installing nmap-ncat"
sudo yum install -y nmap-ncat
echo "finished installing nmap-ncat" | cowsay
echo "installing micro text editor"
curl https://getmic.ro | bash
cd
mkdir bin
mv micro bin/
echo "finished installing micro text editor"
echo "Update .bashrc with /bin for our PATH"
echo 'export PATH="$HOME/bin:$PATH"' >> "$HOME/.bashrc"
echo "Done updating PATH"
echo "installing Python3"
sudo yum install -y python3
echo "finished installing Python3"
echo 'alias l="ls -alh"' >> "$HOME/.bashrc"
echo "Run the command 'source $HOME/.bashrc' to update your PATH"