Overview The chkconfig command provides a way to query and modify system services across different runlevels. Developed by Red Hat under GPL, this tool manages the services that execute during various system boot stages, including persistent daemons. It is important to note that chkconfig does not i...
The dd utility is a foundational command-line tool in Unix-like operating systems, designed for low-level data duplication and transformation. Unlike high-level copy utilities, dd operates directly on raw blocks, making it indispensable for disk imaging, partition cloning, and generating determinist...
System identification begins with viewing machine identity and runtime statistics. The hostname utility displays or temporarily modifies the system hostname, though persistent changes require editing network configuration files rather than runtime invocation. $ hostname # Display system hostname $ h...
Network traffic filtering on RHEL-based distributions is handled by firewalld, which organizes rules into zones and requires explicit synchronization between permanent and runtime configurations. Verify the daemon's current state: systemctl is-active firewalld Initialize the service and configure it...
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...