Detailed tutorial on the installation of Drone, an ultra lightweight automatic deployment artifact (Graphic tutorial)

preface Now, in our daily development or production environment, we often get a set of automatic deployment scheme to save time and cost. A popular implementation scheme is Gitlab+Jenkins, but this scheme still occupies a large memory and needs about 8G of server memory. Otherwise, it is difficult to run smoothly and deploy quickly. Recently, ...

Added by kristoff on Wed, 29 Dec 2021 19:40:45 +0200

Vulnhub customs clearance manual - 03 Raven-1

Background overview: Download address: https://www.vulnhub.com/entry/raven-1,256/ The IP of the target is 100.10 10.132, add the IP address to the hosts file and map it to the domain name Raven local. 1. Information collection 1.1 scan target host IP Use the ARP scan - L command to scan the surviving hosts in the LAN. └─# arp-scan ...

Added by textbox on Wed, 29 Dec 2021 19:30:51 +0200

Nginx from installation to high availability

1, Nginx installation 1. Go to the official website http://nginx.org/ Download the corresponding nginx package. It is recommended to use a stable version 2. Upload nginx to linux system 3. Installation dependent environment (1) Install gcc environment yum install gcc-c++ (2) Installs the PCRE library for parsing regular expressions yum  ...

Added by mrdance on Wed, 29 Dec 2021 18:57:34 +0200

ansible Automation - system role example < x >

1ansible role introduction The ansible role provides a function that allows users to easily reuse ansible code in a general way. You can package all environment, files, variables, templates and other resources in the traditional directory structure. You only need to copy a directory and call the roles role. The ansible role can pass v ...

Added by ozconnect on Wed, 29 Dec 2021 13:28:40 +0200

High concurrency learning in Linux -- reactor implementation of epoll

Reactor mode At present, the mainstream network communication libraries, such as libevent of C/C + + and Netty of Java, use reactor mode. Reactor pattern is a design pattern of event processing. After I/O requests arrive, the service handler uses I/O reuse technology to synchronously send these requests to the relevant request handlers. How to ...

Added by slibob on Wed, 29 Dec 2021 13:02:58 +0200

OS: producer consumer problem (multi process + shared memory + semaphore)

I Introduction When I used cout again after a year, I burst into tears. It was a touch of reunion after a long separation, although I basically forgot it. Take advantage of a lot of time to consolidate the problems of producers and consumers, and use pure C. Cherish the happy time when you can write code. II analysis Producer and consumer prob ...

Added by davidcriniti on Wed, 29 Dec 2021 12:17:46 +0200

Operating system family - detailed explanation of target files

Previous address: Operating system series - operating system overviewOperating system Series II - processOperating system series 3 -- compilation and link relationshipOperating system series 4 - stack and function call relationship Theme of this issue: Detailed explanation of target file 1. Definition and classification of target doc ...

Added by triphis on Wed, 29 Dec 2021 00:22:59 +0200

fastDFS lightweight distributed file system

1. fastDFS fastDFS is an open source lightweight distributed file system developed in C language. It is generally used as a resource server 2. Main functions of fastdfs file storeFile synchronizationFile access (file upload | file download)It is especially suitable for online services based on documents (picture websites, video website ...

Added by Jurik on Tue, 28 Dec 2021 21:27:02 +0200

Introduction to Linux threads (create exit detach join)

1. Thread in process In the figure above: On the left is a process with a single thread, which has its own complete set of resources. On the right is a process with two threads. Threads share resources in the process with each other. It can be seen that thread is a lightweight process, which provides an efficient way of task processing. ...

Added by kalpesh on Tue, 28 Dec 2021 15:03:40 +0200

08_ awk, a text processing tool for shell programming

#Course objectives Familiar with the command line mode and basic syntax structure of awkFamiliar with awk related internal variablesFamiliar with awk common print function printAble to match regular expressions in awk and print relevant lines 1, awk introduction 1. awk overview awk is a programming language, which is mainly used to pro ...

Added by jboy6t9 on Tue, 28 Dec 2021 12:13:26 +0200