BOBOBK

Reducing /home partition size and increasing /root space in CentOS 8

TECHNOLOGY
Reducing /home partition size and increasing /root space in CentOS 8

I recently set up a CentOS 8 virtual machine to experience the latest CentOS system, allocating 127GB of space. Due to actual needs, I found that the /home partition had tens of gigabytes of space.

Configuring IPv6 Passthrough for Padavan Router to Enable IPv6 for All Internal Hosts

TECHNOLOGY
Configuring IPv6 Passthrough for Padavan Router to Enable IPv6 for All Internal Hosts

Both China Telecom and CERNET support IPv6, but router configurations often go wrong. This article explains how to set up a K2 router with Padavan firmware to ensure all hosts under the router have IPv6.

1024 International Programmer's Day: One Sentence to Prove You're a Programmer

MISCELLANEOUS
1024 International Programmer's Day: One Sentence to Prove You're a Programmer

Today, October 24th, is International Programmer's Day, a holiday recognized by many tech companies and software businesses globally. The origin of this festival is 1024, or 256, because it's 2 to the power of 8, and computers store data in binary, thus becoming Programmer's Day.

Using requests and multiprocessing for multi-threaded brute-force cracking of default lnmp mysql password

TECHNOLOGY
Using requests and multiprocessing for multi-threaded brute-force cracking of default lnmp mysql password

My blog used the lnmp program to build the web environment, but when I needed to use mysql, I found that the lnmp installation log file was missing and the mysql root password was forgotten. I remember that the lnmp was installed by pressing Enter all the way, and the default lnmp password is lnmp.org# plus 5 random numbers, with only 100,000 possibilities. In this case, brute-forcing 100,000 times will definitely find the password.

Google Advertisement

Deploying an SSH Honeypot with Docker to Record SSH Login Passwords

TECHNOLOGY
Deploying an SSH Honeypot with Docker to Record SSH Login Passwords

Today I logged into the server and found records of SSH brute force attacks, so I thought I might as well record the hacker's passwords and try logging into his server in reverse.

Grabbing Free Oracle Cloud Servers and Automating Deployment with Scripts

MISCELLANEOUS
Grabbing Free Oracle Cloud Servers and Automating Deployment with Scripts

Oracle Cloud recently opened registration for free usage of 2 1c1g cloud servers, databases, and other services. I registered immediately and chose Korea as the main region. Access speed from Shanghai is very fast. This post records the automation process for deploying servers using the OCI CLI.

Seamless Migration from WordPress to Fully Static Hugo Website

MISCELLANEOUS
Seamless Migration from WordPress to Fully Static Hugo Website

When evaluating the website, I found that a large portion of js, css, and other content was not fully utilized, but I didn't know how to efficiently combine or remove them. I also wanted to try a static blog, so I decided to migrate to a completely static blog system. Here, I chose Hugo as the new system.

Scraping Emojis with Scrapy and Building a Search Website Using Flask

MISCELLANEOUS
Scraping Emojis with Scrapy and Building a Search Website Using Flask

Today I chatted with a friend who said he bought emoji packs from Taobao. I don’t have many myself, but there are tons of emoji websites online — why not scrape them and build my own emoji search engine?

Google Advertisement

The Risky Experience of Using Baidu Cloud Acceleration and Cloudflare Together

MISCELLANEOUS
The Risky Experience of Using Baidu Cloud Acceleration and Cloudflare Together

Considering that Cloudflare’s free sites are really slow in China, and Baidu Cloud Acceleration in China uses Cloudflare technology, I thought using Baidu CDN would speed up domestic access to the site.

Customize, Modify, and Upload Your Own Docker Image

MISCELLANEOUS
Customize, Modify, and Upload Your Own Docker Image

Dockers can package applications along with their virtual containers and dependencies, allowing them to run on any Linux server. This helps achieve flexibility and portability, enabling applications to run anywhere, whether on public cloud, private cloud, or standalone machines.

Deploy Flask Python Web Service in Production Environment Using Gunicorn

MISCELLANEOUS
Deploy Flask Python Web Service in Production Environment Using Gunicorn

Today I logged into the server and found python using a very high percentage of CPU, then discovered it was caused by some small web tools made with Flask on this site. Finally understood why Flask warns not to deploy directly in production.

Enable DNSSEC for Aliyun Domain to Prevent DNS Hijacking

MISCELLANEOUS
Enable DNSSEC for Aliyun Domain to Prevent DNS Hijacking

While using Cloudflare daily, I found the free _DNSSEC_ under DNS was not enabled. How can that be? Let's first see what DNSSEC is.