YUM warehouse service and PXE network installation of Centos7

Bowen catalogueI. YUM software warehouseII. Type of YUM sourceIII. precautions for configuration of PXE automatic bulk chemical installation machineIV. deploy PXE remote installation service I. YUM software warehouse With the help of YUM software warehouse, the tasks of installing, uninstalling and upgrading rpm software packages can be comp ...

Posted on Thu, 14 Nov 2019 07:10:52 -0500 by genetheblue

Usage of Python process pool multiprocessing.Pool

I. multiprocessing module The multiprocessing module provides a Process class to represent a Process object. The multiprocessing module manages processes like threads. This is the core of multiprocessing. It is very similar to threading, and the utilization of multi-core CPU is much better than threading Take a look at the construction method ...

Posted on Thu, 14 Nov 2019 05:45:59 -0500 by New Coder

Detailed description of Nginx static and dynamic separation in Linux system

Introduction of Nginx Dynamic and Static Separation Nginx has a strong static processing capability but insufficient dynamic processing capability. Therefore, dynamic and static separation technology is commonly used in enterprises. Dynamic and Static Separation for PHP Give static pages to Nginx Dynamic pages are handled by PHP-FPM modules ...

Posted on Thu, 14 Nov 2019 02:31:38 -0500 by ureck

Samba service configuration details (anonymous, identity, alias, access control, mount access)

Samba Service Configuration Details Samba is a free software that implements the SMB protocol on Linux and UNIX systems and consists of server and client programs.SMB(Server Messages Block) is a communication protocol for sharing files and printers on a local area network. It provides file and printer sharing services between different compu ...

Posted on Thu, 14 Nov 2019 02:25:28 -0500 by vent

Primary primary replication, semi synchronous replication

MYSQL primary primary replication: mutual primary and secondary Easy problem: inconsistent data Host IP Master1 192.168.37.7 Master2 192.168.37.17 Master1 settings [root@Centos7 ~]#vim /etc/my.cnf [mysqld] log_bin server_id=7 auto_increment_offset=1 auto_increment_increment=2 Create a replication account MariaDB [(none)]> grant ...

Posted on Wed, 13 Nov 2019 11:45:41 -0500 by orange08

Replace Debian system image source in Docker or Laradock to solve the software installation problem

Docker Debian image source replacement Because most of the default Docker images are foreign, and the image source used is also foreign, so the access is very slow, so we need to replace it with domestic images (such as Alibaba cloud or 163). 163 - Debian Aliyun - Debian Note: different versions of Debian images have different source addresse ...

Posted on Wed, 13 Nov 2019 11:24:41 -0500 by ident

centos7 install vnc remote service

To avoid some unexpected system errors, it is better to update yum to the latest. It is not recommended to update the production environment when there is business running yum update Install GNOME Desktop graphics Desktop Services yum groupinstall "GNOME Desktop" Install vnc yum install tigervnc-server View system operation mo ...

Posted on Wed, 13 Nov 2019 10:10:48 -0500 by sargenle

Nginx optimization log segmentation

Summary As the Nginx run time increases, so does the log. In order to grasp the running state of Nginx conveniently, it is necessary to pay attention to the log files with too large Nginx log files at all times, which are necessary to cut the log files regularly in case of a major disaster.Nginx itself does not have the function of log segment ...

Posted on Wed, 13 Nov 2019 09:55:55 -0500 by lewel

Warning service of magic cloud nail

Users can define alarms in the Rubik's cube cloud. When the alarm is triggered, the Rubik's cube cloud. This alert process is based on Prometheus and alert manager, and the specific process is shown in Figure 1. Figure 1 alarm flow Prometheus is the monitoring system, which is responsible for monitoring the cluster. Alertmanager is responsible ...

Posted on Wed, 13 Nov 2019 05:26:40 -0500 by locomotive

Implementation of LRU algorithm based on bidirectional linked list and HashMap

LRU algorithm When doing memory management, we often use more LRU algorithms, that is, Last Recently Used, First appeared in Linux operating system. The specific implementation idea is to use Hash list to store key value pairs. We can implement an LRU caching algorithm based on bidirectional list and HashMap. The specific code ...

Posted on Tue, 12 Nov 2019 16:05:44 -0500 by agent_smith_sp