HomePage

Blogging, Gatsby, HomePage

Google Analytics not working in Gatsby blog

This blog is powered by Gatsby and I was setting up Google Analytics and for some reason it didn't work for me. In this post, we'll fix it for good
Mansoor A
Mansoor A
1 min read
Ops, HomePage

Using SSH tunnel to reach a database server via JumpHost

Reaching databases behind firewall can be tricky. Here I am showing how to use the jumphost to tunnel to the database server
Mansoor A
Mansoor A
1 min read
Kubernetes, HomePage

Setting up Nginx Ingress in GKE

How to setup the Nginx ingress controller in Google Kubernetes Engine to have better control over the controller
Mansoor A
Mansoor A
1 min read
Selfhost, Ops, Linux, HomePage

Setting up Nextcloud on Ubuntu

Setting up a private NextCloud server for Contacts, Files, Calendars, Tasks and even video calling
Mansoor A
Mansoor A
8 min read
HowTo, HomePage

Migrating the Authenticator app to a new device

Moving all your 2FA codes from an authenticator app to another (only for rooted android devices)
Mansoor A
Mansoor A
1 min read
Kubernetes, SRE, HomePage

Creating an SSD persistent volume in Google Kubernetes Engine

The official documentation doesn't mention (at the time of writing) how to add an SSD PV. This post details how to do that
Mansoor A
Mansoor A
1 min read
Google Cloud, HomePage

How to mount a Google Cloud Bucket in Linux

Easily mount a Google Cloud Storage bucket in a Linux file system using gcsfuse and use it as if a local disk attached
Mansoor A
Mansoor A
2 min read
HomePage

Enable SSH in Raspberry Pi without a monitor

If you are trying to setup your Raspberry Pi ( Running Raspbian ) without a monitor, you might be in for a surprise. Well, the new Raspbian versions do not have SSH enabled by default, and for good reason. Most people who setup a RaspberryPi do not even change the default password and they connect it to the internet. And these RaspberryPis become part of a botnet in no time. Anyways, let's see how to enable SSH. Enable SSH in Raspbian 1. Prepare the SD card with Raspbian 2. Connect
Mansoor A
Mansoor A
1 min read
HomePage

Installing WordPress in Docker using Nginx and Php-Fpm 7

It is evident that you don't need an introduction to Docker, WordPress or Nginx. So there is no point whatsoever in blabbering about each of these technologies, let's just jump right into the matter. In this article, we will be looking into how you can setup a WordPress site in a Docker container that will be using Nginx along with php7-fpm. What's included in this Dockerfile? The Docker image you create using the following Dockerfile will have the following * Ubuntu 16.04 * Nginx (latest a
Mansoor A
Mansoor A
1 min read
HomePage, Ops

Pritunl - Easiest way to setup OpenVPN

Setting up OpenVPN on your own server can be real pain in the a**. I know a lot of you would agree with me there. Today, I'll show you guys how to setup OpenVPN and manage users without any hiccups. I don't think this can get any easier. Enter Pritunl. You install a few packages and you're done. You have a fully functional VPN server with a web interface where you can manage your users, servers, organizations etc. What is Pritunl? Pritunl is a distributed enterprise vpn server built using the O
Mansoor A
Mansoor A
3 min read
HomePage, Ops

[SSHUTTLE] SSH tunneling made simple

Why SSH Tunnel? Consider the situation you are in a network you don't trust, like a coffee house. You never know who is snooping around the network for any kind of information they can collect. Or you are in a corporate network where the service you need is disabled in the network level, like spotify, or even steam. To make it worse, you do not have access to a VPN either. What do you do? Well, if you have an SSH account in a remote server, that could serve you well in this situation What is an
Mansoor A
Mansoor A
2 min read
HomePage

Setting up Arduino IDE

If you're here, you probably have a very good idea about what Arduino is and you just want to setup your local machine (Mac OS X, Ubuntu or any other Linux Distro, or Windows ). Let's jump right into it, rather than blabbing about other stuff you actually don't care about at this moment. Installing the IDE First of all, you have to download and install the software bundle. Ubuntu and other Debian based systems Open up a terminal and issue the following command to install the Arduino IDE and ot
Mansoor A
Mansoor A
2 min read