What Are Some Outdated Designs in Linux/Unix?

What Are Some Outdated Designs in Linux/Unix?

The design philosophy of “everything is a file” is commendable, as it abstracts hardware and processes into files for unified operations. However, this approach becomes less effective in scenarios requiring bidirectional communication, such as network communication, where operating sockets through file read/write operations feels awkward. Windows’ “everything is a handle” is more flexible, as a … Read more

Gunicorn: A Python Library for WSGI HTTP Server!

Gunicorn: A Python Library for WSGI HTTP Server!

▼ Click the card below to follow me ▲ Click the card above to follow me Gunicorn! A powerful tool that makes your Python web applications fly! Today, let’s talk about Gunicorn. It is a WSGI HTTP server, which simply means it helps you run web applications written in Python (like Flask and Django) so … Read more

J1939 to Modbus Master – ADFweb Gateway Converter – Guangzhou Xinyu IoT

J1939 to Modbus Master - ADFweb Gateway Converter - Guangzhou Xinyu IoT

J1939 to Modbus Master – ADFweb Gateway Converter– Guangzhou Xinyu IoT Author: Zou Wuyi [email protected] 1、Product Features: Configurable J1939 to Modbus master gateway supports the following functions: Baud rate can be changed via software; Electrical isolation between the two buses; Can read data requested by the gateway from J1939 frames to Modbus devices; Power supply … Read more

Setting Up a C Language Development Environment: From Installation to Configuration

Setting Up a C Language Development Environment: From Installation to Configuration

Setting Up a C Language Development Environment // This is a sample C code #include <stdio.h> int main() { printf("Hello, World!\n"); return 0; }</stdio.h> In this article, we will discuss the steps required to set up a C language development environment. This includes installation of necessary tools and configuration of the environment for optimal performance. … Read more

Some Minor Issues with OpenWRT

Some Minor Issues with OpenWRT

OpenWrt Status Monitoring with netdata http://IP:19999/ Access port 19999OpenWrt web terminal, luci-i18n-ttyd-zh-cn To enter configuration, change the original command from /bin/login to /bin/login -f root for automatic login If /bin/login -f root does not work, you can try this methodModify the option command line in /etc/config/ttydDefault is: option command ‘/bin/login’Change to: option command ‘/usr/libexec/login.sh’After saving, … Read more

Home Server Management Tool! One-Click Deployment of Your Personal Service Navigation Portal

Home Server Management Tool! One-Click Deployment of Your Personal Service Navigation Portal

Home Server Management Tool! One-Click Deployment of Your Personal Service Navigation Portal Are you often faced with the situation where you have dozens of smart devices running at home, and a bunch of Docker services on your NAS, and every time you want to use Jellyfin to watch a movie, you have to dig through … Read more

A Beautiful Shell for Linux

A Beautiful Shell for Linux

First, let’s start with a beautiful image 1 Introduction to zsh 1.1 Linux Shell Linux/Unix provides many types of shells. Why so many shells? Are they for cooking? Let me ask you, why do you have so many similar clothes? Different colors and textures. Writing programs is much more complex than buying clothes, and programmers … Read more

Huawei Data Communication – Switch Configuration for LACP Link Aggregation

Huawei Data Communication - Switch Configuration for LACP Link Aggregation

HuaweiS300, S500, S2700, S5700, S6700 series switches—Ethernet Link Aggregation Configuration Routers, switches, firewallsDetailed configuration documentation knowledge base has been established and can be queried in thedialog box! ConfigurationLACP mode link aggregation ● (Optional) Configure systemLACP priority ● (Optional) Configure interfaceLACP priority ● (Optional) ConfigureLACP preemption ● (Optional) Configure the timeout for receivingLACP messages ● (Optional) … Read more

Ansible Installation: From Beginner to Abandonment (Part 2)

Ansible Installation: From Beginner to Abandonment (Part 2)

Ansible Installation There are three installation methods for Ansible: Source Installation, Distribution Installation, and Python Installation. When using either Distribution Installation or Python Installation, there are two installation packages for Ansible, which are as follows: • <span>ansible-core</span>: A minimal language and runtime package that includes a set of built-in modules and plugins. • <span>ansible</span>: A … Read more

Ansible Configuration File: From Basics to Advanced

Ansible Configuration File: From Basics to Advanced

Ansible Configuration File Ansible looks for a file named <span>ansible.cfg</span> as its configuration file. [root@ansible ansible]# ansible –version ansible [core 2.16.3] config file = /root/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible_core-2.16.3-py3.12.egg/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible python version = 3.12.8 (main, Dec 12 2024, … Read more