Packages and some commonly used modules
What is a bag?
A package is a folder that contains _init_ py files, so the purpose of creating a package is to organize files / modules with folders.
It should be emphasized that:
1. In Python 3, even if there is no _init_ py file under the package, the import package will still not report errors. In Python 2, the file must be under the pack ...
Added by ade1982 on Fri, 19 Jul 2019 15:47:54 +0300
zabbix implements nginx monitoring and self-healing of nginx services
1.zabbix-server (ubuntu1804)
1) Necessary packages
zabbix-server-mysql
zabbix-frontend-php
2) Start-up services
State Recv-Q Send-Q Local Address:Port Peer Address:Port ...
Added by tron00 on Fri, 19 Jul 2019 15:10:32 +0300
MySQL DAY2 Basic Tutorial
Table Content
MariaDB [company]> SELECT * FROM employee_info;
+-----+-------+------+--------+---------+--------+
| id | name | age | salary | address | sex |
+-----+-------+------+--------+---------+--------+
| 001 | Alex | 30 | 13000 | NULL | male |
| 002 | Jack | 27 | 8500 | NULL | male |
| 003 | Cathy | 23 | ...
Added by manmanman on Thu, 18 Jul 2019 03:54:51 +0300
Classification of SQL Query Statements
There are many kinds of SQL query statements, which are summarized below. Firstly, three tables are constructed for later experiments.
-- Student table, record student information
CREATE TABLE student(
sno VARCHAR(10),
sname VARCHAR(10),
ssex ENUM('male','female'),
sage INT,
sdept VARCHAR(10),
PRIMARY KEY(sno)
);
+ ...
Added by kmussel on Thu, 18 Jul 2019 01:42:14 +0300
CentOS 7 Compile and Install MySQL Database System
Apache HTTP Server is an excellent Web server software that provides front-end user-oriented application capabilities.In the actual production environment, in order to provide richer and more powerful web application functions, it often needs the support of background database, web page programming language and other roles.
As a qualified main ...
Added by Dodon on Thu, 18 Jul 2019 00:21:25 +0300
Brief description of MariaDB and simple deployment of binary packages
MySQL was originally developed by Michael Widenius, but soon after Mr. Michael sold MySQL to SUN for $1 billion, SUN was acquired by Oracle. Mr. Michael, fearing that MySQL would be closed-source in the future, built a new project named after his daughter Maria. —— MariaDB, MariaDB's default storage engine is Maria, not ...
Added by ESCForums.com on Wed, 17 Jul 2019 02:10:21 +0300
PreparedStatement interface in Java
The PreparedStatement interface inherits from the Statement interface and is used to execute pre-compiled SQL statements with or without parameters. Compared with the Statement interface used to execute static SQL statements, the SQL statements in the PreparedStatement interface are precompiled, and the efficiency of repeated execution is highe ...
Added by nosmasu on Tue, 16 Jul 2019 20:44:20 +0300
Hive Installation & First Experience
Download & Unzip
Download Hive 1.2.1 from this address https://mirrors.tuna.tsinghua.edu.cn/apache/hive/hive-1.2.1/apache-hive-1.2.1-bin.tar.gz
Then use the following command to extract it to the specified directory:
tar -zxvf apache-hive-1.2.1-bin.tar.gz -C /root/apps/
Then change the name with the following command:
mv apache-hive- ...
Added by jimmyhumbled on Mon, 15 Jul 2019 23:25:59 +0300
zabbix series notes for zabbix installation proxy
Background:
Two vps on vt only provide ipv6. (because it's cheap). My zabbix server is in Tencent cloud. It doesn't have ipv6. So I can't monitor them.
How about this? Think of a way... I have another vps to apply for ipv6. Because it's free.
https://www.tunnelbroker.net This website can use ipv6 in the way of ipv4 channel. As long as you apply ...
Added by byronwells on Mon, 15 Jul 2019 21:47:18 +0300
Zabbix Monitoring System
Introduction to zabbix:zabbix is a fully open source tool that integrates features such as cacti and nagiosAnnex: SNMP (udp 161 UDP 162)Many network tools support this protocol, such as common routing switching, common OS.It can be managed as well as managed.There are roughly three versions of snmp protocol: V1 V2 V3The security of v1 and v2 is ...
Added by We Must Design on Mon, 15 Jul 2019 03:19:29 +0300