CMake tutorial summary under Linux

CMake is an open source and cross platform construction tool, which allows us to generate local Makefile by writing a simple configuration file. This configuration file is independent of the running platform and compiler, so there is no need to write Makefile in person, and the configuration file can be directly used on other platforms without ...

Added by alireza on Wed, 16 Feb 2022 04:09:11 +0200

Creation, waiting, termination and separation of multithreads

1, Create a new thread 1. Header file: < pthread h> 2. Function: pthread_create(pthread_t *thread,const pyhread_attr_t *attr,void *(start_routine) (void ),void *arg); namesignificancepthread_tEquivalent to unsigned integer length*threadID of the threadconst pyhread_attr_t *attrHalf of the properties of the thread are ignored. By default ...

Added by alanlee79 on Wed, 16 Feb 2022 03:33:44 +0200

docker learning notes 5

1, docker network 1.1 understanding docker0 Empty all containers in docker docker rm -f $(docker ps -aq) Clear all images in docker docker rmi -f $(docker images -aq) ctrl+l is the shortcut key to clear the screen, which is equivalent to clearip addr view the IP address information of the server, and you can see the information of three ...

Added by ranjita on Wed, 16 Feb 2022 03:10:06 +0200

How to install and use Docker Compose on Ubuntu 20.04

Introduction: Docker Compose is a command-line tool through which you can define and arrange multi container Docker applications. This article will explain how to install the latest version of Docker Compose on Ubuntu 20.04. For image download, domain name resolution and time synchronization, please click Alibaba open source mirror station D ...

Added by SpaceLincoln on Tue, 15 Feb 2022 16:00:16 +0200

Jenkins linux Installation and basic configuration

preface This paper mainly introduces the installation steps, project packaging and deployment process of Jenkins on linux. The Jenkins version used in this article is Jenkins 2.319.3. 1, Jdk8 download and install Jenkins relies on JDK, so you need to follow jdk1.0 first 8: # Check whether java related commands already exist rpm -qa|g ...

Added by zeberdeee on Tue, 15 Feb 2022 10:24:04 +0200

vnstat traffic statistics (version 2.8)

vnstat traffic statistics (version 2.8) vnStat is a console based Linux and BSD network traffic monitor that maintains network traffic logs for selected interfaces. It uses the network interface statistics provided by the kernel as the information source. This means that vnStat will not actually sniff any traffic, and can ensure a small use of ...

Added by fallen_angel21 on Tue, 15 Feb 2022 09:36:58 +0200

Centos builds dns server

Centos is a distributed name management and mapping system The main work is the mutual translation between ip address and domain name and the management of domain name address mapping database. Tip: the following is the main content of this article. The following cases can be used for reference 1, DNS server domain name overview Dom ...

Added by programmermatt on Tue, 15 Feb 2022 02:13:37 +0200

Linux system programming - process concept, process management, signal processing

1. Process knowledge points The process in the operating system is the process of one-time execution of the program and the basic unit of dynamic execution of the operating system; Whenever a new process is created, the operating system will assign a unique identifier to the new process to facilitate subsequent management of the process. The ...

Added by Steffen on Mon, 14 Feb 2022 16:35:04 +0200

Awk entry to mastery series - awk quick start

brief introduction Awk is an excellent text processing tool and one of the most powerful data processing engines in Linux and Unix environments. The greatest function of this programming and data manipulation language (whose name comes from the initials of the surnames of its founders Alfred aihou, Peter Weinberg and Brian collinhan) depends o ...

Added by Grande on Mon, 14 Feb 2022 08:58:59 +0200

linux desktop applet development diary 2 (pyqt5+yolov5)

linux desktop applet development diary 2 Use Pyqt5 to make an interface and connect the camera preface After the last time, we installed the environment, then we will start our UI, and it is expected to complete the content of connecting the camera Project requirements - what you think It is mainly developed in python languageAble to displ ...

Added by Calcartman on Sun, 13 Feb 2022 10:31:25 +0200