Category: linux

Improve performance on Linux VM or Physical machines 0

Improve performance on Linux VM or Physical machines

1 Inspect your current configuration If you have logical volumes, do as follow. Otherwise look at the instructions for resizing swap partitions. $> cat /etc/fstab # /etc/fstab /dev/mapper/vg_centos-lv_root / ext4 defaults 1 1 UUID=963b29a5-578a-4d05-bfb4-95d42057df57 /boot...

error: libudev.h: No such file or directory 0

error: libudev.h: No such file or directory

Problem: error: libudev.h: No such file or directory Solution: $> sudo yum install libudev-devel Another related error : /usr/bin/ld: skipping incompatible /usr/lib64/libudev.so when searching for -ludev /usr/bin/ld: cannot find -ludev collect2: ld returned 1...

Useful day-to-day linux commands to know 0

Useful day-to-day linux commands to know

Make directory recursive (that is create all subdirectories if they are missing) $> mkdir -p /opt/mediagateway/var/lib/gateway/settings/ Find filename that matches string $> sudo find / -name admin_* In this case it will search all...