Virtualization

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
Linux

cdp by using tcpdump

If you do not have a cdp command available on your linux server, then tcpdump can be used instead. $ sudo tcpdump -nn -v -s 1500 -c 1 ‘ether[20:2] == 0x2000’ -i eth0 tcpdump: listening on bond1, link-type EN10MB (Ethernet), capture size 1500 bytes 08:53:01.946674 CDPv2, ttl: 180s, checksum: 692 (unverified), length 254 Device-ID (0x01), […]

Read More
Linux

Using xpra to run remote X applications

This post describes how you can run a X application on a host and view it on another. Xpra is a tool which allows you to run X programs — usually on a remote host — and then direct their display to your local  machine, disconnect  from these programs, and reconnect from the same or another […]

Read More
Linux

Replace firewalld with iptables in CentOS 7

This is a short HOWTO replace or disable firewalld with iptables in CentOS 7. Install iptables service # yum -y install iptables-services If you would like to save the firewall rules you need to run the following command # iptables-save > iptables-rules.txt These rules can be added to /etc/sysconfig/iptables but I usually use the rules […]

Read More