摘要:
SWAP是Linux中的虚拟内存,用于扩充物理内存不足而用来存储临时数据存在的。它类似于Windows中的虚拟内存。在Windows中,只可以使用文件来当作虚拟内存。而linux可以文件或者分区来当作虚拟内存。首先查看当前的内存和swap 空间大小(默认单位为k, -m 单位为M): free -m 阅读全文
摘要:
# master修改密码,创建用户,授权用户 (主从都设置) ALTER USER USER() IDENTIFIED BY 'mima';create user 'root'@'%' identified WITH mysql_native_password by 'mima';grant all 阅读全文
摘要:
# 产看软件包信息[root@devops201 k8s_install]# rpm -qi yum-utilsName : yum-utilsVersion : 1.1.31Release : 54.el7_8Architecture: noarchInstall Date: 2023年02月22 阅读全文
摘要:
# zabbix 安装关方文档 https://www.zabbix.com/cn/download?zabbix=5.0&os_distribution=centos&os_version=7&components=server_frontend_agent&db=mysql&ws=nginx 安 阅读全文
摘要:
CentOS 7.4使用yum源安装MySQL 5.7.20 小牛教程 InnoDB存储引擎 2022年11月25日 从CentOS 7.0发布以来,yum源中开始使用Mariadb来代替MySQL的安装。即使你输入的是yum install -y mysql , 显示的也是Mariadb的安装内容 阅读全文
摘要:
ansible 简介 https://www.cnblogs.com/keerya/p/7987886.html ansible 是什么? ansible是新出现的自动化运维工具,基于Python开发,集合了众多运维工具(puppet、chef、func、fabric)的优点,实现了批量系统配置、批 阅读全文
摘要:
阅读全文
摘要:
解决办法: 删除 /etc/udev/rules.d/70-persistent-net.rules文件,系统重启后重新自动生成 ··· rm -rf /etc/udev/rules.d/70-persistent-net.rules ··· 重启电脑 阅读全文
摘要:
[root@BJ-DATABASES lastday]# ps -aux| grep nginx|grep -v greproot 13783 0.0 0.0 56796 1208 ? Ss 11:13 0:00 nginx: master process nginxdeploy 13786 0.0 阅读全文
摘要:
下载registry镜像并启动# docker pull registry# docker run -d -v /opt/registry:/var/lib/registry -p 5000:5000 --restart=always --name registry registry测试,查看镜像仓 阅读全文