-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
36 lines (25 loc) · 1.07 KB
/
setup.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
#Refer "New App Server Config.xlsx" for outline of steps
#Add history to all commands run
#echo 'export HISTTIMEFORMAT="%d/%m/%y %T "' >>~/.bash_profile && source ~/.bash_profile
# install deltarpm support
#sudo apt install deltarpm -y
#Yum update
#sudo apt update -y
# Change timezone
#cd /etc && sudo ln -sf /usr/share/zoneinfo/Asia/Calcutta localtime && cd
#sudo rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
#Create a file called elasticsearch.repo in the /etc/yum.repos.d/ directory for RedHat based distributions
#sudo nano /etc/apt.repos.d/elk.repo
#[elasticsearch]
#name=Elasticsearch repository for 7.x packages
#baseurl=https://artifacts.elastic.co/packages/7.x/apt
#gpgcheck=1
#gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
#enabled=1
#autorefresh=1
#type=rpm-md
#install docker
#sudo amazon-linux-extras install docker=stable -y
#install docker-compose
#sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
#sudo chmod +x /usr/local/bin/docker-compose