December 18, 2017

Installing Ngrok on an Instance

Ngrok is the duct tape of the Internet. It helps you fix all sorts of silly problems with software not doing what it's suppose to do by being available on a particular port or IP address. Example: a piece of software that insists on installing itself listening to localhost.


Install Ngrok by doing the following:

$ wget
$ unzip
$ mv ngrok /usr/local/sbin/

If future use fails, navigate to the download page and copy the link on the download button.

If you don't have unzip installed, do the following:

$ apt-get install unzip
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
$ sudo !!

Test it works by doing a:

$ ngrok -v
ngrok version 2.2.8

And that, folks, is how you make your software easy to install!