Linux
Install locate on CentOS and Debian
Install locate on CentOS and Debian Use the following commands : Debian : apt-get install locate CentOS : yum install mlocate
Linux
Install locate on CentOS and Debian Use the following commands : Debian : apt-get install locate CentOS : yum install mlocate
Linux
REGEX Tutorial Regular Expressions
Windows
How to shutdown or restart Windows 8 from an Remote Desktop Connection (RDP) Navigate to the Desktop and press Alt+F4 This will present the Shut Down Windows dialog allowing you to Switch user, Sign out, Sleep, Shut down, or Restart the computer:
Networking
Install and configure the Net-SNMP agent (snmpd) on Ubuntu, Debian, RHEL, Rocky or Alma Linux: listen on the network, allow a v2c community only from your monitoring server, create an encrypted SNMPv3 user, open the firewall and test with snmpwalk.
Linux
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’.
Networking
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
Networking
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 Ping Time Interval – wait 0.2 seconds before sending
Networking
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
Networking
Restarting an interface in Ubuntu Server How to restart a network in Ubuntu Server without reboot sudo ifdown eth0 && sudo ifup eth0
Windows
Windows 10 Installation: How to Fix 80240020 Installer Bug Navigate to the C:WindowsSoftwareDistributionDownload folder and erase all the data in it. Click on the Start button, search CMD and right click on the icon and choose Run as Administrator. The command prompt will appear on the screen. Type wuauclt.
Networking
Install nslookup on CentOS For install nslookup, dig, host you need bind-utils pakage. Just run the command: sudo yum install bind-utils
Security
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: