Dockerfile usage and case demonstration

What is a Dockerfile? A Dockerfile is a text file used to build an image. The text contains instructions and instructions for building an image. Why use a Dockerfile Question: Many images are officially provided in dockerhub to meet all our services, why do we need custom images? Core function: In the future, users can package their own ...

Posted by Bizzle on Wed, 31 Aug 2022 03:35:41 +0300

Embedded Linux: configuration of ubuntu development environment of dongshanpai No.1

preface Recently, I want to learn Embedded Linux. I checked it on the Internet and was scared to death by the price. Basically, it is four or five hundred or more. Finally, I found the board of Dongshan sect No. 1. The main board and the bottom board add up to more than 200. This paper mainly introduces the construction of the embedded Linux d ...

Posted by teng84 on Sun, 28 Aug 2022 03:15:05 +0300

DevSecOps | extreme fox GitLab dynamic application security test (DAST) user guide

DAST is the abbreviation of Dynamic Application Security Testing, that is, Dynamic Application Security Testing. It is a kind of application security testing, which corresponds to SAST and belongs to black box testing. Advantages of DAST Language independent Quickly discover those vulnerable vulnerabilities (XSS, SQL Injection, etc.) ...

Posted by crackfox on Fri, 26 Aug 2022 02:00:31 +0300

Source code compilation and installation httpd-2.4.43

Source code compilation and installation httpd-2.4.43 abstract Installation environment Software download Installation and testing 1) Download the source code of APR, APR util, PCRE and httpd 2) Unzip and install apr 3) Unzip and install APR util 4) Unzip and install pcre 5) Unzip and install httpd 6) Configuration files and c ...

Posted by dgreenhouse on Wed, 25 May 2022 04:18:37 +0300

Best practices for deploying various Beat s of the Elastic Stack under Tencent Cloud

Overview Using the various Beats modules of the Elastic Stack can completely end the twisted practice of manually collecting logs and checking metrics on the server. With the Elasticsearch service provided by Tencent Cloud, the operation and maintenance of a large-scale cloud environment can be easily done. This article helps you sort out the ...

Posted by brauchi on Wed, 25 May 2022 03:37:30 +0300

Linux -- configure the Rewrite Module of nginx to realize the automatic jump of old and new domain names (Web server cluster, rewrite instance configuration of various nginx, rewrite syntax and detailed explanation of location)

preface It consists of kernel and Nginx module. Nginx itself does little work. When it receives an HTTP request, it just maps the request to a location block by looking up the configuration file, and each instruction configured in the location will start different modules to complete the work. Therefore, the module can be regarded as the real ...

Posted by locell on Tue, 24 May 2022 05:11:51 +0300

Comprehensive explanation of environment variable configuration in Linux (principle + method)

Experimental environment Alibaba cloud server Linux centos7 Applicable to all Linux distributions (CentOS, Ubuntu, etc.) and embedded Linux principle environment variable The export command can display all current environment variables [root@shuaifriend ~]# export declare -x HISTCONTROL="ignoredups" declare -x HISTSIZE="1000" declare -x HOM ...

Posted by lucasrd on Tue, 24 May 2022 00:18:01 +0300

[operation and maintenance experience] you don't know, operation and maintenance also needs to write code

Today, continue the content of the previous article and study several commonly used operation and maintenance codes. Batch set password Write a script to batch create 10 system accounts oldboy01-oldboy10 and set the password (the password is a random 8-bit string). Reference answer: one of the codes found on the Internet is as follows (verifi ...

Posted by maxpup979 on Mon, 23 May 2022 14:58:21 +0300

VMware creates hadoop clusters from scratch

VMware creates hadoop clusters from scratch 1. Preparation of template virtual machine environment 1) Prepare a template virtual machine Hadoop 100. The virtual machine configuration requirements are as follows: Note: the Linux system environment in this paper is illustrated by CentOS-7.5-x86-1804 Template virtual machine: 4G memory and 50G har ...

Posted by sunwukung on Mon, 23 May 2022 02:40:46 +0300

[Linux] kernel driver Chapter 7 - device tree

1, Origin Reduce junk codeReduce the workload of driver developmentSeparation of driver code and device informationRefer to Open Fireware designIt is used to record the attribute information of various hardware devices in the hardware platform 2, Basic composition There are two kinds of source files: xxxxx.dts is the abbreviation of ...

Posted by phpsir on Sun, 22 May 2022 03:45:21 +0300