Command History Auditing Enabling command history with timestamps and increasing the history size provides visibility into system operations. This helps track user activiites and troubleshoot issues: # /etc/profile.d/history_config.sh export HISTSIZE=10000 export HISTTIMEFORMAT="%Y-%m-%d %H:%M:...
Core Filesystem & Navigation Utilities ls: list directory contents pwd: print working directory (outputs absolute path of current session context) cd: change directory (alter shell execution context) rmdir: remove empty directories mkdir: create new directory structures rm: remove files or direc...
Prepare Required Files Use an SSH client like MobaXterm to connect to the remote Linux server and transfer the necessary packages: JDK, Apache Tomcat, MySQL, and optionally Nginx. Once uploaded, extract all archives in advance to streamline setup. # Extract JDK tar -zxvf jdk-8u151-linux-x64.tar.gz #...
The dd utility serves as a powerful tool for low-level data copying and conversion on Linux systems. It is frequently employed for generating files of specific sizes and performing rudimentary disk I/O performance analysis. Creating Allocated vs. Sparse Files When generating a test file, one can cho...
Enviromnent Preparation Before configuring the name service, ensure the underlying operating system is ready. Disable firewalls and SELinux temporarily to avoid interference during setup. # Stop firewall service dsystemctl stop firewalld # Set SELinux to permissive mode setenforce 0 # Install BIND p...
Check network interface address configuration ip address show # shorthand ip a Test network connectivity ping www.example.com Modify network interface address through a graphical TUI nmtui Shutdown commands # Shut down immediately shutdown now # Schedule shutdown in 5 hours shutdown -h 5 # Power off...
Fundamental Concepts What are Raw Devices, Character Devices, and Block Devices? A raw device (or raw partition) is a special character device that has not been formatted and is not accessed through the file system by the Unix/Linux kernel. Applications interact directly with these devices for read/...
Environment PreparationJenkins requires a Java Development Kit (JDK) and a build tool like Maven to function correctly. The following steps outline the installation of these dependencies on a Linux system.Installing OpenJDK 11Modern versions of Jenkins require Java 11 or later. It is recommended to...
Containers represent a OS-level virtualization method enabling isolated application environments. Unlike hardware virtualization, containers share the host kernel while maintaining process isolation through kernel features. Key differentiators from hypervisor-based virtualization: Initialization tim...
# Check system information $ uname -r # Display kernel version $ cat /etc/os-release # Show distribution details # Add MySQL YUM repository $ wget https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm $ sudo yum localinstall -y mysql80-community-release-el7-3.noarch.rpm # Install MySQ...