01 2021 档案

摘要:##下载安装包 wget http://download.redis.io/releases/redis-3.2.8.tar.gz ##解压缩包 tar xf redis-3.2.8.tar.gz cd redis-3.2.8/ yum -y install gcc gcc-c++ libstdc+ 阅读全文
posted @ 2021-01-28 16:51 霸都运维 阅读(130) 评论(0) 推荐(0) 编辑
摘要:##下载安装最新zookeeper https://www.cnblogs.com/yyhh/p/6106472.html https://mirrors.aliyun.com/zabbix/zabbix/5.0/rhel/7/x86_64/ ##参考文档 https://cloud.tencent 阅读全文
posted @ 2021-01-28 13:42 霸都运维 阅读(347) 评论(0) 推荐(0) 编辑
摘要:##grafana下载地址 https://grafana.com/docs/installation/rpm/ wget https://dl.grafana.com/oss/release/grafana-6.4.2-1.x86_64.rpm ##安装 yum -y localinstall g 阅读全文
posted @ 2021-01-28 11:05 霸都运维 阅读(130) 评论(0) 推荐(0) 编辑
摘要:##一、安装nginx yum install -y wget gcc gcc-c++ make pcre pcre-devel zlib zlib-devel openssl openssl-devel wget http://nginx.org/download/nginx-1.16.1.tar 阅读全文
posted @ 2021-01-28 11:00 霸都运维 阅读(316) 评论(0) 推荐(0) 编辑
摘要:##操作系统CentOS8.3 ###版本由5.26.3降级到5.16.3 ####降级版本的主要原因是邮件发送问题。 perl -v whereis perl find / -name perl ###下载低版本perl wget https://www.cpan.org/src/5.0/perl 阅读全文
posted @ 2021-01-28 10:54 霸都运维 阅读(1005) 评论(0) 推荐(0) 编辑
摘要:yum -y install python-pip 若yum无法下载安装,则: wget https://bootstrap.pypa.io/get-pip.py python get-pip.py pip install --upgrade pip pip install requests vim 阅读全文
posted @ 2021-01-22 17:34 霸都运维 阅读(235) 评论(0) 推荐(0) 编辑
摘要:openssl升级 查看openssl版本 openssl version yum install -y gcc gcc-c++ glibc make autoconf openssl openssl-devel pcre-devel pam-devel 下载openssl最新版本 https:// 阅读全文
posted @ 2021-01-22 17:09 霸都运维 阅读(129) 评论(0) 推荐(0) 编辑
摘要:##今天在升级openssh时,配置yum源时发现阿里和163的centos6的yum源都不可用了,因此简单记录下。 cd /etc/yum.repos.d/ mkdir bak mv * bak/ curl -o /etc/yum.repos.d/CentOS-Base.repo http://f 阅读全文
posted @ 2021-01-15 17:48 霸都运维 阅读(5860) 评论(1) 推荐(5) 编辑
摘要:zabbix客户端 脚本内容 vim /usr/local/zabbix/scripts/login.py # -*- coding:utf-8 -*- #1.获取服务器上登录的IP #2.删除收集到的白名单IP #3.如果获取到的IP为空,则将白名单IP写入收集里面 import os impor 阅读全文
posted @ 2021-01-12 15:50 霸都运维 阅读(354) 评论(0) 推荐(0) 编辑
摘要:1. su - web出现-bash-4.2$ 原因是在useradd添加普通用户时,有时会丢失家目录下的环境变量文件: .bashrc .bash_profile 解决问题: cp /etc/skel/.bashrc /home/web/ cp /etc/skel/.bash_profile /h 阅读全文
posted @ 2021-01-12 13:39 霸都运维 阅读(60) 评论(0) 推荐(0) 编辑
摘要:启动防火墙 systemctl start firewalld systemctl enable firewalld 关闭防火墙 systemctl stop firewalld systemctl disable firewalld 查看防火墙版本 firewall-cmd --version 查 阅读全文
posted @ 2021-01-07 10:51 霸都运维 阅读(1555) 评论(0) 推荐(0) 编辑
摘要:卸载jdk 删除java安装目录; 删除JAVA_HOME; 删除path下关于java的目录; java -version 安装jdk 百度搜索JDK8,找到下载地址; 同意协议; 下载电脑对应版本; 双击安装jdk; 记住安装的路径; 配置环境变量; 我的电脑-->右键-->属性 环境变量--> 阅读全文
posted @ 2021-01-06 09:37 霸都运维 阅读(84) 评论(0) 推荐(0) 编辑
摘要:“#”号+“空格”表示一级标题; “##”号+“空格”表示二级标题; **字体**表示字体加粗; *字体*表示字体倾斜; ***字体***表示字体加粗倾斜; ~~字体~~表示字体删除; “>” + “空格”表示引用; 或***表示分割线; ![截图]()表示图片; [点击跳转百度](https:// 阅读全文
posted @ 2021-01-05 15:41 霸都运维 阅读(542) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示