Code Testing and Environment Setup for Sqlite3 on Arm Linux Development Boards

Code Testing and Environment Setup for Sqlite3 on Arm Linux Development Boards

·1. Test Code ·2. Cross Compilation oCommand Structure oFunction of Each Part ·3. Execute Test ·4. Environment Variable `$PATH` o4.1 System-level Configuration Files (Global Settings) o4.2 User-level Configuration Files (Personal Settings) o4.3 Shell Built-in Defaults ·5. How to Find the Source of the Current `PATH`? ·Common Modification Scenarios 1. Test Code // test_sqlite.c #include <stdio.h> … Read more

Quick Deployment of Single Node Single Disk Architecture MinIO on Linux

Quick Deployment of Single Node Single Disk Architecture MinIO on Linux

Download MinIO Server Files This step describes how to deploy MinIO in a single node single disk (SNSD) configuration for early development and evaluation. The SNSD deployment does not provide any additional reliability or availability beyond what is offered by the underlying storage volume implementation (RAID, LVM, ZFS, etc.). The SNSD deployment uses a zero-parity … Read more

Installing GCC from Source

Installing GCC from Source

My laptop is running CentOS 7 with a version of GCC installed via yum, but this version is too old, so I need to install a newer version of GCC. 1. First, download from the internethttp://mirror.hust.edu.cn/gnu/gcc/ Find the appropriate version and download it. 2. Extract the compressed package # cd /usr/local/# tar -zxvf gcc-6.4.0.tar.gz 3. … Read more

Installing JDK on Linux

Installing JDK on Linux

Java development is a fundamental skill that Linux experts must master. This article will introduce how to install JDK on Linux and configure the Java environment. (This article uses jdk-8u201-linux-x64.tar.gz as an example) 1. Uninstall the pre-installed JDK (most Linux distributions come with Java, but it may not be usable) 1) Check the installed JDK: … Read more

Installing JDK 8 on CentOS Linux

Installing JDK 8 on CentOS Linux

Preparation Server: CentOS Linux release 7.9.2009 (Core) JDK: jdk-8u301-linux-x64.tar.gz JDK 8 download link:https://www.oracle.com/java/technologies/downloads/#java8 Installation Connect to the server using Xshell. Upload to the server, you can use the command # rz upload, -y to overwrite files rz -y If prompted that the command ‘rz’ is not found, install it manually # rz is a file … Read more

python-dotenv: A Python Library for Managing Environment Variables!

python-dotenv: A Python Library for Managing Environment Variables!

Hello everyone, today I want to introduce a super useful Python library – python-dotenv. When developing projects, we often need to manage various configuration information, such as database passwords, API keys, etc. Writing these sensitive information directly in the code is not a good idea! python-dotenv is specifically designed to solve this problem, allowing us … Read more

The Most Detailed Python Installation Guide for Beginners in 2025

The Most Detailed Python Installation Guide for Beginners in 2025

For those who are new to Python, whether you are interested in web scraping or AI development, many say that the Python language is simple. Therefore, learning more is always beneficial. Below is a record of the installation of Python and a series of related tasks from the perspective of a complete beginner, including the … Read more

Common Syntax of CMake (Environment Variables)

Common Syntax of CMake (Environment Variables)

Previous Exciting Content:CMake Hello, WorldCMake VariablesCMake Official Tutorial (Basic Project Setup)CMake Official Tutorial (Library Creation)CMake Official Tutorial (Usage Requirements)CMake Official Tutorial (Installation and Testing)CMake Common Syntax (if Statement)CMake Common Syntax (Cache Variables) In CMake, environment variables have the following characteristics: 1. The scope of environment variables is global and they are not cached. 2. They … Read more

CMake from Beginner to Expert (2): Variables and Scope

CMake from Beginner to Expert (2): Variables and Scope

1. Why is it important to understand variables and scope? CMake is not just a build tool, but also a “meta-programming language”. Variables and scope are its core programming elements, directly affecting: Project Configuration: Dynamically switching compilers, library paths, and compilation options Module Interaction: Data transfer between parent and child directories Environment Control: Cross-platform compatibility … Read more

The First Assembly Language Program

The First Assembly Language Program

Assembly language is known for its obscurity and complexity, but this tutorial looks at it from a different perspective—it is a language that provides almost all the information. Programmers can see everything that is happening, including the registers and flags in the CPU! However, with this capability, programmers must handle the details of data representation … Read more