Enable swap partition on Linux

If a server has RAM less than 1 GB or uses resource heavy services, it would be a good idea to enable swap space as the RAM may be exhausted here. This article records how I enable Swap on Linux.

- READ MORE -

Implement intranet penetration using frp

frp is a fast reverse proxy to expose a local server behind a network address translation (NAT) or firewall to the internet. This article introduces how to use frp to establish a SSH connection with a server that does not have a public IP address, even if two servers are not in same local area network (LAN).

- READ MORE -

Initial setup for Linux servers

Since buying the first server last year, I have bought several servers up to now. Because they are exposed to the internet, some necessary configurations in terms of firewall, ssh, etc., are required for security issues. This article records how I setup a server from scratch. I generally use Debian/Ubuntu, and Debian is used as an example server in this article. Some commands may differ for other distributions, but the overall process is similar.

- READ MORE -

Issue an SSL/TLS certificate using acme.sh

From July 1, 2018, Chrome shows all sites that do not use SSL certificates as "not secure", while sites with SSL certificates receive a boost in weight ranking. In fact, it is easy to issue, install, and renew an SSL/TLS certificate. All needed are a virtual private server (VPS) and a domain name pointing to this server's IP. In this article, I'm going to show how to acquire an SSL cert using acme.

- READ MORE -