linux
Darling_for
这个作者很懒,什么都没留下…
展开
-
redis 在linux中安装
Linux安装部署Redis(超级详细) - 长沙大鹏 - 博客园转载 2021-09-19 15:42:31 · 116 阅读 · 0 评论 -
linux 查进程、杀进程、起进程
netstat -lnp | grep 80 lsof -i:端口号 netstat -tunlp | grep 端口号原创 2019-04-01 17:47:49 · 352 阅读 · 0 评论 -
Filebeat6.3.2日志读取配置
编辑filebeat.yml,将下面的内容放入 logging.level: error filebeat.inputs: - type: log paths: - /opt/tag-log-manage/logs/log_start.log# 日志获取路径 fields: level: error exclude_lines: ['INFO','DEBUG','W...原创 2019-03-26 17:30:12 · 1075 阅读 · 0 评论 -
elasticsearch - 6.3.2 API
索引操作 //创建一个索引,pretty表示打印添加状态 curl -X PUT "localhost:9200/customer?pretty" //获取索引列表 curl -X GET "localhost:9200/_cat/indices?v" //向索引中添加一个文档,指定ID为1,如果索引不存在es会自动创建 curl -X PUT "localhost:9200/custom...原创 2023-03-14 15:53:57 · 256 阅读 · 1 评论 -
centos ifconfig 不能使用,vm网络建立设置为桥连接
1、如果你是在vm上,那么先将你的网络设置为桥连接模式。 2、先测试yum命令能不能使用,如果不能,请打开 vi /etc/sysconfig/network-scripts/ifcfg-ens33(结尾的“s33”不同的电脑可能不一样) 修改里面的ONBOOT=yes,设置后你需要重启网卡systemctl restart network 2、执行 yum -y...原创 2018-08-22 20:34:52 · 380 阅读 · 2 评论 -
centos iptables开启防火墙端口
打开配置文件:vi /etc/sysconfig/iptables 加入要开放的端口:-A INPUT -p tcp -m state --state NEW -m tcp --dport 6379 -j ACCEPT 重启防火墙:systemctl restart iptables.service ...原创 2018-08-15 16:57:04 · 312 阅读 · 0 评论 -
Linux查看端口占用
netstat -lnp | grep 7000 //7000为端口或者为应用程序名称 ps aux | grep 7000 ps aux | greplogstash原创 2018-06-15 17:11:42 · 332 阅读 · 0 评论 -
centos mysql5.7安装
原文链接:http://blog.csdn.net/xyang81/article/details/51759200安装环境:CentOS7 64位,MySQL5.7转载 2017-07-27 21:07:33 · 375 阅读 · 0 评论 -
CentOS下安装JDK
首先准备好jdk压缩包 1.创建jdk文件夹目录 [root@localhost /]# mkdir /usr/jdk7 [root@localhost /]# cd /usr/jdk7 2.下载jdk,然后解压 [root@localhost /usr/jdk7]# curl -O http://download.Oracle.com/otn-pub/java/jdk/7u79-...原创 2017-07-02 00:59:55 · 287 阅读 · 0 评论 -
linux解压文件
linux解压文件原创 2017-07-01 23:45:35 · 341 阅读 · 0 评论