Ubuntu advice

Runlevels

If you want to reboot to a console, just change the default runlevel. On next boot, it will boot to a console.

sudo systemctl set-default multi-user.target

To change back to gui login..

sudo systemctl set-default graphical.target

Holding back upgrades

There are various ways to do this using dpkg, apt or other commands. These are just some places to start looking.

If there is a specific package that you don’t want upgraded, try configuring unattended upgrades:

/etc/apt/apt.conf.d/50unattended-upgrades

take a look at the sudo apt policy for the installed package, make note of the installed version:

sudo apt policy kubernetes

Take a look at the updates proposed:

sudo apt-get clean
sudo apt update
sudo apt list --upgradable

Finally, the update frequency must be defined in this file: /etc/apt/apt.conf.d/20auto-upgrades

sudo apt-mark hold kubectl sudo apt-mark showhold

2021

Troubleshooting sound in Linux

less than 1 minute read

When your monitor connection is HDMI but the monitor doesn’t have speakers. Sound works over HDMI, but not in the headphone jack. Some have the opposite prob...

Lab migration notes

2 minute read

VLANs by design VLANs need to be defined somewhere by an ID, for example: 42. If a parent organization is defining networks by VLANs, there is already an exi...

Binary analysis

less than 1 minute read

If you want to start exploring binaries, this might be a good place to start: http://pwnable.kr/

Searching for elastic

less than 1 minute read

After reviewing the video guide on elastic’s website, it seems like it could be easy to just grab the executable and start it (now that Java comes with the p...

Back to top ↑