REGEX Tutorial Regular Expressions
REGEX Tutorial Regular Expressions
REGEX Tutorial Regular Expressions
Configure SNMP on Linux Ubuntu and Redhat Configure SNMP on Debian or Ubuntu To install SNMP agent (snmpd) on a Debian-based system, run the following command: apt-get install snmpd Then edit its configuration of /etc/snmp/snmpd.conf file. # Listen for connections… Continue Reading
Cacti Host Status Unknown If the status of your device remains ‘Unknown’, ensure that you have added graphs to that device. If there are no graphs, Cacti will not poll the device, and the status will remain ‘Unknown’.
Remove CD-ROM from apt-get repositories in Debian 8 You need remove or comment the reference to the CD/DVD from the /etc/apt/sources.list example: # deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ – Official amd64 DVD Binary-1 20150906-11:13]/ jessie contrib main Login to your … Continue Reading
How do I check a reverse PTR record From linux type: dig -x xx.yy.zz.aa xx.yy.zz.aa = The IP address you’re trying to resolve You’ll get an answer with your authority of aa.zz.yy.xx.in-addr.arpa and server resolving to this address. From windows… Continue Reading
7 Ping Very Useful Examples Ping command is used to find out whether the peer host/gateway is reachable. 1. Increase or Decrease the Time Interval Between Packets You can increase or decrease this using option -i as shown below. Decrease… Continue Reading
Nslookup Command Examples To Check DNS Records Find out the domain IP address / A record [root@web ~]# nslookup arstech.net Server: 213.136.95.11 Address: 213.136.95.11#53 Non-authoritative answer: Name: arstech.net Address: 213.136.71.197 Find out the domain MX record [root@web ~]# nslookup… Continue Reading
Restarting an interface in Ubuntu Server How to restart a network in Ubuntu Server without reboot sudo ifdown eth0 && sudo ifup eth0
Install nslookup on CentOS For install nslookup, dig, host you need bind-utils pakage. Just run the command: sudo yum install bind-utils
Fail2ban Unban Single Host run: iptables -L For example we need to unban 10.110.11.16 Then get the actual jails list: fail2ban-client status Unban command is: fail2ban-client set jailname unbanip m.y.i.p For unban 10.110.11.16 IP from asterisk jail run command: fail2ban-client… Continue Reading