Skip to content

Instantly share code, notes, and snippets.

View akamit21's full-sized avatar
🏠
Working from home

Amit Kumar akamit21

🏠
Working from home
View GitHub Profile
@akamit21
akamit21 / install-ngrok-ubuntu.md
Last active April 22, 2026 13:50
How to install ngrok on Ubuntu

What is ngrok?

ngrok is a reverse proxy that creates a secure tunnel from a public endpoint to a locally running web service. ngrok captures and analyzes all traffic over the tunnel for later inspection and replay.

ngrok secure introspectable tunnels to localhost

ngrok - secure introspectable tunnels to localhost (homepage) "I want to expose a local server behind a NAT or firewall to the Internet."

Enable snapd

If you’re running Ubuntu 16.04 LTS (Xenial Xerus) or later, including Ubuntu 18.04 LTS (Bionic Beaver) and Ubuntu 20.04 LTS (Focal Fossa), you don’t need to do anything. Snap is already installed and ready to go.

@akamit21
akamit21 / install-node-npm-on-linux.md
Last active October 10, 2019 19:12
Install and setup Node.js and npm on Linux

Install Node.js and npm from the Ubuntu repository

for default version install from Ubuntu repository
Node.js and npm packages are available from the default Ubuntu 18.04 repositories.

At the time of writing, the version included in the Ubuntu repositories is v8.10.0 which is the previous TLS version.

To install nodejs and npm run the following commands:
sudo apt-get update sudo apt-get install nodejs

@akamit21
akamit21 / install-composer-linux-server.md
Created October 10, 2019 18:48
Install and setup Composer on Linux OS
@akamit21
akamit21 / install-lamp-stack-on-linux.md
Last active October 10, 2019 18:54
Install and setup LAMP stack on a clean Linux OS or VPS

Update Package Index

sudo apt-get update

Install Apache

sudo apt-get install apache2
sudo service apache2 start

Adjust Firewall

sudo nano /etc/apache2/apache2.conf add ServerName ... directive at bottom
sudo apache2ctl configtest