西维蜀黍

【Distributed System】Observability

Observability

In software engineering, more specifically in distributed computing, observability is the ability to collect data about programs’ execution, modules’ internal states, and the communication among components. To improve observability, software engineers use a wide range of logging and tracing techniques to gather telemetry information, and tools to analyze and use it. Observability is foundational to site reliability engineering, as it is the first step in triaging a service outage. One of the goals of observability is to minimize the amount of prior knowledge needed to debug an issue.

  ...


【Database】Overview

  ...


【ClickHouse】学习

Install

Ubuntu

# install
sudo apt install clickhouse-server clickhouse-client

sudo service clickhouse-server start
sudo service clickhouse-server status

# connect
# 1. Download the binary
curl https://clickhouse.com/ | sh

# 3. Start the client
# Use the clickhouse-client to connect to your ClickHouse service. Open a new Terminal, change directories to where your clickhouse binary is saved, and run the following command:
./clickhouse client --host 192.168.18.247
# You should see a smiling face as it connects to your service running on localhost:
my-host :)

What Is ClickHouse?

ClickHouse® is a high-performance, column-oriented SQL database management system (DBMS) for online analytical processing (OLAP).

  ...


【InfluxDB】学习

InfluxDB

InfluxDB 2.7 is the platform purpose-built to collect, store, process and visualize time series data. Time series data is a sequence of data points indexed in time order. Data points typically consist of successive measurements made from the same source and are used to track changes over time. Examples of time series data include:

  • Industrial sensor data
  • Server performance metrics
  • Heartbeats per minute
  • Electrical activity in the brain
  • Rainfall measurements
  • Stock prices
  ...


【Distributed System】消息队列 - 延时队列(Delay Queues)

延时队列(Delay Queues)

Delay queues let you postpone the delivery of new messages to consumers for a number of seconds, for example, when your consumer application needs additional time to process messages. If you create a delay queue, any messages that you send to the queue remain invisible to consumers for the duration of the delay period.

  ...


【PVE】软路由在 PVE 中安装 OpenWrt

  ...


【VMware】软路由在 ESXi 中安装 OpenWrt

Build

  ...


【Linux】sshd 配置文件(ssh/sshd_config)

sshd 的配置文件位于 /etc/ssh/sshd_config,这是 OpenSSH 服务器的主配置文件,用于控制 SSH 服务器的行为。

以下是一些常见的配置选项及其含义:

常用配置选项

Port

设置 SSH 服务器监听的端口。默认是 22,但可以更改为其他非标准端口以增加安全性。

  ...


【Ubuntu】Install GitLab

  ...


【VMware】VMware ESXi 8 安装 macOS

Build ISO Mirrnor

参考 https://swsmile.info/post/make-macos-install-usb-stick/

为VMware ESXi 安装补丁

Download macOS Unlocker V4.0 for VMware ESXi: https://github.com/DrDonk/esxi-unlocker

The ESXi unlocker will need to be run each time the ESXi Server is upgraded. It is also best to switch ESXi to Maintanence mode and make sure you do not have any VMs running.

cd /tmp; wget http://192.168.18.4:9000/esxi/esxi-unlocker-4.0.6.zip; unzip esxi-unlocker-4.0.6.zip; cd esxi-unlocker-4.0.6; chmod +x unlock; ./unlock

cd /tmp; wget http://192.168.18.4:9000/esxi/esxi-unlocker-4.0.6.zip; unzip esxi-unlocker-4.0.6.zip; cd esxi-unlocker-4.0.6; chmod +x check; ./check

制作镜像

Convert and rename the Disk Image to ISO

  ...