Posts

Showing posts from June, 2013

Log analyzers: Squint Configuration and Tuning

Question: 1. how to install squint? 2. how to restart squint? 3. how to set schedule timer for update at squint? 4. how can we create user for squint? Solution: 1. Squint Installation: root@proxy:~# wget www.ledge.co.za/software/squint/squint-0.3.8.tar.gz [root@mail ~]# tar -zxvf squint-0.3.8.tar.gz squint-0.3.8/ squint-0.3.8/Makefile squint-0.3.8/COPYING squint-0.3.8/Changelog squint-0.3.8/TODO squint-0.3.8/fakenames squint-0.3.8/INSTALL squint-0.3.8/userlist squint-0.3.8/squint.cron.sh squint-0.3.8/squint.pl root@proxy:~# cd /root/squint-0.3.8 root@proxy:~# cp squint.pl squint.cron.sh /usr/local/bin root@proxy:~# squint.cron.sh init root@proxy:~# squint.cron.sh all 2. Restart Squint: root@proxy:~# squint.cron.sh all 3. Set the update schedule everyday at 1:30 PM from corn.d file like this way, root@proxy:~# vim /etc/crontab # m h dom mon dow user  command # squint squid reports # Weekly, on Mondays 00 01 * * *  root /usr/lo

Webmin Configure

1 .apt-get update     apt-get upgrade 2. wget http://prdownloads.sourceforge.net/webadmin/webmin_1.590_all.deb 3. dpkg --install webmin_1.590_all.deb ############# http://webmin.com/deb.html ################# webmin password change: /usr/share/webmin/ changepass. pl /etc/webmin username password

DHCP Server Configure:

1: apt-get install isc-dhcp-server 2. vim /etc/dhcp/dhcpd.conf Edit these two lines: option domain-name "bol-online.com"; option domain-name-servers 202.84.32.22, 202.84.32.23;            [ DNS ] And also these three lines: subnet 192.168.4.0 netmask 255.255.255.0 { range 192.168.4.1 192.168.4.20 ; option routers 192.168.4.254 ;                        [ Local Gateway ] } 3. /etc/init.d/isc-dhcp-server restart