Skip to content

Blog


Categories:

sudo for Windows

Post date:
Author:
Number of comments: no comments

In Windows, with the use of powershell, at some point in time you will feel the need to elevate the privileges while in the same terminal, akin to sudo in Linux. Two options are mentioned below. Using runas verb as below. This launches a new window. Using gsudo from here, which is my personal favorite. […]

Categories:

Kubectl installation on Windows

Post date:
Author:
Number of comments: no comments

I found it easier to keep executable files that are not managed by Windows itself in a custom folders at “C:\Program Files (Folder)”. Executables are placed under their individual folder, path to which gets added to the Windows machine’s Path variable. Find the latest version of kubectl from here. CD into the folder where you […]

Categories:

WSL Issues

Post date:
Author:
Tags:
Number of comments: no comments

How to fix “Access is denied” error when starting WSL? Shutdown WSL using the following command in any terminal. Don’t worry, this will NOT shutdown your windows PC. Once the above command returns, start bash as administrator. WSL should greet you with Linux prompt. How to upgrade WSL – Ubuntu LTS Linux distribution? Update and […]

Categories:

Replacing Bad Hard Drive in Linux

Post date:
Author:
Number of comments: no comments

This is an eventual possibility that one has to deal with someday when dealing with self maintained Linux systems. Due to many possible reasons a hard drive may develop unrecoverable bad sectors. The easiest approach to the solution is described here, not to mention that you have to be a little lucky for the drive […]

Categories:

Upgrading Gitlab on Debian: from stretch to buster

Post date:
Author:
Tags:
Number of comments: no comments

The one thing I most admire about Gitlab is its installation experience. The upgrades went through very smoothly all the time. This time though when I did “apt update” and “apt upgrade” it gave the following error message. Based on the error and after exploring Gitlab installation page for Debian here, it was clear that […]

Categories:

Linux: Setting static IPv4 address using terminal

Post date:
Author:
Tags:
Number of comments: no comments

Once logged into the linux machine, edit /etc/network/interfaces file using your favorite text editor. You would see something like this at the end of the file: Change the content of this line to say static instead of dhcp. Also add the other parameters as shown in the below code. Additionally to set IPv6 address to […]