Debian / Ubuntu Linux Install Advanced Intrusion Detection Environment (AIDE) Software

AIDE (Advanced Intrusion Detection Environment) is a popular and powerful tool for monitoring file system changes on a Linux system. It can be used to detect and alert on any unauthorized changes to files, directories, and other system objects. Here are the steps to install and configure AIDE on Debian and Ubuntu Linux systems: Install … Read more

Linux Tune Network Stack (Buffers Size) To Increase Networking Performance

The networking performance of a Linux system can be improved by tuning the network stack buffers sizes. The buffer sizes can be adjusted using the sysctl command. Here are the steps to tune the network stack buffers size: Open a terminal or shell prompt on your Linux system. Verify that the net.core.rmem_max, net.core.wmem_max, net.ipv4.tcp_rmem, and … Read more

Linux Limit CPU Usage Per Process

In Linux, you can limit the CPU usage of a process by using the cpulimit command. Here’s how to use it: Install cpulimit on your Linux system, if it is not already installed. You can do this using your distribution’s package manager. For example, on Ubuntu or Debian, you can run: sudo apt-get install cpulimit … Read more

FreeBSD: pkg_version: corrupted record (pkgdep line without argument), ignoring

The error message “pkg_version: corrupted record (pkgdep line without argument), ignoring” indicates that the pkg_version utility is encountering a package database issue on your FreeBSD system. This error is typically caused by a corrupted or incomplete package database, and can occur when you install or remove packages. Here are the steps you can take to … Read more

FreeBSD Prevent Users From Seeing Information About Processes Owned by Other Users

By default, on FreeBSD, users can see information about processes owned by other users by running the ps command. However, you can prevent users from seeing this information by enabling the security.bsd.see_other_uids sysctl option. Here are the steps to prevent users from seeing information about processes owned by other users on FreeBSD: Log in as … Read more

How to Restart Network Interface in Linux

To restart a network interface in Linux, you can use the ifdown and ifup commands, which are used to bring network interfaces down and up, respectively. Here are the steps to restart a network interface in Linux: Open a terminal or command prompt on your Linux system. Type the following command to bring the network … Read more

Slackware Linux Restart / Start / Stop Networking Service Command

Slackware Linux uses the rc.inet1 script to manage the network configuration and services. To start, stop, or restart the networking service, you can use the rc.inet1 script with the appropriate options. Here are the commands to start, stop, or restart the networking service on Slackware Linux: To start the networking service, type the following command … Read more