Building zabbix monitoring system

Building Automation Service Platform--zabbix Monitoring Platform Preparatory environment Prepare a Linux host (CentOS 7 example) LAMP platform has been installed Close Firewall and SELinux Setting IP Address Setting up yum source Individual symbols in linux instructions will conflict with the text editing language of the blog. I will use spac ...

Posted by chriskiely on Fri, 07 Jun 2019 16:56:09 -0700

Talking about Variables and Data Types in JavaScript

First, we need to understand that JS is a weakly typed and dynamically typed language. Weak type means that you can make some implicit transformations, such as []= 0 is true, but strong type is not. Dynamic typing is to detect typing only when the code is running, such as a = 3; a.push(3); the result is runtime error, while static typing is ...

Posted by unistake on Fri, 07 Jun 2019 15:30:22 -0700

Practical small commands

1. Practical Small Commands 1.1,cat The cat command is mainly used to view file contents, create files, merge files, append file contents and other functions.Common Options-n: Display line numbers when viewing text-b: Display line numbers when viewing text, excluding blank lines-E: Displays whether or not a line break occurs, ending with'$'to ...

Posted by Jmz on Wed, 05 Jun 2019 09:26:55 -0700

Grouping operations for Python data analysis

A common step in data analysis is to group data sets and then apply functions, which can also be called grouping operations. The God Hadley Wickham coined the term split-apply-combine, which means split-application-merge. So when we talk about grouping operations, what are we actually talking about? Splitting: Dividing and grouping data accord ...

Posted by Mordecai on Tue, 04 Jun 2019 16:19:32 -0700

Combing EOF Writing in linux

Reprinted from http://www.cnblogs.com/kevingrace/p/6257490.html In the ordinary operation and maintenance work, we often encounter such a scenario: When executing a script, you need to input N lines into a file automatically. If it's a few lines, you can also use echo additions, but if it's a lot of lines, it's foolish to use echo additions ...

Posted by lynxus on Tue, 04 Jun 2019 16:03:22 -0700

Detailed steps for installing Zabbix server in Centos 7.0

      zabbix (zbix) is an enterprise-level open source solution based on WEB interface to provide distributed system monitoring and network monitoring functions.      zabbix consists of two parts, zabbix server and optional component zabbix agent. zabbix server can provide remote server/network status monitoring, d ...

Posted by geoffism on Tue, 04 Jun 2019 16:02:04 -0700

Master-slave replication based on Docker MySQL

Docker MySQL implements master-slave replication (1 Master + 2 Slave) 1. Requirements: The three versions of mysql are identical Initialize the table and start mysql in the background Modify the root password       Modify the configuration file: Start a docker mysql container and enter it, copy its configuration file / etc/mysql/my.cnf to loc ...

Posted by asanvicente on Tue, 04 Jun 2019 11:29:54 -0700

Gorm Source Analysis database/sql

brief introduction Gorm is one of the more ORM s used in the development of the Go language.It has a full range of functions: crud Association (contains one, contains many, belongs to, many-to-many, contains many) callback functions are available before and after CallBacks (create, save, update, delete, query find) Preload affair composite pri ...

Posted by DoctorWho on Tue, 04 Jun 2019 09:04:01 -0700

Mysql 5.7 Password Policy and Modification Skills

After the upgrade of mysql to version 5.7, the security has increased greatly. MySQL 5.7 randomly generates a password for root users and prints it in error_log. For the location of error_log, if RPM packages are installed, the default is / var/log/mysqld.log. So we can find the initial password string in mysqld.log: cat /var/log/mysqld.log | g ...

Posted by getDizzle on Sun, 02 Jun 2019 14:23:51 -0700

Configure LNMP on a single host

Compile and Install nginx 1. Log on to the official website to get a download link directly wget [root@localhost ~]# wget http://nginx.org/download/nginx-1.17.0.tar.gz 2. Unzip the file [root@localhost ~]# tar xf nginx-1.17.0.tar.gz 3. Check that the current environment meets compilation requirements and generate a makefile file [root@localho ...

Posted by mailtome on Sun, 02 Jun 2019 10:15:14 -0700