Skip to content

Instantly share code, notes, and snippets.

View redjoker011's full-sized avatar
🎯
Focusing

Peter John Alvarado redjoker011

🎯
Focusing
  • localhost
  • Philippines
  • 06:03 (UTC +08:00)
View GitHub Profile
@redjoker011
redjoker011 / nginx.conf
Created January 13, 2021 14:34 — forked from cpswan/nginx.conf
Using nginx to proxy to an AWS ELB
daemon off;
worker_processes 1;
events { worker_connections 1024; }
http{
sendfile on;
@redjoker011
redjoker011 / 1. ELK.install
Created November 3, 2020 02:41 — forked from PavloBezpalov/1. ELK.install
ELK Stack with Rails (Elasticsearch, Logstash, Kibana) on Ubuntu VPS
INSTALL JAVA
$ sudo apt-get update && sudo apt-get install default-jre
INSTALL ELASTIC SEARCH https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
$ wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
$ echo "deb https://packages.elastic.co/elasticsearch/2.x/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-2.x.list
$ sudo apt-get update && sudo apt-get install elasticsearch
$ sudo update-rc.d elasticsearch defaults 95 10
$ sudo service elasticsearch restart
$ sudo service elasticsearch status