Linux Basic Practice Multiple Choice Questions – 22

106. Question: To temporarily save iptables rules, the command used is iptables-save > ____. Option 1: rules.txt Option 2: config.rules Option 3: iptables.conf Option 4: saved-rules Correct Answer: 1 Explanation: To temporarily save iptables rules, the command iptables-save > rules.txt is used. This command saves the current firewall rules to a file named “rules.txt” for … Read more

Quick Start Guide to Ansible for Operations Management (Part 1)

Ansible is an automation tool for operations management based on Python. Ansible is an automation tool developed in Python that communicates with remote hosts using the SSH protocol, eliminating the need to install clients or agents on the managed end. Its core functionalities include batch system configuration, program deployment, command execution, and multi-task orchestration, supporting … Read more

Ansible Playbook in Action: One Script Managing 1000 Servers, Boosting Operational Efficiency by 10 Times

Ansible Playbook in Action: One Script Managing 1000 Servers, Boosting Operational Efficiency by 10 Times

Linux Cloud Computing | Daily Practice | Practical Tools | Career Development 💥 “Manually SSH logging into 100 servers to change configurations, working overtime until dawn and still missing some?” “Inconsistent environments across different machines, crashing upon deployment?” “Mistyping commands during late-night deployments and being held accountable?” These operational “nightmare scenarios” are essentially due to … Read more

Introduction to Linux (Part 4)

Introduction to Linux (Part 4)

First, let me ask a question: How can we check what Name Server records a domain has? Linux provides a number of network-related commands. Since these network commands are quite scattered, I have organized the commonly used network commands from the following perspectives: Remote operations; Check local network status; Network testing; DNS queries; HTTP. This … Read more

OpenWrt Security Hardening Guide (Part 1): Securing Remote Access

OpenWrt Security Hardening Guide (Part 1): Securing Remote Access

Many friends have probably experienced OpenWrt, right? Have you felt its powerful and outrageous features due to its open-source and customizable nature while building your own “super router”? However, with the freedom that open-source brings, users also need to take on more security responsibilities. In this series, we will discuss the security hardening of OpenWrt, … Read more

Quick Start with Ansible for Automated Operations and Maintenance (Part 1)

Quick Start with Ansible for Automated Operations and Maintenance (Part 1)

First, my system is Ubuntu 24.04 LTS, operated as the root user;The first step is to install, then check the version, followed by generating keys and verifying; the commands in the screenshot can be typed manually, do not copy directly at the beginning;Next, a small script is used to distribute keys in bulk; the first … Read more

Kali Linux Configuration Notes

Kali Linux Configuration Notes

1. Set Time Zone Right-click on the time -> Properties -> Select a city in the East Eight Time Zone (Singapore) 2. Modify Username or Hostname Display // Modify ~/.zshrc file vim ~/.zshrc // Change emoji to @ 3. Set Up SSH Passwordless Login // Generate key pair // Public key (id_rsa.pub) and private key … Read more

In-Depth Analysis of Linux SSH Principles and Practical Configuration of Oracle RAC Cluster Mutual Trust

In-Depth Analysis of Linux SSH Principles and Practical Configuration of Oracle RAC Cluster Mutual Trust

Note: This article is an original work by Liu Feng from Anyatech. Please respect intellectual property rights. When sharing, please indicate the source. No plagiarism, adaptation, or unauthorized reproduction is accepted. Introduction In daily Linux system management and Oracle RAC cluster deployment, SSH serves as both a “secure remote gateway” and an efficient “bridge” for … Read more