Operations
Some Common MySQL Commands
· β˜• 1 min read
1. Passwordless Login Edit /etc/my.cnf and add a line under [mysqld]: skip-grant-tables=1 Restart the mysqld service 1 systemctl restart mysqld Log in to MySQL as the root user 1 mysql -u root 2. Allow All Access Sources Log in to MySQL 1 mysql -u root -p At the MySQL interactive command line, enter:

Monitoring and Alerting System Overview
· β˜• 7 min read
The hard part of a monitoring system is storing large volumes of time-series data and providing high-performance query capability; the hard part of an alerting system is designing an efficient alert engine and implementing a flexible alert escalation mechanism. I have been tracking monitoring and alerting systems for a while now, and this post mainly organizes some of the concepts, components, and research options related to monitoring and alerting.

Several Open-Source Kubernetes Web Management Tools
· β˜• 2 min read
I have recently been researching open-source Kubernetes management platforms. The requirement is to manage hundreds of clusters on an intranet. The functional positioning is to assist operations and provide capabilities to the application layer, rather than serving end users directly. 1. Kubernetes Dashboard Project address: https://github.com/kubernetes/dashboard Tech stack: Angular + Go

A Simple Tutorial for Installing the DSM System
· β˜• 1 min read
1. Installation Preparation A USB drive with PE installed On MacOS, you can use balenaEtcher to burn the wepe for mac image. Download the synoboot file http://down.nas2x.com/synology/dsm/6.2/synoboot/ Download the DSM.pat file https://archive.synology.com/download/Os/DSM 2. Getting Started Boot through PE and enter the system Write synoboot to the built-in SSD storage If you boot from a USB drive, you may also need to modify the PID and VID values in grup.

Granafa Host Monitoring Configuration
· β˜• 2 min read
1. Install node exporter 1 2 3 wget https://github.com/prometheus/node_exporter/releases/download/v1.3.1/node_exporter-1.3.1.linux-amd64.tar.gz tar xvfz node_exporter-1.3.1.linux-amd64.tar.gz mv node_exporter-1.3.1.linux-amd64/node_exporter /usr/local/bin/ If you cannot reach GitHub, refer to: Several ways to access GitHub from mainland China . 2. Configure and start the exporter Add a Systemd configuration 1 vim /etc/systemd/system/node_exporter.service Add the following content: 1 2 3 4 5 6 7 8 9 10 11 12 [Unit] Description=Node Exporter After=network.