Create an EC2 instance with Ubuntu flavor
add the initial elk repos and prepare to setup elasticsearch, logstash and kibana
setup config files for each module
make sure that the ports 9200 and 5601 are open for the server
#!/bin/bash | |
# This is the ISensit Gateway diagnostic Reporter by Saujan Ghimire | |
# Globals | |
SCRIPT_NAME=$(basename -- "$0") | |
export VERSION="v1.0" | |
export PROJECT_PATH=$( cd $(dirname $0) ; cd ../; pwd -P ) | |
export SCRIPT_NAME="${SCRIPT_NAME%.*}" | |
export BASE_DIR=/tmp |
sudo apt update | |
sudo apt upgrade -y | |
# Remember: install / verify additional drivers | |
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | |
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
sudo apt update | |
# google chrome and chrome extension to use gnome extensions |
Last updated: 12/31/2013
/etc/default/locale
as sudo.LC_ALL="en_US.UTF-8"
at the end of the file, save and quit.sudo locale-gen en_US en_US.UTF-8
sudo dpkg-reconfigure locales