-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpbxInstall.sh
More file actions
53 lines (43 loc) · 1.11 KB
/
pbxInstall.sh
File metadata and controls
53 lines (43 loc) · 1.11 KB
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
#!/bash/bin
BLUE='\033[36m'
GREEN='\033[32m'
touch log.txt
touch inputs.txt
echo -e "${BLUE}What is the address? -\033[0m "
read address
echo $address >> inputs.txt
echo -e "${BLUE}What is the username? -\033[0m "
read user
echo $user >> inputs.txt
echo -e "${BLUE}What is the password? -\033[0m "
read pass
echo $pass >> inputs.txt
echo -e "${BLUE}What is the source? -\033[0m "
read src
echo $src >> inputs.txt
echo -e "${BLUE}What is it going? -\033[0m "
read dest
echo $dest >> inputs.txt
yum -y update
yum -y install yum-utils
ln -s /usr/bin/python3.6 /usr/bin/python3
yum install python36u-pip
echo ""
echo -e "${GREEN}pip installed!\033[0m"
echo ""
pip3.6 install --upgrade pip
echo ""
echo -e "${GREEN}pip updated!\033[0m"
echo ""
pip3.6 install paramiko
yum -y install python36u-devel
echo ""
echo -e "${GREEN}paramiko installed!\033[0m"
echo ""
echo -e "${BLUE}=========================================\033[0m"
echo -e "${BLUE}| ${GREEN}Alex's file mover install complete! ${BLUE}|\033[0m"
echo -e "${BLUE}=========================================\033[0m"
echo ""
rm pbxInstall.sh
rm install.sh
rm README.md