Linux problem record - the hostname becomes bogon

Absrtact: This paper mainly records the reason why the host name becomes bogon and the solution. Problem recurrence After a login, the host name becomes bogon, and then it will be bogon every time you log in to the Linux system. 1 Connecting to 192.168.35.128:22... 2 Connection established. 3 To escape to local shell, press 'Ctrl+Alt+]'. 4 5 ...

Posted on Mon, 18 Nov 2019 05:41:38 -0500 by xmatthawkx

Xi. Using KeepAlived for high availability load balancing of RabbitMQ

Summary The high availability architecture is kept + HAproxy. It uses HAproxy to do RabbitMQ load balancing and high availability, and kept to ensure the high availability of HAproxy. assembly IP address port RabbitMQ disk node-01 192.168.0.101 5672 RabbitMQ disk node-02 192.168.0.102 5672 RabbitMQ dis ...

Posted on Sun, 17 Nov 2019 12:17:38 -0500 by andrewmay67

Using python to complete the sorting algorithm

Summary of sorting algorithm Bubble sort Two adjacent elements are compared in two loops, and one maximum or minimum element is screened out in each pass (the ordered area is later) def bubble_sort(data): # First level loop: loop once, representing a trip, and filter out a maximum or minimum element for i in range(len(data)-1): ...

Posted on Fri, 15 Nov 2019 08:42:03 -0500 by WakeAngel

Asible Learning Notes--Common Modules

Ansible Common Modules You can find the module you want from ansible-doc-l | grep module_name.Then use ansible-doc-s module_name to see the usage of this module. Official module list and description: https://docs.ansible.com/ansible/latest/modules_by_category.html One thing to note about how modules are used is state.Many modules will have thi ...

Posted on Thu, 14 Nov 2019 15:00:11 -0500 by emceej

Raspberry pie + DHT11+onenet cloud platform

Function: Raspberry pie collects temperature and humidity and transmits them to cloud platform through HTTP protocol I. preparation: Raspberry pie 3b, dht11 temperature and humidity sensor, onenet platform II. onenet cloud platform configuration 1. Enter the official website and click the developer center 2. Add pr ...

Posted on Tue, 12 Nov 2019 13:11:53 -0500 by bulrush

iaas (openstack) super detailed construction and installation of keystone authentication service

Note: update with the previous blog Because the whole open source openstack installation process is too tedious, the command is too long, too tedious, so the entire installation command is written as a shell script. Too many scripts have been pushed github Source hosting center. This is the content of this script github Warehous ...

Posted on Mon, 11 Nov 2019 17:28:50 -0500 by Azeryk

iaas (openstack) super detailed setup and installation of Glance image service

Note: update with the previous blog Because the whole open source openstack installation process is too tedious, the command is too long, too tedious, so the entire installation command is written as a shell script. Too many scripts have been pushed github Source hosting center. This is the content of this script github Warehous ...

Posted on Mon, 11 Nov 2019 11:38:11 -0500 by JC99

1. Introduction to Fortress Machine, Set up Simple Fortress Machine, Install jailkit to Realize Chrooot and Log Audit

1. Introduction to Fortress Machine In a specific network environment, in order to protect the network and data from external damage, various technical means are used to collect and monitor the system status, security events, network activities of each component in the network environment in real time, so as to centralize alarm, timely process ...

Posted on Sat, 09 Nov 2019 14:01:13 -0500 by hughesa

Regular expression and programming The Three Swordsmen (grep, sed, awk) command is detailed

Blog Outline:1. Regular expressions(1) Definition of regular expressions(2) Use of regular expressions1. Basic Regular Expressions(1) grep command tool2. Extending regular expressions2. Text Editing Processor1.grep Command Tool2.sed Command Tool3.awk Command Tool 1. Regular expressions (1) Definition of regular expressions Regular expressio ...

Posted on Sat, 09 Nov 2019 12:39:54 -0500 by Labbat

Construction and basic use of MONKEY environment

Install the night God simulator and turn it on Open cmd in the Nox\bin directory To connect the mobile phone to the computer through USB, you need to enter the developer mode and turn on USB debugging About mobile phone - "click version number about 5-7 times Display device to indicate normal connection, display offline ...

Posted on Sat, 09 Nov 2019 11:28:18 -0500 by gijs25