一、安装过程 1、下载源码包 下载地址:https://www.python.org/downloads/source/ 或:https://www.python.org/ftp/python/ 2、解压安装包,以python 3.7.8为例 [root@localhost ~]# ll Pytho ...
分类:
编程语言 时间:
2020-07-03 17:06:22
阅读次数:
66
安装 https://www.jianshu.com/p/875457cb8da6 操作系统:Linux kibana 版本: 7.4.0 1. 在/etc/yum.repos.d/ 下新建 kibana.repo 配置 yum 源地址 内容如下: [root@localhost yum.repos ...
分类:
Web程序 时间:
2020-07-03 12:18:34
阅读次数:
249
方式一: [root@localhost ~]# find / -name mysql //在根目录下查找文件名为mysql的文件夹 方式二: [root@localhost ~]# find /user/local/mysql -name \*.bin //目录“/usr/local/mysql” ...
分类:
系统相关 时间:
2020-07-03 01:06:48
阅读次数:
81
方式一: [root@localhost /]# lsof -i:22COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMEsshd 1219 root 3u IPv4 23508 0t0 TCP *:ssh (LISTEN)sshd 1219 root ...
分类:
系统相关 时间:
2020-07-03 00:52:05
阅读次数:
80
curl http://localhost:6800/schedule.json -d project=default -d spider=somespider shell 命令请求转换为python 请求: request.post('http://localhost:6800/schedule. ...
分类:
其他好文 时间:
2020-07-03 00:38:20
阅读次数:
54
centos7的mini版没有wget命令, 我们可以使用yum在线安装,普通版可以正常使用wget命令 1、下载在线安装的wget命令 yum -y install wget 2、安装nginx 创建一个nginx的文件夹: [root@localhost ~]# mkdir /usr/nginx ...
分类:
系统相关 时间:
2020-07-02 21:41:36
阅读次数:
92
var url = require("url"), fs = require("fs"), http = require("http"), path = require("path"); var port = 8080 // 默认检测80端口 if (process.argv[2] '-p') { ...
分类:
其他好文 时间:
2020-07-02 18:25:45
阅读次数:
62
场景:系统访问服务很慢,如果在每个系统都加切面拦截arond ,打印查看访问时间。这个比较繁琐,系统多了也比较不科学。 springcloud 的一组件 zipkin 为我们提供了这样的工具。 官网:https://zipkin.io/pages/quickstart.html 分两步实现服务跟踪, ...
分类:
其他好文 时间:
2020-07-02 16:37:44
阅读次数:
50
版本:CentOS 7 首先: [root@localhost test]# cat /etc/inittab # inittab is no longer used when using systemd. # # ADDING CONFIGURATION HERE WILL HAVE NO EFF ...
分类:
其他好文 时间:
2020-07-02 16:08:49
阅读次数:
72
一、参考源码 <?php $localhost="localhost"; $root="root"; $password="123456"; $datebest="db_ku"; $conn=mysqli_connect($localhost,$root,$password,$datebest) o ...
分类:
数据库 时间:
2020-07-02 09:34:53
阅读次数:
105