fabric 1.4 environmental construction and pit summary

Summary of fabric 1.4 environment construction 1. Install dependent tools 1.1 install Git sudo apt update sudo apt install git 1.2 install Curl sudo apt install curl 1.3 installing docker //To check whether Docker has been installed on the system: docker --version //Not installed. Use the fo ...

Posted by PhpDog on Fri, 25 Oct 2019 01:35:21 -0700

How to access Apache virtual host (operation part)

Experiment requirements: install Apache and DNS servicesAdd two network cards to the virtual machine[root@localhost ~]# yum install bind httpd -yAdd network card Building a virtual host based on domain name access 1. Provide domain name resolution for virtual host [root@localhost ~]# vim /etc/named.conf //Configure DNS master profile [roo ...

Posted by OmegaB on Thu, 24 Oct 2019 21:18:16 -0700

A thorough understanding of snowflake algorithm and Baidu meituan's best practice

Words written in the front When it comes to the automatic generation scheme of distributed ID, you are sure to be very familiar with it, and you can immediately tell several schemes that you are good at. Indeed, as an important identification of system data, ID is of great importance, and various schemes have been optimized for many generations ...

Posted by michelledebeer on Thu, 24 Oct 2019 18:04:35 -0700

About the drag effect of H5

Dragging process: dragstart: this event is triggered on the dragged element at the beginning of dragging. The listener needs to set the data required for dragging. This event is not triggered when dragging files from the operating system to the browser. Regenter: trigger on the element when draggi ...

Posted by PugJr on Thu, 24 Oct 2019 03:57:35 -0700

Unix Network Programming Volume 1 Intermediate

Unix Network Programming Volume 1 Intermediate Basic TCP socket programming socket connect bind listen accept close() Server: display client IP and port number Concurrent server Local and foreign protocol address functions Sample TCP client and server programs Client Server Workflow Normal startup ...

Posted by TheKiller on Wed, 23 Oct 2019 23:08:31 -0700

Monitoring of linux tuning indicators

linux index monitoring Since I was responsible for the production environment deployment, I have encountered a number of online environment memory and CPU problems. Because of the popularity of microservices and containers, K8s + prometheus + grafana + alert can be easily used for monitoring, which is enough to cover most scenarios. The most im ...

Posted by welshy123 on Wed, 23 Oct 2019 19:33:04 -0700

A brief account of linux monitoring indicators

linux index monitoring Since I was responsible for the production environment deployment, I have encountered a number of online environment memory and CPU problems. Because of the popularity of microservices and containers, K8s + prometheus + grafana + alert can be easily used for monitoring, which is enough to cover most scenarios. The most im ...

Posted by hellz on Wed, 23 Oct 2019 17:15:56 -0700

Describe the advanced configuration of firewall in Linux

IP camouflage and port forwarding Firewall supports two types of network address translation IP address masquerade It can share multiple addresses in LAN and access to the Internet with a single public address IP address camouflage only supports IPv4, not IPv6 Address masquerading is enabled in the default external area Forward port Also ...

Posted by mvidberg on Wed, 23 Oct 2019 12:46:54 -0700

Save pictures for quick app

There is a hole in the saved image in the quick application. If you step on it, you will be hit. Here, you should also distinguish Huawei from other manufacturers. Although there is no problem with the debugger provided by Huawei and the official suppliers, Huawei mobile phones cannot be saved after the application goes online. 1. different poi ...

Posted by ignorant on Wed, 23 Oct 2019 11:10:52 -0700

Making notes on the simple video player for the summer primary school class of senior Xuelei

Because the direction of the paper is divided (yes, it is divided, not chosen by oneself, there are many reasons. Postgraduate students, at the very beginning, in December, the reply was done in content development. Although it was very hopeless, it still needs to be done a little bit. The direction of ...

Posted by Cinds on Wed, 23 Oct 2019 09:45:03 -0700