Configuration file of Linux file I/O modifier (summary of file programming III)

Document programming summary III Project Name: configuration file of Linux file I/O modifier Objective: to further exercise the use of linux file I/O programming basic functions: open, read, write, close, lseek; Before the project starts, we will introduce the string STR function under Linux C Function function: find the fi ...

Posted by kentish on Wed, 04 Dec 2019 04:56:24 -0800

zabbix Chinese character scrambling problem, three solutions summary. There's always a way for you

Method 1: replace font Modify web front end VIM of zabbix / www / HTML / zabbix / include / definitions.inc.phpReplace DejaVuSans with simkai in two places define('ZBX_FONT_NAME', 'DejaVuSans'); define('ZBX_GRAPH_FONT_NAME', 'DejaVuSans'); Replace DejaVuSans with simkai define('ZBX_FONT_NAME', 'simkai'); define('ZBX_GRAPH_FONT_NAME', 'simkai ...

Posted by freshclearh2o on Wed, 04 Dec 2019 02:54:11 -0800

Network group related experiments

Network group is a new technology on centos7. Its function is similar to binding. It is a method of aggregating multiple network cards to achieve redundancy and improve throughput. Different from the binding technology in the old version, network group provides better performance and scalability. It is implemented by kernel drive and team D d ...

Posted by mrjameer on Tue, 03 Dec 2019 21:17:30 -0800

MySQL - mmm high availability (practice!)

Advantages and disadvantages of MySQL-MMM: Advantages: high availability, good scalability, automatic failover, for primary and primary synchronization, only one database write operation is provided at the same time to ensure data consistency. Disadvantages: the Monitor node is a single point, which can be combined with Keepalived to achieve ...

Posted by jozard on Tue, 03 Dec 2019 07:33:34 -0800

docker private warehouse Harbor

I. download and installation of relevant software #Docker installation wget  -O /etc/yum.repos.d/docker-ce.repo   https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo y ...

Posted by jerdo on Tue, 03 Dec 2019 02:07:06 -0800

Introduce and install MySQL database in detail

Basic concepts of database data The symbolic record that describes things is called Data Including numbers, words, graphics, images, sounds, archives, etc Store in a unified format in the form of "record" surface Organize different records together to form a "table" It is used to store specific data data base A databas ...

Posted by hno on Tue, 03 Dec 2019 01:22:28 -0800

Tomcat server of Centos 7 system

I. The Origin of tomcat Name origin: tomcat was originally developed by sun's software architect James Duncan Davidson. Later he helped turn it into an open source project, which Sun contributed to the Apache Software Foundation. Because O'Reilly, the majority of open source projects, will produce a related book and design its cover as a sketc ...

Posted by qartis on Mon, 02 Dec 2019 22:30:28 -0800

filebeat collects IIS logs into es

If you need to collect IIS logs in your work, you can use the filebeat component; Log format resolution of iis: Log example: #Software: Microsoft Internet Information Services 7.5 #Version: 1.0 #Date: 2019-03-14 00:00:00 #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc- ...

Posted by timc37 on Mon, 02 Dec 2019 20:29:53 -0800

Recovery of deleted linux files by mistake

Under Linux, the file is deleted by mistake. Use extundelete to restore the test process extundelete download address: https://pkgs.org/download/extundelete Add a disk to the virtual host, which is / dev/sdb [root@localhost bin]# cat /proc/scsi/scsi Attached devices: Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: VMware Model: Virtual d ...

Posted by Push Eject on Mon, 02 Dec 2019 18:59:15 -0800

Linux basic knowledge DNS server master-slave replication, sub domain authorization

DNS domain name system is a service of Internet. As a distributed database which maps domain name and IP address, it can make people access the Internet more easily. DNS uses TCP and UDP port 53   DNS server master-slave replication, subdomain authorizationMain server: 10.120.123.13Slave server: 10.120.123.250Sub server: 10.120.123.251  Master ...

Posted by Niccaman on Mon, 02 Dec 2019 15:39:45 -0800