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 commandin 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]#