2021-9-24 Linux operating system experiment 2: process communication

Experiment 2 of Linux operating system: process communication Title: [purpose] Further improve the ability of C programming in Linux environment, understand and be familiar with a variety of IPC mechanisms supported by Linux. As a multi task and multi process operating system, information interaction between processes is inevitable. Inter pr ...

Posted by hobeau on Fri, 24 Sep 2021 12:17:51 +0200

[Oracle] CentOS 7.4 installation and deployment Oracle19c

[Oracle] CentOS 7.4 installation and deployment Oracle19c Project requirements         In the production environment, according to the business development and project requirements of the enterprise, the business database will be selected according to the importance of the business, and the data model and database design ...

Posted by delfa on Fri, 24 Sep 2021 11:06:27 +0200

EPICS IOC multi-core operation and test

1, Compilation and installation method 1. Compilation and installation environment (1) Linux operating system (2)EPICS BASE 3.15 (3.15.1 or later) (MCoreUtils uses some functions only after EPICS BASE 3.15, such as epicsThreadHookAdd() function) 2. Download the installation package https://github.com/epics-modules/MCoreUtils 3. Compile and i ...

Posted by rich___ on Thu, 23 Sep 2021 05:32:02 +0200

Linux ❀ RHCE self research teaching notes - Redhat 8.2 Samba service teaching and Research Notes

Samba: it is a free software to implement SMB protocol on Linux and UNIX systems, which is composed of server and client programs; SMB - Server Messages Block information service block: it is a communication protocol for sharing files and printers on the LAN. It provides sharing services for files, printers and other resources between dif ...

Posted by BloodyMind on Wed, 22 Sep 2021 07:10:55 +0200

Interprocess communication -- Introduction to semaphores and ipcs/ipcrm

1. Semaphore description Semaphore is used to synchronize the process (i.e. control the execution of the process). It is a special variable and generally takes a positive value. Its value represents the number of resources allowed to access. When obtaining resources, the semaphore value needs to be atomic minus one. This operation is called P ...

Posted by rolwong on Wed, 22 Sep 2021 02:34:16 +0200

[Arch]Archlinux basic installation - UEFI mode

Check whether the motherboard is in UEFI mode ls /sys/firmware/efi/efivars Connect network dhcpcd Test whether the connection is successful ping baidu.com Ensure that the system time is accurate timedatectl set-ntp true View hard disk partitions fdisk -l Hard disk partition Partition using cfdisk tool cfdisk /dev/sda After ent ...

Posted by alpine on Tue, 21 Sep 2021 22:01:12 +0200

Structure, enumeration, union

structural morphology 1. Problems of the structure How are points calculated? First, you must master the alignment rules of the structure: \1. The first member is at the address offset from the structure variable by 0. \2. Other member variables shall be aligned to the address of an integer multiple of a number (alignment number). Alignmen ...

Posted by Crashthatch on Tue, 21 Sep 2021 12:03:39 +0200

I/O multiplexing model [select] [poll] [epoll]

catalogue select: Function parsing: Parameter type analysis: fd_set operation function:     Monitoring process: Advantages and disadvantages: poll: Function parsing:     Event structure resolution:   Advantages and disadvantages: epoll: Function parsing: Principle: epoll features: LT and ET modes: refer ...

Posted by Mastermind on Tue, 21 Sep 2021 07:13:30 +0200

From Hadoop high availability to HBase environment construction

From Hadoop high availability to HBase environment construction (in virtual machine) Objective: to build and install HBase in the environment Idea: after completing the basic configuration of the master master, use cloning to complete the high availability cluster 1. Configure network First, check the network address of the local computer ...

Posted by detrox on Tue, 21 Sep 2021 05:05:35 +0200

Launch springboot project in the background on Linux

We know there are three ways to start a springboot project: Run Main Method StartStart the application on the command line using the command mvn spring-boot:runWhen you run "mvn package" for packaging, it is packaged into a JAR file that can be run directly and run directly using the "java-jar" command. We typically use the ...

Posted by dannon on Mon, 20 Sep 2021 19:09:39 +0200