随笔分类 - Linux
摘要:思路: Prometheus 采集防火墙网卡流量(一般通过 node_exporter 或 snmp_exporter 获取网络接口指标)。 写一个 Prometheus 规则,判断上行带宽速率是否超过 90 Mbps。 将规则丢给 Alertmanager 发出告警。 Grafana 用来展示和验
阅读全文
摘要:PS1="\[\e[1;32m\][\t \[\e[1;33m\]\u\[\e[35m\]@\h\[\e[1;31m\] \W\[\e[1;32m\]]\[\e[0m\]\\$" 永久生效 vim /etc/profile.d/test.sh PS1="\[\e[1;32m\][\t \[\e[1;
阅读全文
摘要:简介: 重置CentOS 7 root密码的方式和Centos 6完全不同。让我来展示一下到底如何操作。1 - 在启动grub菜单,选择编辑选项启动2 - 按键盘e键,来进入编辑界面3 - 找到Linux 16的那一行,将ro改为rw init=/sysroot/bin/... 重置CentOS 7
阅读全文
摘要:阿里云Linux安装镜像源地址:http://mirrors.aliyun.com/ CentOS系统更换软件安装源 1、安装wget yum install -y wget 2、下载CentOS 7的repo文件 wget -O /etc/yum.repos.d/CentOS-Base.repo
阅读全文
摘要:1.首先确认下是否为RHEL 7系统。如果是,然后再进行下面的操作。 [root@bind-master17 ~]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) 2.重启linux系统主机并出现引导界面时,按下键盘上的e键
阅读全文
摘要:部署3proxy yum install 3proxy -y vim /etc/3proxy nserver 服务器dns nserver 服务器dns nscache 655360 timeouts 1 5 30 60 180 1800 15 600 users "代理用户名:CL:密码" "代理
阅读全文
摘要:参考:https://6xyun.cn/article/112 环境准备 最小化安装64位centos 7操作系统 openvpn-as-2.9.5_82d54e5b-CentOS7.x86_64 openvpn-as-bundled-clients-20.rpm.crdownload python
阅读全文
摘要:系统要求: 最小化安装的64位CentOS 7操作系统 如果是VMware虚机先安装vm-tools yum -y install open-vm-tools systemctl enable vmtoolsd systemctl start vmtoolsd 更新和安装必备软件 yum updat
阅读全文
摘要:megacli的安装(Windows) 链接:https://pan.baidu.com/s/1BxDc5pzpPs_0MsfH7ckhDw 提取码:tsq8 megacli的安装(Linux) 链接:https://pan.baidu.com/s/1vo5FrFGakJAWTCRPWKWDtA 提
阅读全文
摘要:1.下载jdk1.8(需注册Oracle账号) https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html 2.安装 解压至自定义目录 tar -xzvf jdk-8u291-linux-x64.tar.gz
阅读全文
摘要:一、检测是否支持KVM KVM 是基于 x86 虚拟化扩展(Intel VT 或者 AMD-V) 技术的虚拟机软件,所以查看 CPU 是否支持 VT 技术,就可以判断是否支持KVM。有返回结果,如果结果中有vmx(Intel)或svm(AMD)字样,就说明CPU的支持的。 cat /proc/cpu
阅读全文
摘要:一、VNC环境搭建 安装vnc服务 yum -y install tigervnc tigervnc-server vnc服务配置——宿主机远程控制 # 配置vnc # 将/lib/systemd/system/vncserver@.service文件复制一份 cp /lib/systemd/sys
阅读全文

浙公网安备 33010602011771号