Getting started with nginx

The configuration system of Nginx consists of a main configuration file and some other auxiliary configuration files. These configuration files are plain text files, all located in the conf directory under the Nginx installation directory A line starting with # or a line preceded by several spaces or tabs and followed by # in the configuration ...

Posted by RDFrame on Tue, 25 Jan 2022 06:52:12 +0100

docker practice - container installation scripting (basic shell usage)

1, Shell Basics Shell:Shell is a program written in C language. It is a bridge for users to use Linux. Shell is both a command language and a programming language. Shell refers to an application that provides an interface through which users can access the services of the operating system kernel. shell script: a script program written for th ...

Posted by sanstenarios on Tue, 25 Jan 2022 06:44:43 +0100

Docker Compose exercise: voting App

Docker Compose classic example: Example Voting App GitHub address: https://github.com/dockersamples/example-voting-app For students with poor network, I have downloaded the source code, address: https://download.csdn.net/download/weixin_48447848/77354937 Example Voting App Simple distributed applications running across multiple Docker conta ...

Posted by dhimok on Tue, 25 Jan 2022 01:22:18 +0100

[Docker series] Docker Compose

Docker Compose introduction Simplify the deployment steps and define the container, network, port and other information we need to start through a YAML format file. There are docker compose command tools to start and stop operations. Installation of docker compose After docker desktop is installed by default for Windows and Mac, docker com ...

Posted by TangoGirl on Mon, 24 Jan 2022 22:56:15 +0100

Basic introduction to Docker (basic command)

Basic introduction to Docker (basic command) 1, Docker overview 1. Why does docker appear? One product: development – online two sets of environments! Application environment, application configuration! Development - operation and maintenance. Question: I can allow it on my computer! Service unavailable due to version update! Is it a ...

Posted by carlmty on Mon, 24 Jan 2022 15:43:27 +0100

Use Shell script to monitor ports and set Redis to turn off automatic startup

Click Redis installation Make the file have miscellaneous attributes chmod a+x /etc/init.d/redis Crond service related commands( reference resources) crond service To install crontab: yum install crontabs Service operation instructions: /sbin/service crond start //Start service /sbin/service crond stop //Shut down service /sbin/se ...

Posted by jnewing on Mon, 24 Jan 2022 08:32:02 +0100

RH358 accessing block based networked storage - automated configuration of iSCSI initiator

RH358 accessing block based networked storage – automated configuration of iSCSI initiator This section describes how to use Ansible to connect iSCSI storage and management. RH358 column address: https://blog.csdn.net/qq_41765918/category_11532281.html 1. Use Ansible to connect iSCSI Targets Use ansible open_ The iSCSI m ...

Posted by titangf on Mon, 24 Jan 2022 07:35:26 +0100

jest unit test - Fundamentals

jest test - Basic 1, Understanding front-end automation With the development of front-end, the field of front-end design has become more and more complex. This puts forward higher requirements for our front-end engineering ability. Good front-end engineering generally includes three aspects: Front end automated testing (prerequisites)High qu ...

Posted by ConnorSBB on Sun, 23 Jan 2022 18:48:28 +0100

Java Web -- what is Session and its usage

1. What is a Session When a user requests a Web page from an application, the server will create a Session object for each user (browser); When the user data needs to be saved, the server program can write the user data to the session exclusive to the user browser; When a user jumps between Web pages of an application, the variables stored in ...

Posted by chings on Sun, 23 Jan 2022 16:11:01 +0100

[Linux driver] common character device driver framework

1, Ordinary character device driver design process ------------------------Define a normal character device--------------------------- 1) Define a normal character device 2) Defines the file operation set corresponding to the normal character device 3) Apply for a device number for a normal character device 4) Initialize normal character device ...

Posted by abitshort on Sun, 23 Jan 2022 15:03:42 +0100