E-mail Authentication
Linux General,Introduction: We all send Email on our day to day life, We send mails from our Email client (Outlook, Thunderbird ) or from a Web interface (From browser), the mails gets transferred to the recipient. The question is, how secure is our message transfer. What is happening at the background. How the messages that we…
Read moreAPACHE PHP-FPM MOD_FASTCGI
Linux General,Here is a guide to install Apache with PHP-FPM(PHP-FastCGI Process Manager) and mod_fastcgi Apache PHP-FPM is an alternative implementation of PHP-FastCGI. In PHP-FPM the PHP process runs as a standalone without the need of web server. It listens for incoming requests on either a TCP or a Unix socket. The web server we use(apache in…
Read moreFind open ports on the Linux server using a script
Linux General,Find open ports on the Linux server using a script Create a .sh file with below script and set execute permission for the scrip file. #vi portscan.sh #!/bin/bash #The port numbers PORT1=21 #ftp PORT2=22 #ssh PORT3=25 #smtp PORT4=53 #dns PORT5=80 #http PORT6=110 #POP3 PORT7=143 #IMAP PORT8=443 #https PORT9=1433 #MSSQL PORT10=3306 #MYSQL PORT11=3389 #Microsoft-RDP PORT12=5432 #PostgreSQL…
Read moreRouting protocol commands list
Network,CCNA Routing Protocol Commands IP ROUTING #sh ip route // To view IP routing tables created on a Cisco router. Static Routing Routers are manually configured for networks that are not directly connected, to be able to route to all networks via the next-hop interface. Syntax: (config)#ip route 192.168.10.0 255.255.255.0 192.168.20.2 (config)#no ip route 192.168.30.0…
Read moreGeneral Switch commands
Network,Switch Commands Initial configuration of Switch1 with ip 172.16.10.16 >en #config t (config)#enable password cisco (config)#enable secret cisco (config)#hostname India-switch1 (config)#ip address 172.16.10.16 255.255.255.0 (config)#ip default-gateway 172.16.10.1 (config)#int f0/1 (config-if)#description Finance (config-if)#int f0/26 (config-if)#description Trunk (config-if)#exit (config)# Initial Configuration of 2950 Switch with ip 172.16.10.17 255.255.255.0 >en #config t (config)#hostame India-switch2 (config)#enable password cisco (config)#enable…
Read moreGeneral Router Commands
Network,Router Modes: Router> User mode Router# Privilege mode Router(config)# Configuration mode Router(config-if)# Interface configuration mode Router(config-subif) Sub Interface configuration mode Router(config-line)# Line mode Router(config-router)# Router configuration mode Global configuration mode in detail: Router> Can see Router config, but cannot change any settings Router# Can see Router config and move to config make changes Router#conf t…
Read moreNetwork Installation on Linux using NFS
Linux General,The following package must be installed tftp , tftp server dhcp nfs Configure Dhcp Install dhcp,copy /usr/share/doc/dhcp-xxxx/dhcpd.conf.sample to /etc/dhcp/dhcpd.conf cp -r /usr/share/doc/dhcp-xxxx/dhcpd.conf.sample /etc/dhcp/dhcpd.conf vi dhcpd.conf option domain-name “your domain name”; option domain-name-servers YOUR-SERVER ; default-lease-time 600; max-lease-time 7200; allow bootp; allow booting; ignore client-updates; ddns-update-style none; not authoritative; log-facility local7; subnet YOUR-NETWORK netmask 255.255.255.0 {…
Read moreOpen VPN Server Configuration on Linux
Linux General,Install Open VPN RPM. Dependencies openssl lzo pkcs11-helper Download openvpn-<version>.rpm , And install using this command rpm -ivh openvpn-<version>.rpm It will create folder under /etc/openvpn and /usr/share/doc/openvpn-2.1.1 cp -r /usr/share/doc/openvpn-<version>/easy-rsa /etc/openvpn cp -r /usr/share/doc/openvpn-<version>/sample-config-files/server.conf /etc/openvpn we have to copy the “easy-rsa” folder and “server.conf” file from /user/share/doc/openvpn-<version>… to…. /etc/openvpn Then go to /etc/openvpn cd /etc/openvpn…
Read moreNetworking Concepts, in RHEL 7 or CENTOS7.
Linux General,Let’s see the networking concepts, in RHEL 7 or CENTOS7. You should concentrate on these if servers upgrade: We usually edit the network configuration file in the older versions to manage IPs. under /etc/sysconfig/network-scripts/ In the new version no more editing is required. We can add, modify, delete the IPs using the tool called NMCLI…
Read more