Linux

Configure network team using nmcli / NetworkManager

This is a short post on how to create a LACP network team with two member nics using NetworkManager and nmcli. Configuring av network team is very similar to creating a bond. First we need to install the teamd package if it is not already installed. # yum install teamd I have also included a […]

Read More
Linux

Exclude certain packages from yum-cron (but not from yum)

This is a solution for how you can exclude certain packages being updated when using yum-cron. Docker and kernel are packages I would like to exclude from yum-cron. The solution to this is to modify the /etc/yum/yum-cron.conf file adding this to the [base] section RHEL7/Centos7 [base] … exclude = kernel* docker* On RHEL6/Centos6 you can […]

Read More
Linux

Mount Samba share using gvfs-mount as normal user

This is just a shot note on how to mount a Samba or Windows CIFS share as a normal linux user using the gvfs-mount command in Centos 7 or RedHat 7. Mounting a mountpoint share using the username user and password [user@host] gvfs-mount smb://username@192.168.0.200/shared-folder If the command finishes without any errors you can now access […]

Read More
Linux

Installing Open vSwitch on CentOS 7

This post describes how to install the most recent version of Open vSwitch (ovs) on CentOS 7 and might be the base for future posts about using KVM as virtualization platform. Open vSwitch is a production quality open source software switch designed to be used as a vswitch in virtualized server environments. A vswitch forwards […]

Read More
Linux

Generate a GRUB configuration file

It is sometimes needed to create a new, modify og recreate the grub configuration file. One easy tool to regenerate the config file is the command grub2-mkconfig. This command has helped me add a grub Windows startup option after installing CentOS 7. Write the output of the command to console # grub2-mkconfig Write a new […]

Read More