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
Install locate on CentOS and Debian Use the following commands : Debian : apt-get install locate CentOS : yum install mlocate
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
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
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
Increase File Upload Size in PHP-Nginx How to fix “[error] client intended to send too large body” in Ubuntu Edit php.ini: vi /etc/php5/fpm/php.ini Set: upload_max_filesize = 10M post_max_size = 12M Then change Nginx config file: vi /etc/nginx/nginx.conf … Continue Reading
Apt-Get Install Apache Tomcat 7 on Ubuntu 14.04 sudo apt-get update sudo apt-get install tomcat7 tomcat7-docs tomcat7-admin tomcat7-examples then type: http://your_ip_address:8080 in your browser, and you will see next screen-shot: If you see “It works!” your tomcat successfully installed Install… Continue Reading