Skip to content

Tag: Linux


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:

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 […]

Categories:

Linux: SSH login without password

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

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 […]