Skip to content

Instantly share code, notes, and snippets.

View govindpatel's full-sized avatar

Govind H Patel govindpatel

View GitHub Profile
@govindpatel
govindpatel / Elasticsearch install and uninstall.txt
Last active September 9, 2021 04:35 — forked from jkubacki/gist:e2dd904bd648b0bd4554
Mac uninstall elasticsearch / install
#!/usr/bin/env sh
# checks to see if running
launchctl list | grep elasticsearch
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist
launchctl remove homebrew.mxcl.elasticsearch
pkill -f elasticsearch

#Setting up Nginx on Your Local System ###by Keith Rosenberg

##Step 1 - Homebrew The first thing to do, if you're on a Mac, is to install homebrew from http://mxcl.github.io/homebrew/

The command to type into terminal to install homebrew is:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"