Recent Blog Posts

Bridging

What is a bridge? A bridge acts just like a having an ethernet switch connected across two ethernet cards (NIC). Packets can flow in any direction as needed, intelligently, based on what MAC addresses are present on each network. What that means is that packets will only be echoed (or bridged across) to the other interface when that destination MAC address is on network (this is the same functionality provided by an ethernet switch, rather than...

Read More

Configuring VLANs Under Fedora/RHEL/CentOS

The configuration of VLANs under FC/RHEL/CentOS is something that I always end up looking in the “ifup” script and experimenting around with. This is made worse by there being two different conventions that can be used for the interface naming. Here’s how I set up VLANs. First of all, the base interface needs to be configured. Usually, it’s already got at least a stub file, which needs to be modified to have the following...

Read More

Force fsck on the next reboot or boot sequence

Force fsck on boot using /forcefsck By creating /forcefsck file you will force the Linux system (or rc scripts) to perform a full file system check. Login as the root: $ su - Change directory to root (/) directory: # cd / Create a file called forcefsck: # touch /forcefsck Now reboot the system: # reboot Force fsck on next boot using shutdown command The -F option force fsck on reboot, login as root and type the following command to reboot and...

Read More

Repair and rebuild Qmail configuration files on PLESK

  If for some reasons you’re having problems with the mail issues related to qmail server, you can repair and rebuild the qmail configuration files on your linux plesk dedicated server and at the same time restore settings for all the mailboxes which are present on your server. To get this done, plesk have an utility named mchk and you can use it as below: Restore all settings except for SpamAssassin configuration root#...

Read More

Basic disk quota management for an OpenVZ VPS

To set disk space, run the following commands: vzctl set CTID --diskspace $SoftLimit$:$HardLimit$ --save Example: [host-node]# vzctl set 101 --diskspace 6G:7G --save You could verify the space available with this command (ie : CTID =101) [host-node]# vzctl exec 101 df -h If you want remove disk quota: DISK_QUOTA=no This is also possible via this...

Read More