Linux Advanced Command Use

1,awk [root@mysql nginx]# cat access.log | awk 'substr($9,1,3)>200' #View access logs to filter log requests for non-200 status codes # substr(,20): Indicates that the 20th character in the fourth field starts and ends with the delimiter set # substr(,1,3): Indicates that three characters are truncated from the first character in the fourth ...

Posted on Mon, 06 Jan 2020 12:05:30 -0500 by sturbitt

zabbix 4.04 installation documentation - CentOS 7.6 based

1. Preparation before installation: 1.1 installation of JDK Uninstall openjdk # rpm -qa | grep java # yum remove java-1.8.0-openjdk # yum remove java-1.8.0-openjdk-headless Install JDK package # rpm -ivh jdk-8u191-linux-x64.rpm   1.2 installation dependency package # yum install -y net-snmp net-snmp-devel OpenIPMI-devel libssh2-devel openl ...

Posted on Mon, 06 Jan 2020 11:22:32 -0500 by gere06

Some functions in threads

thread A lightweight process simulated by pcb under Linux A basic unit of cpu scheduling in operating system It's the execution line of a program Create a thread int pthread_create(pthread_t *thread, //ID const pthread_attr_t *attr, //Set the thread's properties, attr is NULL table, make default properties void *(* ...

Posted on Mon, 06 Jan 2020 09:34:01 -0500 by Cerebral Cow

traefik uses etcd storage configuration--sample demo

traefik uses etcd as a backend configuration store configuration instance Functional testing purposes: 1:Traefik serves as a web service and uses etd library as the uniform storage space to implement traefik service, which can easily add or delete nodes and decouple the service configuration problems after the traefik service is started. 2:Tra ...

Posted on Mon, 06 Jan 2020 09:20:12 -0500 by Gimpy

Implementing Ingres service exposure in the kubernetes series tutorial TKE

Write before The previous article introduced the implementation of Ingress Controller based on Nginx, introduced the installation of Nginx Ingress Controller, related functions, TLS, advanced features, etc. This chapter begins with the introduction of ingress service exposure based on Tencent Cloud TKE. 1. TKE ingress 1.1 TKE ingress architect ...

Posted on Mon, 06 Jan 2020 08:41:56 -0500 by redd

poll of Linux IO multiplexing

poll of Linux IO multiplexing Select is introduced earlier, and poll is introduced today. Poll is a high-level polling method, which is usually used when the server processes requests from multiple clients. It is similar to select, but it is more efficient than select, and the number of connections processed is not limited by ...

Posted on Mon, 06 Jan 2020 07:59:56 -0500 by micaudwell

Nginx Advanced Configuration

1 nginx status page Need to add when compiling--with-http_stub_status_module parameter //Configuration case: [root@CentOS7-01 ~]#cat /apps/nginx/conf/vhosts/pc.conf server { listen 80; server_name www.hechunping.tech; location /nginx_status { stub_status; allow 192.168.7.0/24; allow 127.0.0.1; deny all; } } [root@CentO ...

Posted on Mon, 06 Jan 2020 07:29:58 -0500 by jsucupira

ubuntu boot file description (/ etc/default/grub)

When using ubuntu and win10 dual systems, ubuntu will be started by default every time you start up, but with more Windows, it is troublesome to switch manually every time. So I searched the boot file description and made relevant modifications. 1, File location /etc/default/grub 2, Document description The following ...

Posted on Mon, 06 Jan 2020 03:59:51 -0500 by snascendi

The solution to the error of installing. / bkcec install paas (the problem caused by coding)

Wang 5 of Haoding: solution to error reporting in installation. / bkcec install paas (problems caused by coding) Key words: blue whale smart cloud installation error report 1. Error message: install pbr failed The error message is as follows: byte-compiling build/bdist.linux-x86_64/egg/pip/_vendor/html5lib/treewalkers/ ...

Posted on Mon, 06 Jan 2020 03:11:05 -0500 by scottd

Build SkyWalking Service (For ElasticSearch 7)

[TOC] Build SkyWalking Service (For ElasticSearch 7) Reference for basic use of SkyWalking: Service Link Tracking Based on SkyWalking Official documents: Chinese version of SkyWalking documentation (community supplied) Official Apache SkyWalking Documentation Download Compressed Pack First we need to get SkyWalking's download address. The ...

Posted on Mon, 06 Jan 2020 00:29:49 -0500 by JoCitizen