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
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