上一页 1 ··· 3 4 5 6 7
摘要: 1、下载 wget https://download.samba.org/pub/rsync/src/rsync-3.1.2.tar.gz tar -zxvf rsync-3.1.2.tar.gz2、安装cd rsync-3.1.2./configure --prefix=/usr/local/rs 阅读全文
posted @ 2022-04-19 15:19 舒然 阅读(1376) 评论(0) 推荐(0)
摘要: 1、禁止root用户登录ssh 代码如下: #vi /etc/ssh/sshd_config 把 代码如下: PermitRootLogin yes 改为 代码如下: PermitRootLogin no 重启sshd服务 代码如下: #service sshd restart 此时再使用root登 阅读全文
posted @ 2022-04-15 17:07 舒然 阅读(2022) 评论(0) 推荐(0)
摘要: 改了/etc/sshd_config里的port后,用systemctl restart sshd、systemctl status sshd发现还是以前的端口,那么是哪里的问题呢? 看了下selinux,getenforce是disabled状态,找了些资料,原来有的centos版本不一样,有的在 阅读全文
posted @ 2022-04-15 16:24 舒然 阅读(835) 评论(0) 推荐(0)
摘要: input { elasticsearch { hosts => ["instance:9200"] user => "elastic" index => "*,-.monitoring*,-.security*,-.kibana*" password => "123456" docinfo => 阅读全文
posted @ 2022-02-17 17:12 舒然 阅读(175) 评论(0) 推荐(0)
摘要: 对于经常使用eclipse 的程序员来说,软件默认的字体不适合编码,所以在此介绍更改字体的方法1.在最上面的工具栏里找到windows下的perferences 2.在弹出窗口中找到依次点击General(常规)——Apprearance(外观)——Colors and Fonts(颜色和字体),打 阅读全文
posted @ 2022-02-14 15:54 舒然 阅读(1305) 评论(0) 推荐(1)
摘要: 设置已有索引副本 设置已有模板副本 { "index": { "number_of_shards": "3", "number_of_replicas": "1" } }之后 >next >next >next 阅读全文
posted @ 2022-01-25 10:22 舒然 阅读(106) 评论(0) 推荐(0)
摘要: 最近在Ubuntu中使用pandas库的时候,出现了一个问题,Google了好久最终是解决了。记录一下解决的步骤 首先安装Ubuntu依赖 rpm -ivh zlib-1.2.7-19.el7_9.x86_64.rpm –replacefiles rpm -ivh zlib-devel-1.2.7- 阅读全文
posted @ 2022-01-21 16:37 舒然 阅读(1911) 评论(0) 推荐(0)
摘要: ##零时使用 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package ##默认使用 ##windows系统使用cmd快速设置 pip install pip -U ##升级pip到最新版本 pip config set 阅读全文
posted @ 2022-01-21 16:23 舒然 阅读(129) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2022-01-21 16:08 舒然 阅读(2) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7