Categories
Linux Networking

Linux – 10 Useful Networking Commands

Linux is powerful operating system and open source. It provides many inbuilt networking commands for troubleshooting. Here 10 useful networking commands. 1. ifconfig – configure a network interface We can configure network interface related parameters using the ifconfig command, in general, we use ifconfig command to check the IP address.  root@kali:~# ifconfig 2. dig: DNS lookup utility dig […]

Categories
Java Programming

Java:OOPs concept – Data hiding

Data hiding: The data hiding provides data integrity and data security and the other class member or method cannot access them directly our class methods if we can to access we can provide the public methods. Providing class data members not access to other class is called Data hiding. In Java, we can achieve data […]

Categories
Linux

SFTP files upload and download automation in Linux using shell script

SSH File Transfer Protocol (also Secure File Transfer Protocol, or SFTP) is a network protocol that provides file access, file transfer, and file management over any reliable data stream SFTP server default port is 22. sftp command syntax : (man sftp) sftp [-1Cv] [-B buffer_size] [-b batchfile] [-F ssh_config] [-o ssh_option] [-P sftp_server_path] [-R num_requests] [-S program] [-s […]

Categories
Networking NGINX

How to install NGINX and configure as a Proxy or Load balancer server on Windows/Linux machine in simple steps

NGINX is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. NGINX is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption. Download NGINX software. click here to redirect NGINX software download page. Installation and run on window machine: i. Copy downloaded […]

Categories
Apache Tomcat

How to install Apache Tomcat 9.X.X on Windows OS machine

Prerequisites  Java8 or later version installed Windows (64/32 bit) Operating System machine. Step 1: Download Apache Tomcat from Apache site (https://tomcat.apache.org/) under Download section. Step 2 : Post download of Apache Tomcat binary copy to any folder. Example: If we are copying to E:\ drive, create one folder as “tomcat” and the copy under tomcat […]