Linux
-
How to handle different hard drive sizes returned by the fdisk and df commands?
Event Description: Recently, the external hard drive on my Lightsail VPS was full. I created a larger hard drive using a backup snapshot and connected it to the VPS, but it still showed "hard drive full". Checking the hard drive size using the commands `fdisk -l` and `df -Th` revealed…
-
SSL certificate generation and Nginx configuration, UCC certificate generation (Linux)
I spent some time researching SSL certificates today and found that many free ones are unreliable, while the paid ones are varied and inconsistent. I ultimately chose the reputable GoDaddy. Let me briefly introduce SSL HTTPS certificates. Certificates are mainly divided into three types: DV (Domain Verification), primarily for domain verification, and the cheapest and most practical; and OV (Original Verification)...
-
The Linux crontab command allows the server to automatically execute PHP.
Syntax: crontab [-e [UserName]|-l [UserName]|-r [UserName]|-v [UserName]|File ] Description: crontab is used to allow users to…