会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Alisapine
愿你最终的结果与这一路的颠沛流离相匹配
博客园
首页
新随笔
联系
管理
订阅
2022年2月18日
ubuntu搭建vsftpd并创建虚拟用户
摘要: 安装vsftpd: apt-get -y install vsftpd db-util 卸载vsftpd: sudo apt-get remove --purge vsftpd (--purge 选项表示彻底删除改软件和相关文件) 添加用户: useradd -m -s /sbin/nologin
阅读全文
posted @ 2022-02-18 11:58 alisapine
阅读(1697)
评论(0)
推荐(0)
2021年8月17日
linux启动网卡之"Device eth0 does not seem to be present, delaying initialization"错误解决方法
摘要: 背景描述:prometheus服务器总是出现两个小时内断开外部连接,导致prometheus和grafana提供的web服务无法访问,ssh工具连不上机器,故选择了重启实例,可是在重启实例后再次出现此般状况,故对服务器系统进行排查,经排查后定位到实例的网卡出现了以下问题: [root@prometh
阅读全文
posted @ 2021-08-17 12:12 alisapine
阅读(3007)
评论(0)
推荐(0)
2021年8月16日
prometheus 服务器重启后之"Error on ingesting samples that are too old or are too far into the future"问题解决
摘要: 背景描述:aws中的prometheus实例状态检查出现异常,重启实例后实例正常,此时发现grafana中主机为空,经查看日志发现如下: level=warn ts=2021-08-16T03:20:04.960Z caller=scrape.go:1507 component="scrape ma
阅读全文
posted @ 2021-08-16 18:54 alisapine
阅读(1473)
评论(0)
推荐(0)
2021年8月13日
mysqld_exporter之“Error pinging mysqld”问题解决
摘要: 场景描述:生产环境中的mysql一主多从需要监控,故在安装mysqld_exporter后发现报错日志如下: Error pinging mysqld: Error 1045: Access denied for user ‘exporter’@’::1’ (using password: YES)
阅读全文
posted @ 2021-08-13 16:19 alisapine
阅读(3429)
评论(0)
推荐(1)
2021年8月11日
yum安装下的nginx之添加模块
摘要: 文章背景:现需要prometheus监控nginx,故需要nginx的nginx-module-vts模块,而服务器中现有的nginx为yum安装,故研究yum安装下的nginx之添加模块如下: 1 查看版本 通过nginx -V 可以知道yum 安装nginx 的版本为1.12.2,下载对应的源码
阅读全文
posted @ 2021-08-11 16:01 alisapine
阅读(2191)
评论(6)
推荐(2)
2021年8月5日
记录一次生产环境LVM中误操作删除VG卷组恢复过程
摘要: 场景描述:ORacle服务器中的数据盘容量已满,需要将其数据目录迁移到1.8T的SATA盘中,误将oracle数据目录卸载并将其所在的磁盘删除VG卷组以及格式化磁盘;将oracle数据目录迁移到新做好文件系统的盘中,发现数据空空,数据丢失;当时在这之前这台机器中并未对oracle数据库进行数据备份;
阅读全文
posted @ 2021-08-05 18:12 alisapine
阅读(1000)
评论(0)
推荐(1)
2021年8月4日
Prometheus监控系统资源故障报警
摘要: 准备环境: 主机 环境 部署内容 192.168.220.130 centos7.6 node_exporter-1.2.0.linux-amd64 192.168.220.131 centos7.6 node_exporter-1.2.0.linux-amd64 192.168.220.129 c
阅读全文
posted @ 2021-08-04 15:29 alisapine
阅读(1243)
评论(0)
推荐(0)
2021年8月3日
使用465端口发送邮件
摘要: 一、问题描述 最近由于业务需求,定位到服务发送邮件环节故障,服务器拒绝了25端口,改为mailx工具来进行邮件发送服务。 二、使用465端口加密发送邮件 1 关闭其它的邮件工具 [root@test01 ~]# systemctl stop sendmail [root@test01 ~]# sys
阅读全文
posted @ 2021-08-03 17:10 alisapine
阅读(1624)
评论(0)
推荐(0)
2021年8月2日
kafka shell简单使用
摘要: 将kafka添加到环境变量中 vim /etc/profile export KAFKA_HOME=/opt/iDataFusion/kafka export PATH=$PATH:$KAFKA_HOME/bin source /etc/profile 创建topic: --create: 指定创建
阅读全文
posted @ 2021-08-02 15:28 alisapine
阅读(448)
评论(0)
推荐(0)
2021年7月30日
Grafana之 "Request Origin is not authorized" 问题解决
摘要: 在部署完grafana服务启动后不久,查看grafana日志中出现下面告警: t=2021-07-30T03:54:34+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=
阅读全文
posted @ 2021-07-30 18:42 alisapine
阅读(2840)
评论(0)
推荐(0)
下一页
公告