- 查看进程
ps -aux | grep 要查看的进程名查看防火墙状态
systemctl status firewalld.service停止防火墙命令
systemctl stop firewalld.service永久关闭防火墙
systemctl disable firewalld.service给文件重命名
mv 旧文件名 新文件名解压文件 [ ]中的东西可有可无
tar -zxvf 文件名 [-C 解压位置]启动elasticsearch
elasticsearch在 /usr/app/software/es/elasticsearch/bin/ 中
命令:./elasticsearch
注:不能用root用户启动
切换用户su xxx启动kibana,这是elasticsearch的 *** 作工具,还有postman
kibana在 /usr/app/software/es/kiana/bin 中
命令:./kibana --allow-root
可以root用户启动 需要写后边的–allow-root查找某个进程
ps -ef | grep 进程名杀掉进程
kill -9 进程号批处理
先创建一个文件eg:vim xxx.sh
然后给此文件授权(可执行权限):chmod +x xxx.sh
最后直接在该文件目录下执行此文件即可:./xxx.sh
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)