Fading Coder

One Final Commit for the Last Sprint

Installing Docker CE on CentOS 7 via YUM Repository Configuration

System Prerequisites Verification Prior to installation, verify the operating system release to ensure compatibility, as Docker requires a CentOS 7 environment or newer. This can be checked using the following command: lsb_release -a Additionally, the system architecture must be 64-bit with a kernel...

Linux System Administration and Monitoring Commands

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...

Enhancing Linux System Security Through Practical Optimization Techniques

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:...

Deploying BIND DNS for Bidirectional Lookup Resolution

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...

Deploying MySQL 8.0 on Windows Without an Active Internet Connection

Preparation and File Retrieval Obtain the distribution package for the latest stable build from the official archive. Alternatively, transfer a verified installer package from another machine to ensure compatibility with your environment. https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.39-wi...

Configuring CentOS 7 Virtual Machines on VMware Workstation

Prerequisites and Initial Setup To begin, ensure you have VMware Workstation installed and a CentOS 7 ISO image available. When creating a new virtual machine, follow the standard wizard prompts. If the installation fails due to an Intel VT-x error, access your computer's BIOS/UEFI setings, locate t...

Setting Up a Three-Node Elasticsearch Cluster on CentOS 7

Prerequisites Java Runtime Environment Install the Java 8 runtime environment: yum install -y java-1.8.0 Swap Deactivation Disable swap memory to ensure stability: # Edit fstab to comment out swap entries vim /etc/fstab # Immediately disable all swap partitions swapoff -a System Resource Tuning File...

Core Linux System Fundamentals and Essential Commands

Linux Distributions and Advantages Linux offers a diverse range of distributions tailored to different use cases. The Red Hat ecosystem includes Red Hat Enterprise Linux (RHEL), Fedora, and CentOS. Ubuntu (widely adopted in automotive and cloud environments), SUSE, and Debian are other prominent dis...

Fortifying CentOS Against Common Security Threats

Social engineering involves deception where attackers impersonate trusted entities to trick users into revealing credentials or sensitive data. Malicious login attempts often utilize automated tools for brute-force or dictionary attacks against user account passwords. Sensitive information exposure...

Shell Command Patterns for System Administration

Automated Service Startup with Password Authentication The following expect script handles services requiring sudo access: #!/usr/bin/expect set timeout 5 spawn mysql.server start echo "MySQL service started successfully" spawn sh /opt/app/tomcat/bin/shutdown.sh spawn sh /opt/app/tomcat/bi...