Installation and use of Cygwin, configuration and use of its software package apt Cyg, and apt Cyg error "/ usr / bin / apt Cyg: line 25: $'\ r': command not found"

first Official website Download the installation package of Cygwin, and then double-click to start the installation. Select as follows: You are free to choose the next installation address. The next step is to choose the image address. The domestic one is faster. I choose Ali here. You can also choose other ones: Next, it is very important to d ...

Added by usmc on Fri, 17 Dec 2021 05:39:05 +0200

Detailed explanation of systemd(service file) of Centos7 and Centos8

1, Power on For software that supports systemd, a configuration file will be automatically added to the / usr/lib/systemd/system directory during installation. If you want the software to start, execute the following command (take httpd.service as an example). systemctl enable httpd [root@wtl1992 system]# systemctl enable httpd Created sy ...

Added by rnintulsa on Fri, 17 Dec 2021 01:26:58 +0200

Linux single server deployment redis cluster, sentry cluster

Environmental Science: 1. There is only one Linux server 2. Use docker compose for deployment (the use of docker compose will not be introduced here) 1,docker images Use redis in your own image 2,docker network ls   View the existing network segment (Note: it must be the same network segment, otherwise it will be inaccessible) You can al ...

Added by ziesje on Fri, 17 Dec 2021 01:13:10 +0200

Linux Driver Development Fifteen: Linux Kernel Device Matching Method

The following is extracted from the Positive Atom Document species. 1. Device matching methods before using the device tree Before the device tree is used, uboot passes a value called machine id, or device ID, to the Linux kernel to tell it what device it is and see if the Linux kernel supports it. The Linux kernel supports many devices, and ...

Added by Alicia on Thu, 16 Dec 2021 20:58:52 +0200

The process of linux system programming

A process's defining program becomes a process when it runs Program: Static, executable stored on disk Process: is dynamic, is the execution instance of a program running in memory. A program is an ordered collection of instructions, and a process is a process of program execution, a process of program execution. The state of a process is c ...

Added by TimUSA on Thu, 16 Dec 2021 20:57:20 +0200

Harbor deployment and use

1, Introduction to Harbor Whether you use docker distribution to build your own warehouse or run the container through the official image, we can find that it is very simple through the previous demonstration. It is not as convenient as directly using the official Docker Hub to manage the image. At least the official Docker Hub can manage ...

Added by ict on Thu, 16 Dec 2021 14:46:50 +0200

Remote video control series - mjpg stream source code analysis - init_v4l2

Entry parameter: struct vdIn * vd. 1. Turn on a usb camera if((vd->fd = OPEN_VIDEO(vd->videodevice, O_RDWR)) == -1) { perror("ERROR opening V4L interface"); DBG("errno: %d", errno); return -1; } #define OPEN_VIDEO(fd, flags) open(fd, flags) The main function is the open function, where VD - > videodevice ...

Added by jamiel on Thu, 16 Dec 2021 07:46:58 +0200

Linux basic command summary

Linux basic commands Linux system version query command 1. # uname-a (view the current operating system kernel information of Linux version) 2. # cat /proc/version (Linux view current operating system version information) 3. # cat /etc/issue or cat / etc / RedHat release 4. # cat /proc/cpuinfo (Linux views cpu related information, includin ...

Added by Hellusius on Thu, 16 Dec 2021 07:27:03 +0200

Shell script basics start from scratch -- the first shell script

1, Foreword After the basic study of the previous three sections, we are finally going to enter the door of the shell. As a back-end developer, you don't have to be proficient in shell script development, but you need to master some shell programming skills. After all, shell script, as a lightweight scripting language, can help us complete ...

Added by Daniel.Conaghan1 on Thu, 16 Dec 2021 01:23:17 +0200

[Shangsi Valley] Git and GitHub foundation complete tutorial - note 2

stay [Shangsi Valley] Git and GitHub foundation complete tutorial - note 1 There is a brief introduction to Git, as well as commands such as adding add, submitting commit, withdrawing reset, etc. Let's recall the command of the last article, with good Txt as an example. catalogue 0 recall the content of the previous article 4.3. 5 forward a ...

Added by coolfool on Thu, 16 Dec 2021 00:26:10 +0200