Category: Developement
Interesting Developer Topics
With the change of docker desktop licensing terms this article shows us how to run containers without docker desktop.
Kubectl installation on Windows
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 […]
WSL Issues
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 […]
Postgres database corruption errors
There are times due to one reason or other Postgres database might report errors like below: This indicates the one of the databases on the server was corrupted due to mostly a hardware failure e.g. bad sectors in a hard disk. It is always better to try to recover the data or repair the hard […]
Replacing Bad Hard Drive in Linux
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 […]
Upgrading Gitlab on Debian: from stretch to buster
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 […]
Linux: Setting static IPv4 address using terminal
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 […]
Kubernetes cluster using Debian Buster on bare metal
This article is based on two separate articles that are found article 1 and article 2. The former describes using Ansible how to create a three node bare metal cluster(one master and two workers) on Debian Stretch. The later talks about creating a single node Kubernetes cluster on Debian Buster. This article is about using […]
Linux: SSH login without password
Remote Linux servers can be administered using SSH. Normally, local machine can connect to these servers using SSH using user id/password combination. Local machine can also be configured to remote into these servers using SSH without password. To make it work we have to generate a public/private key pair using ssh-keygen, and subsequently copy the […]