Basic commands of Git (learning notes)

I'm a sophomore. The purpose of writing this article is to make a certain record of my knowledge and technology, and I'm willing to share it with you. Because I'm still young, there are inevitably some mistakes and omissions in the published article. Please forgive me and correct me if you read this article. If you have any questions during rea ...

Added by greenie__ on Wed, 02 Feb 2022 08:26:57 +0200

File redirection and pipeline

Standard file descriptors Concept of file descriptor: a file descriptor is an integer greater than or equal to 0, which means the sequence number of items in the file opening table of the process (starting from 0). For a process, a file descriptor is a handle that operates on an open file (or a device file, or a socket connection). This entry ...

Added by twilightnights on Wed, 02 Feb 2022 07:53:53 +0200

linux Firewall iptables

1, Introduction to Linux Firewall yum -y install iptables-services.x86_64 #install Must be closed first firewalld firewall [root@localhost ~]# systemctl stop firewalld.service [root@localhost ~]# systemctl disable firewalld.service install iptables firewall [root@localhost ~]# yum -y install iptables-services.x86_64 #install [root ...

Added by CoreLEx on Wed, 02 Feb 2022 07:07:33 +0200

Web server cluster - Nginx dynamic website architecture (note)

1, Fastcgi & PHP FPM Static website: static elements that the Nginx server can handle html .jpg .mp4 .css 1.1 Nginx ngx_fastcgi_modul fastcgi fast universal Gateway InterfaceInterface for handling dynamic requestsNginx through NGX_ fastcgi_ The module links PHP FPM to handle dynamic requests 1.2 PHP php-fpm Php-fpm (fastcgi proce ...

Added by kumar_ldh on Wed, 02 Feb 2022 04:38:59 +0200

rsync linxu real-time synchronization of files to windows

rsync linxu real-time synchronization of files to windows rsync synchronizes data. Data pulling and pushing can only be operated on the client. That is, you need to execute commands on the client and configure rsyncd on the server Conf file, start rsync. linxu synchronizes files to windows in real time, so the client is linux and the server ...

Added by illzz on Wed, 02 Feb 2022 02:28:56 +0200

Principle of memory allocation in linux Environment

0. There are several key concepts of virtual memory management in Linux How is the Linux virtual address space distributed?How do malloc and free allocate and free memory?How to view the fragmentation of memory in the heap?Since the in heap memory brk and sbrk cannot be released directly, why not use mmap to allocate them all and munmap to ...

Added by penkomitev on Wed, 02 Feb 2022 01:26:59 +0200

ROS practice - robot modeling

Robot introduction The robot consists of four parts: control system (brain), sensing system (eyes), driving system (muscle) and execution system (hand). Sensor input signal, the control system receives and releases the control command, drives the control command into a signal that can be executed by the execution system, and the execution syst ...

Added by tomas.srna on Tue, 01 Feb 2022 19:16:32 +0200

Learning notes - Liunx

brief introduction The Linux kernel was originally written by Finnish Linus Torvalds as a hobby when he was studying at the University of Helsinki. Linux is a UNIX like operating system that is free to use and spread. It is a multi-user, multi task, multi thread and multi CPU operating system based on POSIX (portable operating system interface) ...

Added by Boudga on Tue, 01 Feb 2022 17:24:57 +0200

Porter DMA for STM32 data

24.1 about DMA DMA(Direct Memory Access) direct memory access can greatly reduce the workload of CPU. The CPU executes instructions according to the content of the code. Some of these instructions are used for calculation, some for control programs, and some for transferring data. Among them, the instructions to transfer data, especially a lar ...

Added by Froolah on Tue, 01 Feb 2022 10:22:09 +0200

LVS-DR mode under linux

DIP: the IP address of the scheduler RIP: the IP address of the real server in the background VIP: virtual IP used for service provision Compared with NAT mode, DR mode of LVS is more complex and difficult to implement, because it is closer to hardware based load balancing. Although the performance is still lower than that of hardware based ...

Added by ddc on Tue, 01 Feb 2022 10:03:09 +0200