$ free -t -m
$ vmstat
$ vmstat
Linux Operating System, linux OS, Linux Tips, Linux Tricks, Linux, Linux Fundas,
First open /etc/squid/squid.conf file# vi /etc/squid/squid.conf
Locate your ACL section and add configuration directive as follows:acl block_port port 1234
http_access deny block_port
http_access allow all
If you just want to skip a particular IP (192.168.1.5) try as follows:acl block_port port 1234
acl no_block_port_ip src 192.168.1.5
http_access deny block_port !no_block_port_ip
http_access allow all
Close and save the file.
Restart squid proxy server:# /etc/init.d/squid restart
##########################################################################################
PROXY & YUM
tar -xvf file.tar | unzip tar file |
tar -t file.tar | list contents of tar file |
tar -xvfz file.tar.gz | unzip tar.gz file |
tar -xvfj file.tar.bz2 | unzip tar.bz2 file |
gunzip file.gz | unzip gzip file |
unzip file.zip | unzip zip file |
bunzip2 file.bz2 | unzip bzip2 fil |