If you're using KVM for virtualization you may notice that your ethernet device that is attached to the bridge may have different names each time KVM restarts, and KVM manages attaching/detaching this interface to the bridge by itself. If you're using standard linux bridge you can check attached ports: brctl show This gives you current … Continue reading KVM Persistent Interface Names
If you want your virtual machine to start when host starts, there are two ways to do this. First one uses command line and pretty straightforward. Second one uses virt-manager (a GUI to manage kvm guests) Command line: virsh autostart <domain> Replace domain with your virtual machine name (case sensitive). For instance, if you have … Continue reading Autostart KVM Guest on System Boot
If you ever needed to build openvswitch for Centos 7 (including kernel module) this post may help you. Commands to build a RPM: Download openvswitch source. I've tested with 2.7.x and 2.9.x series. So I recommend you to do the same. It can be found at (if link becomes absolute look for a newer one, … Continue reading Openvswitch RPM build on Centos 7
You can configure your linux bridge (brctl operates them) as a hub (if you want to) with setting the aging property of the bridge to 0 as below: brctl setageing <bridge> 0 This make your bridge to behave as a hub. Most of you may not remember a network hub's functionality that is different from … Continue reading Linux Bridge as Hub
if you need to change your previous directory rapidly you can add - (dash) to your cd command and no more arguments. For instance: if you were in: /etc/apt/sources.list.d/ and now in: /home/myuser you can easily go back to /etc/apt/sources.list.d/ with the command cd -
You've downloaded Ubuntu ISO from a mirror and want to test or install it to your computer. There are many ways to do this but I'll share my method which requires no additional tools or software in this post. Additionally you can use this method in order to create bootable USBs for other ISOs if … Continue reading Create (Prepare) Bootable USBs from Ubuntu ISOs – No Additional Tool or Software Required!
If you do not have screen off function keys in your keyboard then you can use following commands to turn your screen off. First you need to find out your screen identifier: $ xrandr --listmonitors Monitors: 1 0: +*LVDS1 1600/310x900/174+0+0 LVDS1 Then turn screen off with the following cmd: xrandr --output LVDS1 --off This will … Continue reading Turn Off Screen on Linux with Command Line