Category: Articles

Computer (3)
Open Source (313)
Security (30)
Server (5)

EmpireCMS Single Page Guide

EmpireCMS single page templates can be used to create standalone pages such as Contact Us and Job Openings:
Click "Templates" -銆?“Custom Page Templates”-銆?quot;Add Custom Page Template" -銆婨nter a template name (e.g., Single Page), enter code “content” (as follows) -銆婥lick "Save Template" …

How to Cascade Multiple Routers

I. Application Introduction
Connecting multiple routers in series is primarily done to extend an existing network’s range or to build a new network (subnet) within the original network. We typically use multiple routers in series under the following circumstances:
A. In a home network, to expand wireless signal coverage, a new wireless router is added to boost the signal…

How to Fix rap2 npm start Service Not Closing

rap2 cannot be stopped after starting with npm start, because the service runs in the background via pm2 and must be killed manually.

Solution: Kill the rap2 process along with pm2. Here we take killing rap2-delos as an example:

Script (please modify the path and other info according to your situation):
#!/bin/bash
Id=`ps -ef|grep …

How to Change lftp Data Transfer Mode

Sometimes after lftp connects to FTP, executing other commands is extremely slow, or it gets stuck on “Making data connection” forever. The reason lies in active vs. passive mode — some hosts can only be connected to using either active or passive mode.

Solution: Add `set ftp:passive-mode off` to the configuration file to make…

How to Concatenate SSL PEM Certificates

After purchase, you’ll receive the following files, which include the key, intermediate certificate, and others:

The useful files here are the key + SSL Certificate + Intermediate Certificate, namely domain.key, SSL Certificate.cer, and Intermediate Certificate.cer

Open these three files respectively, copy the contents, and paste them into a …

How to Send Email Using MailGun

Mailgun is an email service that allows you to send emails using your own domain. The free plan includes up to 10,000 emails per month.

Sign up for a Mailgun account and choose the free plan (credit card verification required), then enter the user dashboard:

Add a domain:

Once done, complete the domain DNS resolution as prompted:

The DNS records generally …

How to Block IPs from a Specific Country Using iptables

One of our clients was under attack. Our network monitoring detected abnormally massive traffic spikes lasting six consecutive hours. We immediately contacted the client but received no response. We then modified and restricted the client’s VPS to ensure that an attack on a single VPS would not impact the entire server or other VPS users. We have maintained this …