Category: Open Source

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 Install pure-ftpd

1. Yum Install Default Version 1.0.30-1.el6
CentOS 6 64-bit EPEL install:
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
CentOS 7 EPEL install:
rpm -ivh http://dl.fedoraproject.org/pub …

100M Telecom Fiber vs. 20M Enterprise Dedicated Line Comparison

Test Environment: 100Mbps Telecom Fiber, 20Mbps Enterprise Dedicated Line
Platform: Windows 7
Router: H3C Enterprise Router (specific model)
Testing Software: China Telecom Official Broadband Assistant 9.3

Below is the speed for the 20Mbps enterprise dedicated line (click image to enlarge):

Below is the speed for the 100Mbps standard fiber:

Notes: …