linux builds DNS server 3
1. For the installation of bind 9, it is assumed that bind 9 has been installed through apt get
2. Enter the directory / etc/bind
3. Create a zone record file (similar to db.xxx): Here I create db.testlyhh.com
4. Edit the named.conf.default-zones file and add the following:
zone "testlyhh.com" {
type master ...
Added by jack_wetson on Tue, 31 Mar 2020 16:08:01 +0300
One click online installation of redis database by shell script (implemented by function)
The previous article gives the process of manual compilation and installation of redis, and gives the process of online installation of redis when simulating the establishment of redis cluster, so I want to write a redis script for online installation. In this paper, I mainly use shell functions to realize and verify the process of online ins ...
Added by philipolson on Wed, 25 Mar 2020 16:47:34 +0200
Ali Cloud Vulnerability Upgrade
RHSA-2018:3092-Medium Risk: glibc Security and BUG Repair Update Code Execute Local Title
RHSA-2017:1481-Important: Execution of EXP code exists in glibc security updates
sudo yum update glibc
sudo yum update glibc-common
sudo yum update glibc-devel
sudo yum update glibc-headers
sudo yum update nscd ...
Added by []InTeR[] on Sun, 01 Mar 2020 05:18:03 +0200
Learn SpringCloud from Me | Article 18: The Basic Environment for Docker ization of Micro Services
1. Containerization
With the advent of Docker, container technology has made a qualitative leap. Docker standardizes the infrastructure of services, unifies the packaging and distribution of applications, deployment and operating system-related class libraries, and solves the problem of environmental differences in test production deployment.F ...
Added by Iceman512 on Mon, 23 Sep 2019 04:48:42 +0300
linux Kernel-level Synchronization Mechanism--futex
In the interview about multi-threaded synchronization, you have to think about the question, we know that glibc pthread_cond_timedwait underlying is achieved by linux futex mechanism.
The ideal synchronization mechanism should be to use atomic instructions to solve the problem in user mode without lock conflicts, and to sleep and wake up with ...
Added by brownca on Mon, 29 Jul 2019 13:52:32 +0300
Ceph Delete Add osd
1. Scenes
Current state of cluster
# ceph -s
cluster e6ccdfaa-a729-4638-bcde-e539b1e7a28d
health HEALTH_OK
monmap e1: 3 mons at {bdc2=172.16.251.2:6789/0,bdc3=172.16.251.3:6789/0,bdc4=172.16.251.4:6789/0}
election epoch 82, quorum 0,1,2 bdc2,bdc3,bdc4
...
Added by roygbiv on Fri, 12 Jul 2019 20:41:18 +0300
linux Kernel Interrupt Implementation Principle
Preface
This article mainly explains several questions:
What is interruption and what are the categories of interruption?
How can interrupt events be passed step by step from the event source to the kernel layer and the corresponding interrupt handling functions are invoked?
How is the interrupt system initialized during kernel startup? ...
Added by michaellunsford on Mon, 24 Jun 2019 03:51:20 +0300
docker&k8s deployment tomcat record
Description of parameters
The replacement parameters used in the following are described:
${env}: environment variables, which describe the development environment, test environment, and use namespaces to distinguish environments on k8s, so first you need to create a namespace: kubectl create namespace ${env}, namespace names can only be alph ...
Added by Ristiisa on Fri, 07 Jun 2019 01:25:42 +0300