Alibaba online bug troubleshooting command
Linux command class
tail
The most commonly used tail -f
tail -300f shopbase.log #Count down 300 lines and enter the real-time listening file writing mode
grep
grep forest f.txt #File lookup
grep forest f.txt cpf.txt #Multi file lookup
grep 'log' /home/admin -r -n #Find all files that match the keyword in the directory
cat f.txt | grep ...
Added by unsider on Mon, 25 Oct 2021 08:28:07 +0300
Docker installation and use
Docker
Install Docker
Uninstall old version
sudo apt-get remove docker docker-engine docker.io containerd runc
Installing using a repository
Before installing Docker engine community on the new host for the first time, you need to set up the Docker repository. After that, you can install and update Docker from the repository.
Set up repo ...
Added by dgudema on Mon, 25 Oct 2021 05:30:39 +0300
Hot update of Python in game
Introduction:
Hot update is to add new functions to the game or fix bug code without restarting the server. The fast iteration speed of game update has given birth to the demand for hotter technology. In the game projects I have experienced, whether it is the server or the client, the version update is around hotter update. Especially now th ...
Added by shergar1983 on Sat, 23 Oct 2021 11:12:35 +0300
Nginx event driven model (second understanding + the most complete in History)
The article is very long. It is recommended to collect it and read it slowly! Java high concurrency enthusiast community: Crazy maker circle Here are some valuable learning resources:
Free classic books: Java high concurrency core programming (Volume 1) Necessary for interview + necessary for large factory + necessary for salary increase Gan ...
Added by leoric1928 on Sat, 23 Oct 2021 09:29:49 +0300
Still using Jenkins? Try Gitlab's CI/CD feature
Before, Jenkins was generally needed to realize automatic packaging deployment. However, Gitlab's CI/CD function can also be deployed automatically, and the operation is simpler. If you are also using Gitlab as a Git repository, you might as well try its CI/CD function.
1, Installation
To realize automatic deployment through Gitlab's CI/CD fu ...
Added by abriggs on Sat, 23 Oct 2021 05:40:01 +0300
Part of netty series: using netty to implement a server supporting http2
brief introduction
In the last article, we mentioned how to configure TLS in netty to support http2. In fact, TLS is not a mandatory requirement of https. It is just a recommended standard. In addition to TLS, how do I set up netty to support http2? Let's have a look.
Basic process
netty supports http2 in two cases. The first case is to use ...
Added by gasper000 on Fri, 22 Oct 2021 11:01:00 +0300
[Servlet] crazy God's notes
Basic concepts of Web
Static web
The data provided by html and css to everyone will never change
Dynamic web
The information provided to everyone will change. Everyone will see different information at different times and places; For example, Taobao; The technology stack includes servlet, jsp, asp and php
advantage: web pages can be update ...
Added by gloeilamp on Fri, 22 Oct 2021 10:48:43 +0300
Linux performance optimization network
Performance test of each protocol layer
Forwarding performance
hping3: as a SYN attack tool, but it is more used as a performance tool to test the processing ability of network packets. Pktgen: high performance network testing tool pktgen provided with Linux kernel. Pktgen supports a wealth of custom options to facilitate the constructi ...
Added by zack45668 on Thu, 21 Oct 2021 00:04:20 +0300
On the principle and practice of VMware network connection mode
VMware DHCP Service and VMware NAT Sevice
After vmware is installed, these two network services will be installed on the host by default. DHCP is used for IP allocation and NAT service is used for address translation. It is only required in NAT mode.
Adapter VMnet8 and Adapter VMnet1 on the host &nbs ...
Added by trazan on Tue, 19 Oct 2021 23:15:43 +0300
Deploy k8sV1.22.2 cluster version in kubedm mode
Remember to turn off the firewall and selinux. The number of cpu cores should be at least 2 Configuration resolution
[root@k8s-master ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.153.148 k8s-master
192.168 ...
Added by Illusion on Sat, 16 Oct 2021 09:16:56 +0300