- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 elsearch5.5.1配置x-pack做登录验证并破解
安装es在上篇 首先杀一下es进程 ps -ef | grep elastic kill -9 端口 安装x-pack ./bin/elasticsearch-plugin install x-pack 然后y就ok es配置文件增加开启安全验证 xpack.security.enabled: true 因为x-pack普通的不能开启安全管理模块(可以试用30天), 所以接下...
2020-08-05 16:32:38
670
原创 分享一个带http认证用户名密码的get、post请求
public static String post(String url, String jsonStr) { CredentialsProvider credsProvider = new BasicCredentialsProvider(); credsProvider.setCredentials(AuthScope.ANY, new Userna...
2019-10-23 14:33:58
3214
原创 ElasticSearch搭建及遇到的问题
$ wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.5.1.zip $ unzip elasticsearch-5.5.1.zip 首先下载并解压,此时可能会遇到 -bash: unzip: command not found 这时需要我们安装uuzip ,执行: $ yum insta...
2019-09-16 18:31:30
318
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人