所需要库:thinter,python3自带 代码: from tkinter import * import re import requests def input1(): link = str(inp1.get()) headers = {'user-agent': 'Mozilla/5.0 ...
分类:
编程语言 时间:
2020-07-04 21:01:20
阅读次数:
124
找一个免费IP的网站 # coding=utf-8 import requests proxies = {"http":"http://114.234.80.188:80"}#就代理填到这里 headers = { "User-Agent": "Mozilla/5.0 (Macintosh; Int ...
分类:
其他好文 时间:
2020-07-04 17:11:48
阅读次数:
47
zabbix官网:https://www.zabbix.com/ 点击Download按钮,按照自己的操作系统选择版本: 注:LTS(long term support)长期支持版本,zabbix5.0要求MySQL最低5.6,php最低7.2 版本选择完后,网站下方会给出对应的安装步骤: a.关闭 ...
分类:
数据库 时间:
2020-07-04 17:06:52
阅读次数:
128
要爬取的网站:http://fy.iciba.com/ https://blog.csdn.net/weixin_43808690/article/details/87886075 原文链接 代码: from urllib import request,parse import json class ...
分类:
编程语言 时间:
2020-07-04 15:01:13
阅读次数:
74
#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; ev ...
分类:
其他好文 时间:
2020-07-04 10:31:41
阅读次数:
106
1.搭建zabbix环境,见上个博客 2.监控mysql 安装mysql 开启mysql yum -y install mariadb mariadb-server systemtcl start mariadb netstat -anpt |grep :3306 3.安装zabbix (配置yum ...
分类:
数据库 时间:
2020-07-02 21:21:04
阅读次数:
87
'''爬取豆瓣top250书籍''' import requests import json import csv from bs4 import BeautifulSoup books = [] def book_name(url): headers = { 'User-Agent': 'Mozi ...
分类:
其他好文 时间:
2020-07-02 16:39:12
阅读次数:
70
一、egg-mysql 的安装配置 1、在 egg 项目中安装 egg-mysql npm i egg-mysql --save 2、在 {app_root}/config/plugin.js 中启用 egg-mysql 插件: exports.mysql = { enable: true, pac ...
分类:
数据库 时间:
2020-07-01 19:59:16
阅读次数:
136
小张负责一家小型企业的设备运维,随着公司监控的设备增多,原有单机部署的的zabbix内存开始不够用,小张打算将zabbix的数据库单独分离出来。
分类:
数据库 时间:
2020-07-01 16:16:08
阅读次数:
65
python version: python3.6 system version: Centos 8.2.2004 zabbix version: 5.0 import requests import json import uuid import sys import subprocess aut ...
分类:
编程语言 时间:
2020-07-01 15:54:46
阅读次数:
69