Notes of the third lecture in class NSD2005

Notes of the third lecture in class NSD2005 1, KVM construction and management 10.1 KVM components 10.2 KVM management command 10.3 composition of KVM virtual machine 10.4 manually clone KVM virtual machine 10.5 manually clone kvm virtual machine (virsh edit virtual machine name) 10.6. Delete KVM vi ...

Added by gotserv on Fri, 26 Jun 2020 09:45:55 +0300

logstash and filebeat collect logs

1. Background Log collection adopts ELK framework, i.e. elasticsearch, logstash, kibana, and filebeat component. Filebeat is used to scan log files and send logs to logstash service, while logstash service completes log segmentation and sends logs to elasticsearch service. 2. Deployment steps of filebeat (log - > logstash) Download the ...

Added by Funbruk on Sun, 31 May 2020 19:13:13 +0300

Cloud Server ssh key management and github configuration

A word programmers often say is: Programming for github.Without github, programmers can see how important it is to them. The tool that works with github is git, in the previous chapter git installation and basic configuration on cloud servers There is also a basic introduction to it on the server.Although git can work on both ssh and https pro ...

Added by dev99 on Thu, 28 May 2020 05:35:54 +0300

PHP7 production environment queue Beanstalkd correct use posture

Application scenario Why use it? What's the advantage? This should be put at the beginning to say that only when you know what it is and what it is suitable for, can you better integrate it with your own projects. Where to use it and where to learn it? Learning it doesn't mean learning it doesn't mean we won't. We should usually consider more s ...

Added by arfa on Tue, 19 May 2020 08:46:14 +0300

The fifth experiment report of operating system memory management

0 personal information Zhang yingzi 201821121038 Calculation 1812 1 purpose of the experiment Learn more about memory management through programming. 2 experiment content On the server, we use Vim to write a program: simulate a memory management algorithm, test the result, and explain the running result. 3. Experiment report    Three po ...

Added by bryansu on Sun, 17 May 2020 11:48:25 +0300

Prometheus+Grafana visual monitoring MySQL

Use Prometheus and Grafana to monitor MySQL server performance.Use two exporter s:Node? Exporter: server system data collectionmysqld_exporter: MySQL server data collectionMonitoring architecture: Prometheus installation configurationInstallation mode binary installation, see here for details CentOS7 deployment PrometheusVersion: current late ...

Added by dhruvasagar on Thu, 14 May 2020 02:15:46 +0300

Build LVS-DR load balancing cluster and maintained LVS high availability load balancing cluster

18.11 LVS DR mode construction preparation Three machines have public IP. Scheduler (director) IP: 192.168.230.135 real server1(real1) IP: 192.168.230.130 real server2(real2) IP: 192.168.230.145 VIP: 192.168.230.200 Start building Configure director [root@cham002 ~]# vim /usr/local/sbin/lvs_dr.sh #! /bin/bash echo 1 > /proc/s ...

Added by buddysal on Mon, 04 May 2020 07:27:43 +0300

Linux learning notes - supplemental

1.find command Command format: find directory condition value 1.find -name find /etc/ -name passwd ##Find the file named passwd under / etc 2.find -user -group -a -o -not find /mnt -group root find /mnt -user westos find /mnt -group root -user student ##and find /mnt -group root -a -user student ##Both c ...

Added by GaryC on Fri, 01 May 2020 11:04:56 +0300

LNMP Architecture - Nginx parsing PHP related configuration, Nginx agent

Nginx parsing PHP related configuration configuration file vim /usr/local/nginx/conf/vhost/test.com.conf ......... location ~ \.php$ { include fastcgi_params; //fastcgi_pass 127.0.0.1:9000 fastcgi_pass unix:/tmp/php-fcgi.sock; //There are two listening formats of fastcgi ﹐ pass, ...

Added by phpSensei on Thu, 30 Apr 2020 15:35:29 +0300

for loop, while loop, break out of loop

for loop General format: for var in item1 item2 ... itemN do command1 command2 ... commandN done Write in one line: for var in item1 item2 ... itemN; do command1; command2... done; eg: Requirement: sum the numbers from 1 to 100. [root@dl-001 sbin]# vim sum.sh #!/bin/bash sum=0 for i in `seq ...

Added by samafua on Thu, 30 Apr 2020 13:57:53 +0300