Starting VSCode in Linux:
while as a root user:
Installed the VSCode (forgot exact way - but was easy, just googled). when trying to start VSCode by using code ., got this error: You are trying to start Visual Studio Code as a super user which isn't recommended. If this was intended, please add the argument `--no-sandbox` and specify an alternate user data directory using the `--user-data-dir` argument. Tried different ways to run it:...
An interesting case study - GitHub services outage
This interesting video by Kevin Fang explains the events very well.
sudo dhclient eth0 everytime Linux starts
Problem: Was unable to connect to internet in the VM, and found the solution as described in a previous blog post.
The problem that remains is - had to sudo dhclient eth0 everytime when the VM restarts. Is there a way to do this automatically?
Solution:
Using this post:
https://superuser.com/questions/151936/how-to-automate-running-the-dhclient-in-ubuntu
tried the steps:
You should check your network configuration in:
/etc/network/interfaces
If you want DHCP, it should be something like this:...
Internet doesnt work in vm Kali Linux (on VMWare Player)
While using a Kali Linux VM on VMWare Player, faced issues connecting to the internet from the VM.
The VM Settings have Network Adapter = NAT
Found after troubleshooting:
ifconfig was not showing eth0 (only lo) (refer to 1 in Image 1)
Got an idea to UP this by: https://reachsibi.wordpress.com/2021/01/08/how-to-fix-the-error-network-unreachable-when-you-ping-any-domain-computer-in-kali-linux-2020/
Then this post here was useful to figure out that need to execute:
sudo dhclient eth0 Summary:
Check ifconfig shows eth0....
Docker
Docker Docker wants to make “installing” and running software super easy, without you needing to worry about dependencies (prereqs) required on the system (docker image will help with that).