Posts

How to Find File on Redhat 8

How to Find/Search File and Folder on RHEL 8 There are two common commands are available to search files and directories inside the file system in redhat/centos Linux base operating system. The command that we will discuss with examples to search files and directories are “find” and “locate”. Find: The command “find” is use to search the files and directories inside the local file system in real time as per the given criteria command line argument. User id that use to find the file inside the directory must have the read and executable permission of the directory. The first argument in find command is the directory if directory is not define in command, find command search file on the current working directory and their sub directories. Multiple options are available to find the files, searches can be based on the file name, file size, last modified time stamp, and other file characteristics in any combination. The find utility is install during the installation of operating system. If...

How to Create Softlink and Hardlink on Redhat 8

Create Softlink and Hardlink on Redhat 7/Redhat 8/Redhat 9/Centos 7/Centos 8 Hard links and soft links to make the multiple name points to same file. Soft link: Soft link is also known as symbolic link or short pointer. By use of Soft link main file (regular file) link with multiple Soft link (non-regular files). With the help of soft link important files can be read from less privilege user id. In soft link main file (regular file) remain safe if soft link non-regular file delete but if main file (regular file) delete all other soft link non-regular files become unusable because it work as readable copy of main file. Soft link main file (regular file) and soft link non-regular files have different inode number, soft link non-regular files have also different permission as soft link main file (regular file) and the permission of soft link non-regular files is not change. Soft link allow link files between the directories and different file systems (mount points). The soft link in Lin...

How to Troubleshoot Problems by using logs on Redhat

How Troubleshoot Problems by using logs/Log Files/Systemd-Journald (journalctl) on Redhat 7/Redhat 8/Redhat 9 Logs is a data that main purpose is to store the activity of user’s, application, operating system etc. The main purpose of logs in a machine identify the error for the resolution of issue. In an operating system log files has created of applications, machine activities, and emails for store the information that will help the administrators to identify then resolve the issues. Actually, logs improve the detection of the problem, minimize the response time for resolve issue, increase overall security of the system and identify the breaches. Here we discuss the logs files and logs types of Redhat base operating system that will helpful to identify the issues for resolve. Accurate time of machine is very import for logs; set current time, time zone and NTP synchronization settings of the system if system is using NTP (Network Time Protocol) or chrony. The standard logging system...

How to Install and Configure Podman on Redhat 8

Image
Installation and Configuration of Podman/Docker on Redhat 8/CentOS 8 Container normally work on single process, when container run the process start and container stop working the process of container will stop, but process have multiple process inside it. Redhat have prebuilt runtime Universal Base Image (UBI) that is use for containers for save storage and network utilization when multiple application use same base image. Universal Base Image (UBI) RPM similar to red hat rpm but have limited number of rpms and their updates because UBI is a subset of Red Hat Enterprise Linux. When Universal Base Image (UBI) run on red hat enterprise Linux (RHEL) the repository of RHEL is automatically enable for UBI. Traditionally System Administrators manage disk image, virtual machines to reduce  operational overhead, increase automation, improve reliability and increase security on an organization While Containers have improved the deployment, development, and maintenance of applications. Co...

How to Install and Configure Nginx with Reverse Proxy and Load Balancing on RedHat 8

Image
Installation and Configuration of Nginx Web Server with Reverse Proxy and Load Balancing use SSL Certificate of Active Directory Certificate Service (ADCS) on RedHat 9/Redhat 8/Redhat 7/CentOS 8/CentOS 7 Nginx is an open source Linux base software that use as a web server, load balancing, reverse proxy, caching, etc. Nginx work as reverse proxy and load balancer for websites on protocol http and https, nginx is also work as proxy server for email that work on protocol IMAP, POP3, and SMTP. Nginx as a Web Server support up to large number of concurrent connections that is 10k, this is the main reason nginx as a web server provide better performance and stability as compare to apache web server on Linux base operating system. Nginx Web Server is the fastest web server available due to its lightweight and non-blocking architecture that use less memory and CPU (Central Processing Unit). The main work of nginx that is famous are reverse proxy and load balancer to facilitate the incoming tra...