背景:测试环境安装centos7的时候没有手动分区,自动分区根目录只有50G,而安装docker的时候也没有指定存储路径,默认是/var/lib/docker,我在/home底下创建一个目录docker_data/docker,然后将/var/lib/docker目录内容拷贝到/home/docker_data/docker目录,然后做软链接将/var/lib/docker指定到/home/doc
分类:
其他好文 时间:
2020-10-22 23:13:46
阅读次数:
45
1. 下载并编译安装torque [root@master ~]# cd /opt/ [root@master opt]#yum install wget -y && wget http://wpfilebase.s3.amazonaws.com/torque/torque-6.1.1.1.tar. ...
分类:
其他好文 时间:
2020-10-22 22:19:40
阅读次数:
18
Centos7使用firewalld查看防火墙状态systemctlstatusfirewalld关闭防火墙临时关闭systemctlstopfirewalld永久关闭需要把开机自启动关闭systemctldisablefirewalld检查服务状态systemctlis-activefirewalld#检查服务是否正常运行systemctlis-enablefirewalld#检查服务是否开机运
分类:
系统相关 时间:
2020-10-21 21:28:47
阅读次数:
39
Existing lock /var/run/yum.pid: another copy is running as pid 19342. Another app is currently holding the yum lock; waiting for it to exit... The oth ...
分类:
其他好文 时间:
2020-10-20 16:35:38
阅读次数:
30
1,打开网址下载mysql yum源 https://dev.mysql.com/downloads/repo/yum/ 根据linux版本选择不同的rpm包 ,我的是centos7.5,所以我选择第二个 2,点击下载 点击获得地址 二、下载和安装mysql源,wget 加上刚刚复制的地址 如果显示 ...
分类:
数据库 时间:
2020-10-19 22:49:58
阅读次数:
37
1、导入hellodb.sql生成数据库(1)在students表中,查询年龄大于25岁,且为男性的同学的名字和年龄[root@centos7~]$systemctlstartmariadb[root@centos7~]$ss-tnlStateRecv-QSend-QLocalAddress:PortPeerAddress:PortLISTEN0100127.0.0.1:25*:*LISTEN05
分类:
数据库 时间:
2020-10-18 16:55:25
阅读次数:
29
centos7安装zabbix5.0+postgresql详细步骤
分类:
数据库 时间:
2020-10-18 16:35:28
阅读次数:
37
LVS 是 Linux virtual server 的简写 即Linux虚拟服务器,是一个虚拟的服务器集群系统,可以在unix/linux平台实现负载均衡集群功能。Windows只能装客户端, 在1998年5月由章文嵩博士组织成立,中国内最早自由软件之一 以下是LVS的官方中文资料 标题 地址 L ...
分类:
其他好文 时间:
2020-10-16 10:51:32
阅读次数:
22