Installing Nginx on Rocky Linux 9

Installing Nginx on Rocky Linux 9

Installing Nginx on Rocky Linux 9 Hello everyone, I am Xing Ge. Nginx has become one of the mainstream choices for web service deployment due to its high performance, low resource consumption, and excellent reverse proxy capabilities. This article will guide you through the process of installing and configuring the Nginx service from scratch on … Read more

Data Communication Between Ethernet and WiFi in OpenWRT System

Data Communication Between Ethernet and WiFi in OpenWRT System

The OpenWRT system achieves data transmission between Ethernet (wired) and WiFi (wireless) through a multi-layer network architecture design and inter-process communication (IPC) mechanisms. Its core design includes network interface bridging, inter-process communication framework (ubus), firewall and routing rules, and unified configuration management system. The following are the specific implementation principles and key components: 1. Network … Read more

Minimalist Linux Deployment of Enterprise-Level MySQL Server | High Performance Support for Production Environments!

Minimalist Linux Deployment of Enterprise-Level MySQL Server | High Performance Support for Production Environments!

^_^Hello everyone, I am from Code Sea Intelligence!^_^ In enterprise applications, Linux is the preferred operating system for servers, primarily used for databases, middleware servers, and application servers. It is also leading in the deployment of large models that have recently gained popularity! 01 — Environment Preparation Download the Linux version of the MySQL server. … Read more

Real Linux Troubleshooting Scenarios: Firewall Configuration and Management

Real Linux Troubleshooting Scenarios: Firewall Configuration and Management

Scenario 294: Firewall Service Not Running Issue: The firewall service is not running, leading to insecure network access. Troubleshooting Steps: Check the status of the firewall service: systemctl status firewalld If the firewall service is not running, start it: systemctl start firewalld Enable the firewall service to start automatically on boot: systemctl enable firewalld Scenario … Read more

Security Measures to Prevent Injection Attacks When Deploying Large-Scale Models on Linux Systems

Security Measures to Prevent Injection Attacks When Deploying Large-Scale Models on Linux Systems

1. System-Level Hardening 1. Dynamic Firewall Configuration Firewall Configuration: Use firewall tools such as iptables or firewalld to strictly limit access to the model server. For example, only open specific ports required for model services and allow access only from trusted IP addresses or network segments. Example command: Allow a specific IP (e.g., 192.168.1.100) to … Read more

Installing and Configuring Redis 8.0.0 on Linux

Installing and Configuring Redis 8.0.0 on Linux

Operating System:openEuler 24.03 LTS SP1, CentOS-8, AlmaLinux, Rocky Linux, etc.Preparation Steps1. Disable SELinux sestatus # Check status, 'disabled' indicates it has been disabled sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config # Disable SELinux setenforce 0 # Temporarily disable /usr/sbin/sestatus -v # Check SELinux status, 'disabled' indicates it is off 2. Firewall Configuration 2.1. Disable firewall: systemctl stop firewalld.service … Read more

Basic Optimization of Linux

Basic Optimization of Linux

1. SELinux and Firewall Optimization 1. SELinux SELinux, or Security-Enhanced Linux, is a Linux kernel module and a security subsystem for Linux, primarily developed by the National Security Agency (NSA). Its main purpose is to minimize the resources accessible to service processes in the system (principle of least privilege). Due to this principle, many operations … Read more

Understanding iptables in Linux

Understanding iptables in Linux

Click the blue text above to follow me! OverviewTechnically speaking, iptables is not a firewall; the real firewall is netfilter, which runs in the system kernel. iptables is merely a representative of netfilter, primarily functioning to interact with users, obtaining their requests and converting them into information that netfilter can accept.iptables mainly operates at the … Read more

IT Knowledge Base | Issue 3: ‘Commands to Disable the Linux Firewall’

IT Knowledge Base | Issue 3: 'Commands to Disable the Linux Firewall'

Through action, knowledge deepens; through deep knowledge, action becomes more effective. To stimulate students’ interest and enthusiasm for studying information technology, and to help everyone understand more practical computer knowledge, the School of Information Technology has specially launched the “IT Knowledge Base” column. Continuous effort, like water dripping through stone, conveys the pulse of information, … Read more

Setting Up Access in Bridge Mode for Optical Modems with OpenWrt

Setting Up Access in Bridge Mode for Optical Modems with OpenWrt

By default, if you use a router with an OpenWrt-like system to dial into an optical modem in bridge mode, you will not be able to access the modem’s management page, which can be quite inconvenient. There are many ways to fix this, and here we document a method that only requires a web browser. … Read more