- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 elsearch5.5.1配置x-pack做登录验证并破解
安装es在上篇首先杀一下es进程ps -ef | grep elastickill -9 端口安装x-pack./bin/elasticsearch-plugin install x-pack然后y就okes配置文件增加开启安全验证xpack.security.enabled: true因为x-pack普通的不能开启安全管理模块(可以试用30天), 所以接下...
2020-08-05 16:32:38 578
原创 分享一个带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 3044
原创 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 218
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人