My 7-year-old Lenovo was reaching the end of its life. While the processor and memory were still fairly capable, it was no longer able to effectively handle Windows.
Given this situation, and my interest in learning about Kubernetes, DevOps, and other cloud concepts, I decided to fully wipe and reboot my computer with Linux. I hadn't anticipated how customizable this experience would be. Here are some key learnings from my first week with Ubuntu:
1) Microphone Configuration and Persistence: The microphone was not configured correctly out of the box; the issue was sometimes due to the lack of noise cancellation. To resolve this, I had to modify several features within PulseAudio pulseaudio. Therefore, I struggled to make these changes persist across reboots. I lastely used the solution from this stack and executed the following command to ensure the changes "stuck":
echo 'pulseaudio --start' >> ~/.profile
2) Managing Python Virtual Environments: Another essential command I learned early on was how to create and manage virtual environments. The first answer from this stack has been a life saver for my work so far.
- Delete environment:
rm -rf .env
3) Keep Ubuntu updated to avoid crashing: Talking with some experience people about Ubuntu, it was shared that is recommended to keep it updated. So they recommend it run the code below everyday (ideally) or every week:
sudo apt-get update; sudo apt-get full-upgrade
One alternative, is to add this code in a text file and then convert it into an executable file. To do it:
- Open your cmd, create a file:
nano up.sh
- After confirm that the file was created, run the step below to convert the text file into an executable file:
sudo chmod a+x up.sh
4) Tools to help me learn: One good practice that I've got from work is to draw and document things that I've learned. Therefore, my favorite ones are Draw IO and Obsidian. One great tip for Obsidian, is to integrate in Git which make possible to use in any computer once you clone.
P.S.: This is a on going post for the next weeks. More updates are coming.
Top comments (0)