How to configure Static routing in Linux

Static routes can be added usually through “route add” or “ip route” command. However, “route add” command configures routing on the runtime and doesn’t persist the configuration after a reboot. To make it persistent across reboots, you have to add it to /etc/sysconfig/network/route file for SUSE . For example, static routes for the eth0 interface Read more about How to configure Static routing in Linux[…]

Increase Postfix Mail Size Limit

Quick note on how to increase the mail size limit in postfix…. The configuration option is “message_size_limit” and by default is set to 10240000 bytes which is roughly 10MB. You can see what setting your postfix is by running: postconf message_size_limit For the default setting, you’ll see this: message_size_limit = 10240000 To change the setting Read more about Increase Postfix Mail Size Limit[…]

Disable the filesystem check (fsck) at boot time

Options Available Filesystem tunable Grub boot parameter Placing command files on your root device Active reboot without FSCK Filesystem tunable Use the tune2fs command to tell your filesystem to have a max count of mounts before a check to 0 to disable it. # tune2fs -c 0 /dev/sda1 Parameter reference: -c max-mount-counts Adjust the number Read more about Disable the filesystem check (fsck) at boot time[…]

Remount a read only file system – Linux

I had an issue that occured when a FSCK scan was forced but then failed with a memory shortage issue – To get the OS back up and running and my services i did this (i will run the fsck again but i needed a server back in production) #mount -o remount,rw \ #init 1; Read more about Remount a read only file system – Linux[…]