As mentioned in a previous blog post, my current project is deployed using Docker. However, during a recent login to the server, a strange phenomenon occurred: all the containers in Docker would restart from time to time. Also, every time I logged in to check the Docker status, it would show that the containers had just started (Up 15 seconds). After several investigations, I finally identified that the restart issue was related to SSH login. Every time I logged in via SSH, the containers would restart.继续阅读Docker Container Restarting after SSH Login – Solution
After three months of hard work, the SSL certificate of my RSS aggregator finally expired. The auto-renew script failed to renew it — this happened a couple of times, I need to login into the web panel and renew it manually every three months. Unfortunately, the web panel malfunctioned this time either. After an epic battle with cert-bot, Nginx, and even the web panel I used, I finally gave up and decided to switch to another self-hosting solution.继续阅读Using Docker Compose to Self-host Project Deploy
IDCF is a large enterprise which provides VPS service at an affordable price in Japan. It provides 3TB data transfer for free each month, Extra transfer fee should be paid after exceed the free plan. So it’s a wise choice to balance the data transfer from the different zone.
IDCF recently announced cost simulations function. Which means you only need to speak out the demand, IDCF will automatically recommend the appropriate VPS for you and give a price list. That sounds cool but more important, IDCF will give you a ￥1000 JPY coupon as a reward of this promotion. 继续阅读Try IDCF cost simulation and get a coupon
mkdir -m 777 /home/lxfy/.ssh
cat id_rsa.pub > authorized_keys
chmod 600 ~/.ssh/authorized_keys
rm -rf id_rsa.pub rm -rf id_rsa