上一页 1 ··· 4 5 6 7 8
摘要: 一.配置 EPEL 源 sudo yum install -y epel-release sudo yum -y update 二、安装 Nginx sudo yum install -y nginx 安装成功后,默认的网站目录为: /usr/share/nginx/html 默认的配置文件为:/e 阅读全文
posted @ 2023-03-05 23:55 冷夜O 阅读(27) 评论(0) 推荐(0)
摘要: 常用参数说明 -n 发送的包数量 -c 并发的线程 ab -n 10000 -c 3 https://www.baidu.com/ 阅读全文
posted @ 2023-03-05 17:32 冷夜O 阅读(32) 评论(0) 推荐(0)
摘要: 1.通过创建软链接,修改为亚洲上海 ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 2.通过给登录时的环境添加变量 例如 vi /etc/profile ,添加如下命令 export TZ='Asia/Shanghai' 3.如何手动修 阅读全文
posted @ 2023-03-05 01:39 冷夜O 阅读(72) 评论(0) 推荐(0)
摘要: 1.说明:这里以xshell为例,要实现xshell关闭或终端电脑断网时命令还能执行,需要用到nohup命令。 2.实例说明:ping 百度 nohup ping www.baidu.com > nohup.txt & & : 让程序后台运行 > : 输出重定向 想查看ping的输出,查看nohub 阅读全文
posted @ 2023-02-15 11:52 冷夜O 阅读(413) 评论(0) 推荐(0)
摘要: 手动删除全部业务标记索引(不能百分百释放存储) curl -XPOST http://10.0.0.161:9200/*/_forcemerge?only_expunge_deletes=true 单个索引把* 改为具体索引名称 阅读全文
posted @ 2023-02-08 10:51 冷夜O 阅读(23) 评论(0) 推荐(0)
摘要: 问题:es请求的数据量超过默认设置的2G报错处理 RequestError(400, 'search_phase_execution_exception', 'ReleasableBytesStreamOutput cannot hold more than 2GB of data') 全部索引都设 阅读全文
posted @ 2023-02-07 12:03 冷夜O 阅读(300) 评论(0) 推荐(0)
摘要: 1.执行 top 2.执行 第一个参数是间隔多少s,第二个参数是执行多少次 vmstat 1 10 也可以执行 vmstat 1 每秒输出一次 阅读全文
posted @ 2023-02-06 16:15 冷夜O 阅读(38) 评论(0) 推荐(0)
摘要: es设置index.max_result_window(就是from+size,默认大小10000),可通过如下方式修改: curl -XPUT 192.168.40.31:9200/datasmart/_settings -d '{ "index.max_result_window" :"1000 阅读全文
posted @ 2023-01-11 09:36 冷夜O 阅读(611) 评论(0) 推荐(0)
摘要: 01爬虫简介 1.jupyter安装与打开 简介:jupyter是一个交互式笔记本,是一个基于web页面的开发工具,集成了数据分析和机器学习开发环境。 用途: 学习、笔记共享,探索,开发数据分析和机器学习。 1.1.安装 pip3 install jupyter 1.2.运行 在指定目录运行命令 p 阅读全文
posted @ 2022-10-05 22:54 冷夜O 阅读(43) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8