How do I mount a NFS FS which doesn’t support locking?
#mount -o nolock server:/mount/point
How do I mount a NFS FS which doesn’t support locking?
#mount -o nolock server:/mount/point
How can I verify a package (check for modified configuration files or binaries) in a Debian like distribution (Debian, Ubunut, Mint, etc.)?
#dpkg -V <package_name>
Is there any script or utility or way to check if you are running in a virtual machine or in a physical server?
You can install the package virt-what, that is basically a script displaying the type of VM inferred from the system or if you are in a physical machine.
How do I disable the Network Manager in Redhat distros?
It can be disabled on single interfaces by adding the below line to the /etc/sysconfig/network-scripts/<IFCFG_FILE>
NM_CONTROLLED=no
And you need to restart network services.
How can I query the audit daemon logs?
With the command ausearch
For instance #ausearch -m avc -ts recent
How to display cgroups virtual file system hierarchies?
With the command $lssubsys -M
(you need the package libcgroup and libcgroup-tools installed)
How to disable the route 169.254.0.0 (also known as “APIPA address”) in Redhat distros ?
Just insert NOZEROCONF=yes or NOZEROCONF=no in the file /etc/sysconfig/network and then restart the network services.
How can I set Jumbo frames?
#ip link set eth0 mtu 9000
Where are logged FTP events traditionally?
In /var/log/xferlog
I get the error “autoreconf not found” when trying to build a package from sources
Please check that you have installed the package autoconf.