/etc/rsyslog.conf is the configuration file using to manage the log file to write in the /var/log/*.log respective log files. [student@workstation ~]$ cat /etc/rsyslog.conf | grep -v “#” global(workDirectory=”/var/lib/rsyslog”) module(load=”builtin:omfile” Template=”RSYSLOG_TraditionalFileFormat”) include(file=”/etc/rsyslog.d/*.conf” mode=”optional”) *.info;mail.none;authpriv.none;cron.none /var/log/messages authpriv.* /var/log/secure mail.* -/var/log/maillog cron.* /var/log/cron Read More …
Category: OS Configurations
In Linux, how to setup the MTU for network interface
MTU (Maximum Transmission Unit) is related to TCP/IP networking in Linux/BSD/UNIX. It refers to the size (in bytes) of the largest datagram that a given layer of a communications protocol can pass at a time. You can see current Read More …
How to Reset Forgotten Root Password in Redhat 8/CentOS 8
Reset Forgotten root Password in CentOS 8 First, reboot or power on your Redhat 8/CentOS 8 system. Select the kernel you want to boot into. Next, press ‘e’ on the keyboard to interrupt the boot process and make changes. Redhat 8/CentOS Read More …
How do I disable or enable the IPv6 protocol in Red Hat Enterprise Linux / CentOS
Disabling IPv6 support in Red Hat Enterprise Linux 8 Disable ipv6 built-in kernel module. Edit /etc/default/grub and append ipv6.disable=1 to GRUB_CMDLINE_LINUX like the following sample: GRUB_CMDLINE_LINUX=”rd.lvm.lv=rhel/swap crashkernel=auto rd.lvm.lv=rhel/root ipv6.disable=1″ Run the grub2-mkconfig command to regenerate the grub.cfg file: # grub2-mkconfig Read More …