Sometimes, when trying to create an AWS EC2 instance in Terraform, you might come across an error similar to:
Error: creating EC2 Instance: VPCIdNotSpecified: No default VPC for this user. GroupName is only supported for EC2-Classic and default VPC.
For example, I wanted the current logged user in my Ubuntu desktop, to be added to the
sudoers file. That was important for me because I wanted to run
podman. In order to do that, I’ve used several methods.
Alpine linux’s focus seems to be on being small and secure. A lot of things in Alpine linux are being done using the apk (Alpine Package Keeper) command.
All over the web, you might encounter some much needed files are archived using RAR, like your Linux course certification files, for example. That’s when, it’s useful to know how to extract them using the proper software.
This can happen after a fresh installation of CentOS. The /etc/resolv.conf is looking for a DNS that it can use but after a fresh installation, it usually comes empty. So, if the file has no DNS to look after, then it can not resolve hostnames. This should tell you that the current machine is using the wrong DNS server.