xshell查看ik分词器安装结果操作命令

ls
ik
[root@localhost plugins]# chomd -R 777 ik/
-bash: chomd: command not found
[root@localhost plugins]# chmod -R 777 ik/
[root@localhost plugins]# ll
total 0
drwxrwxrwx. 3 root root 243 May 25 13:31 ik
[root@localhost plugins]# docker ps
CONTAINER ID   IMAGE                 COMMAND                  CREATED       STATUS        PORTS                                            NAMES
a85e288eaa00   kibana:7.4.2          "/usr/local/bin/dumb…"   3 days ago    Up 12 hours   0.0.0.0:5601->5601/tcp                           kibana
193ab98e737f   elasticsearch:7.4.2   "/usr/local/bin/dock…"   3 days ago    Up 12 hours   0.0.0.0:9200->9200/tcp, 0.0.0.0:9300->9300/tcp   elasticsearch
f1d1d7b5a679   nginx                 "/docker-entrypoint.…"   2 weeks ago   Up 12 hours   0.0.0.0:80->80/tcp                               nginx
2d37dc6e6e13   memcached             "docker-entrypoint.s…"   2 weeks ago   Up 12 hours   0.0.0.0:11211->11211/tcp                         mymemcache
2d0fcc1da195   redis                 "docker-entrypoint.s…"   7 weeks ago   Up 12 hours   0.0.0.0:6379->6379/tcp                           redis
95c320963ec8   mysql:5.7             "docker-entrypoint.s…"   7 weeks ago   Up 12 hours   0.0.0.0:3306->3306/tcp, 33060/tcp                mysql
[root@localhost plugins]# docker exec -it 193a
"docker exec" requires at least 2 arguments.
See 'docker exec --help'.

Usage:  docker exec [OPTIONS] CONTAINER COMMAND [ARG...]

Run a command in a running container
[root@localhost plugins]# docker exec -it 193a /bin/bash
[root@193ab98e737f elasticsearch]# ls
LICENSE.txt  NOTICE.txt  README.textile  bin  config  data  jdk  lib  logs  modules  plugins
[root@193ab98e737f elasticsearch]# cd bin
[root@193ab98e737f bin]# ls
elasticsearch           elasticsearch-env       elasticsearch-plugin           elasticsearch-sql-cli-7.4.2.jar  x-pack-watcher-env
elasticsearch-certgen   elasticsearch-enve      elasticsearch-saml-metadata    elasticsearch-syskeygen
elasticsearch-certutil  elasticsearch-keystore  elasticsearch-setup-passwords  elasticsearch-users
elasticsearch-cli       elasticsearch-migrate   elasticsearch-shard            x-pack-env
elasticsearch-croneval  elasticsearch-node      elasticsearch-sql-cli          x-pack-security-env
[root@193ab98e737f bin]# elasticsearch-plugin
A tool for managing installed elasticsearch plugins

Non-option arguments:
command              

Option         Description        
------         -----------        
-h, --help     show help          
-s, --silent   show minimal output
-v, --verbose  show verbose output
ERROR: Missing command
[root@193ab98e737f bin]# elasticsearch-plugin -h
A tool for managing installed elasticsearch plugins

Commands
--------
list - Lists installed elasticsearch plugins
install - Install a plugin
remove - removes a plugin from Elasticsearch

Non-option arguments:
command              

Option         Description        
------         -----------        
-h, --help     show help          
-s, --silent   show minimal output
-v, --verbose  show verbose output
[root@193ab98e737f bin]# list
bash: list: command not found
[root@193ab98e737f bin]# elasticsearch-plugin list
ik
[root@193ab98e737f bin]# cd ../
[root@193ab98e737f elasticsearch]# ls
LICENSE.txt  NOTICE.txt  README.textile  bin  config  data  jdk  lib  logs  modules  plugins
[root@193ab98e737f elasticsearch]# cd plugins
[root@193ab98e737f plugins]# ls
ik
[root@193ab98e737f plugins]# 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值