Category: System

Linux (238)
Windows (383)

How to Use Screen in Linux

How to Use Screen: SSH Remote Session Management Tool

I. What Is the Screen Command? Screen is a full-screen window manager that multiplexes a physical terminal between several processes. Screen has the concept of sessions, where users can create multiple screen windows within a single screen session, in …

How to Add Exception Ports in Linux Firewall

Below, we’ll use CentOS as an example:

Step 1: Use the local machine or connect to the CentOS system via SSH. Enter the command “/sbin/iptables -I INPUT -p tcp –dport 3306 -j ACCEPT” and confirm (using port 3306 as an example here).

Step 2: Use “/etc/init.d/iptables status& …

How to Check Linux and CentOS Version

You can use the following command to check:
# lsb_release -aLSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarchDistributor ID: CentOSDescription: CentOS release 5.4 (Final)Release: …

How to Enable and Disable Ping on CentOS

Environment: CentOS 5, 7

Before disabling, you can test with:
ping 192.168.241.2 #replace IP with your own
Disable ping (temporary, suitable when rebooting the host is inconvenient)
The command is as follows (takes effect immediately, invalid after reboot):
echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all …

How to Configure Network Interfaces in Linux

First use ifconfig -a to check which interface is in use. Below we’ll use eth0 as an example to configure eth0 as follows:#Edit: vi /etc/sysconfig/network-scripts/ifcfg-eth0Content DEVICE=eth0 BOOTPROTO=static BROADCAST=192.168.1.255 IPADDR=192.168.1.25 NETM …

How to Fix “%1 Is Not a Valid Win32 Application” (64-Bit to 32-Bit Conversion)

Fixing phpMyAdmin HTTP 500 Internal Server Error: %1 Is Not a Valid Win32 Application
When opening phpMyAdmin, it displays an HTTP 500 Internal Server Error. In Firefox, it shows “%1 is not a valid Win32 application.” After Googling, I finally found the issue — it turned out to be a conflict between the Windows Server 2003 64-bit operating system and 32-bit IIS. The solution is as follows: you need to run 32 …