You can limit bandwidth Per IP using Simple Queue as below. In following example 192.168.100.1 is the IP where required bandwidth Limit 1M Incoming & 1M Outgoing. Below is a rule for the same. /queue simple add name=”Queue-01″ max-limit=1M/1M target=”192.168.100.1″
Author: S. Sharad
Install xRDP in CentOS 7
XRDP is a package which allows RDP Connection from Windows Machine. Using this feature you can access the Desktop of your machine from any Windows Machine, Below are the steps. 1, Install following Packages. # yum install -y epel-release # Read More …
Install Xfce GUI In CentOS 7
Xfce is bare minimum GUI in Linux. Below are the steps to install the same. 1. Install following packages using yu, # yum install epel-release -y # yum groupinstall “Server with GUI” “Xfce” -y 2. Set this as default booting Read More …
Adding Password Protected Folder In Apache Server
If you wish to provide provide protection to some folder (/var/www/html/test) in Apache then follow the steps below. ■ Create Folder and Password File .htpasswd in /var/www/html/test # mkdir -p /var/www/html/test # htpasswd /var/www/html/test/.htpasswd user1 ■ Now create .htaccess file Read More …
nice and renice Command In Linux
nice command is used to modify scheduling priority of some running command or application. If we give a process a higher priority, then Kernel will allocate more CPU time to that process. There are two terms which one should pay Read More …
Delta RPM Feature In Linux
This package is used to save bandwidth and speed up download patches and rpm packages from the Internet. With Delta RPM, If package is available then only updates will be downloaded. New packages are downloaded completed. You can install this Read More …
Process Accounting In Linux 7
The latest Linux Kernel comes with very good feature of process accounting. Using this feature you can keep watch on the processes in Linux. Process accounting is the method of recording and summarizing commands executed on Linux. The modern Linux Read More …
Kernel Ring Buffer Messages – dmesg
The dmesg command is used to read all messages from kernel ring buffer. This information is very important to examine issues related to hardware or changes in hardware during runtime. You can get information as below. # dmesg To clear Read More …
List Block Devices In Linux
Below are the commands which list block devices in Linux. (Block Device – May be hard drive, Pen Drive etc.) [root@station5 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 68M 0 rom /mnt xvda 202:0 0 Read More …
Linux – Howto Increase swap Space In Runtime?
You can increase swap space in runtime as below. Below example shows howto add 1 GB swap space in existing swap space. Steps : 1. First check existing swap space. # free -mt 2. Create new zero filled file as Read More …