Learning Check-in Day 60 – ESP32 (VSCode IDF Source Code Navigation)

Learning Check-in Day 60 - ESP32 (VSCode IDF Source Code Navigation)

When using VSCode configured with IDF, the source code cannot be navigated, and the corresponding code will be highlighted in red, making development inconvenient. You can configure it by referring to the example code. 1. Add c_cpp_properties.json configuration file in .vscode (VSCode editor configuration folder) { "configurations": [ { "name": "ESP-IDF", "compilerPath": "${config:idf.toolsPathWin}\tools\xtensa-esp32s3-elf\esp-12.2.0_20230208\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe", "compileCommands": "${config:idf.buildPath}/compile_commands.json", … Read more

Binary Deployment of Zabbix on Linux Systems

Binary Deployment of Zabbix on Linux Systems

1. System Requirements CentOS 7/8 or Ubuntu 18.04+ At least 2GB of RAM 10GB of available disk space 2. Install Dependencies CentOS/RHEL: yum update -y yum install -y epel-release yum install -y gcc gcc-c++ make pcre-devel libxml2-devel \ net-snmp-devel libevent-devel openssl-devel \ sqlite-devel openldap-devel libssh2-devel \ mysql-devel postgresql-devel curl wget Ubuntu/Debian: apt update apt install … Read more

Networking Tool – WireGuard

Networking Tool - WireGuard

Server docker run -d \ –name=wg-easy \ -e WG_HOST=123.123.123.123 (🚨Enter the public IP of the server here) \ -e PASSWORD=passwd123 (🚨Enter your password here) \ -e WG_DEFAULT_ADDRESS=10.0.8.x (🚨Default IP address) \ -e WG_DEFAULT_DNS=114.114.114.114 (🚨Default DNS) \ -e WG_ALLOWED_IPS=10.0.8.0/24 (🚨Allowed IP range) \ -e WG_PERSISTENT_KEEPALIVE=25 (🚨Reconnect interval) \ -v ~/.wg-easy:/etc/wireguard \ -p 51820:51820/udp \ -p 51821:51821/tcp … Read more

Dev-C++ Installation and C++ Graphics Library Configuration Guide | A Must-Read for Beginners

Dev-C++ Installation and C++ Graphics Library Configuration Guide | A Must-Read for Beginners

Today, I bring you a highly practical tutorial:How to install Dev-C++ and configure the C++ graphics library (EasyX), making it easy for you to get started with C++ graphics programming! 🔧 Step 1: Install Dev-C++ Dev-C++ is a lightweight C/C++ integrated development environment (IDE) suitable for beginners to quickly get started. Here are the installation … Read more

Linux Basics: Basic Configuration of Nginx and Apache

Linux Basics: Basic Configuration of Nginx and Apache

Apache and Nginx are two commonly used web server software. This is a beginner-level operational example. By deploying a front-end page, we will learn their basic usage. For comparison, both server software are used simultaneously during deployment, combined through reverse proxy. 1. Basic Concepts Apache HTTP Server is a long-established web server software. It adopts … Read more

Level 3 Security Baseline Configuration Checklist for Linux: 12 Items to Avoid High-Risk Evaluation!

Level 3 Security Baseline Configuration Checklist for Linux: 12 Items to Avoid High-Risk Evaluation!

“Can the system go live right after installation?”“Is it secure just because the firewall is enabled?” Wrong! The first thing a security evaluator checks is your Linux baseline! In a certain government cloud project, due to the lack of configuration for password complexity and login failure lockout, today, we have compiled a “Level 3 Linux … Read more

Mastering Industrial Control: Siemens PLC Time Synchronization – NTP

Mastering Industrial Control: Siemens PLC Time Synchronization - NTP

In a previous article about QR code settings, a colleague expressed concerns about the accuracy of PLC time. When there is a PC in the system, the NTP time synchronization feature can be used. Below, we will introduce the settings for NTP. This article has been saved in PDF format, and the link is provided … Read more

Configuration Example of Profibus-DP Communication between Siemens S7-1500 PLC and S7-300 PLC

Configuration Example of Profibus-DP Communication between Siemens S7-1500 PLC and S7-300 PLC

In the upgrade and transformation of old equipment projects, it is inevitable to involve the replacement and upgrade of PLCs. However, sometimes the original PLC program of the control system is lost, and a complete annotated original program cannot be found; at other times, the original program may contain proprietary technology blocks; or sometimes the … Read more

Buildroot: Building and Usage Guide

Buildroot: Building and Usage Guide

Click on the above “Linux Notes” and select “Pin/Star Public Account” Get valuable content delivered first-hand What is Buildroot Obtaining Buildroot Source Code Buildroot Directory Structure Buildroot Compilation Configuration Full Compilation Individual Compilation How to Add Custom Third-Party Projects How to Patch Buildroot Source Code Summary In the previous article, we discussed how to build … Read more

Quickly Configure Mirror Sources for Various Linux Systems in 1 Minute

Quickly Configure Mirror Sources for Various Linux Systems in 1 Minute

Quickly Configure Mirror Sources for Various Linux Systems v.1.0 Configuring mirror sources in Linux systems is a key step to enhance the speed of software installation and updates. This document provides a concise and clear Standard Operating Procedure (SOP) to guide users on how to quickly configure mirror sources in different Linux distributions. 1. Configuring … Read more