linux kernel timer experiment

Timer is the most commonly used function. It is generally used to complete the timing function. In this chapter, we will learn the timer API functions provided by the Linux kernel. Through these timer API functions, we can complete many applications requiring timing. The Linux kernel also provides short latency functions, such as Microsecon ...

Posted by statrat on Tue, 04 Jan 2022 05:37:08 +0100

Linux common commands

1.1 operating system Operating System (OS) is a computer program that manages and controls computer hardware and software resources. It is the most basic system software that runs directly on the "bare metal". Any other software can run only with the support of the Operating System. Operating system classification: Windows operating ...

Posted by micmac on Tue, 04 Jan 2022 04:26:14 +0100

Install redis, nacos, tomcat, JDK and nginx under Linux, and deploy the front-end and back-end separated project running environment

This paper mainly records how to build a system running environment under Linux environment, mainly using redis, nacos, tomcat, JDK and nginx Tip: the following is the main content of this article. The following cases can be used for reference preface Download the compressed package first Link: https://pan.baidu.com/s/1a3y3sKzP0fTddD ...

Posted by mepaco on Tue, 04 Jan 2022 03:30:25 +0100

k8s - controller

Pod classification: Autonomous Pod: the pod will not be created after exitingPod managed by the controller: maintain the number of copies of the pod throughout the life cycle of the controller Controller type: Replication Controller and ReplicaSetDeploymentDaemonSetStatefulSetJobCronJobFull name of HPA: Horizontal Pod Autoscaler 1.Repli ...

Posted by aiwebs on Tue, 04 Jan 2022 03:10:09 +0100

Operation and maintenance practice - kubernetes storage Volumes configuration management emptyDir volume, hostPath volume, PersistentVolume persistent volume, StatefulSet controller

1. Why use Volumes volumes? The files in the container are temporarily stored on the disk. Once the container is deleted, the files in the container will be deleted, which brings some problems to the special applications running in the container. Specifically, first, when the container crashes, kubelet will restart the container, and the f ...

Posted by alex3 on Tue, 04 Jan 2022 02:13:04 +0100

Unix port and micro Python serial port

Unix port and micro Python serial port mpy on unix port is very convenient as a serial port test tool. In the first two chapters, we have transplanted mpy running on linux system of arm board. Students who have not seen it click the following link to view it. Now let's continue to learn about the use of serial port. Link: Micro Python firm ...

Posted by Calgaryalberta on Tue, 04 Jan 2022 01:04:03 +0100

[linux] step by step operation and maintenance - Fundamentals - disk array

Article catalog I RAID concept II Type of RAID Implementation of RAID:Implementation of soft raid 5 1) Add a new hard disk and create 5 partitionsCreate RAIDFormat mountView raid information againSimulate a broken disk and remove itAfter repairing the sdb2 that has just been deleted, add it to the array again Summary: I RAID concept The foll ...

Posted by Yola on Mon, 03 Jan 2022 23:17:09 +0100

Series of tutorials from LFS to your own Linux distribution: experience lfs11 in one step 0

​​ preface If you take the task of compiling and building an operating system from the source code as a cook's table, Linux From Scratch (LFS) is a "recipe". Starting today, I'm going to write a series of tutorials, step by step, starting with the source code of open source software (chef's "food") and based on the latest v ...

Posted by kolanos7 on Mon, 03 Jan 2022 21:55:05 +0100

Simplify playbook with roles

Simplify playbook with roles Constructing an ansible playbook using roles As more playbooks are developed, we may find many opportunities to reuse the code in the previously abbreviated playbook. Perhaps, a play used to configure a MySQL database for an application can change its purpose by using different host names, passwords and users ...

Posted by PHPHorizons on Mon, 03 Jan 2022 18:35:50 +0100

Boot process and service control

Preface I. Linux Operating System Should Be Processed Overview of the boot process Post After the server host is powered on, it will initially detect cpu (central processor), memory, graphics card, keyboard and other devices according to the settings in the motherboard BIOS. After successful detection, system control will be transferr ...

Posted by jocknerd on Mon, 03 Jan 2022 17:02:24 +0100