摘要: 1、passwd 输入新的密码 再次输入密码 成功 2、id查看用户分组 阅读全文
posted @ 2019-08-27 16:53 归零19 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 1、top命令 所有参数含义 2、查看硬盘大小 lsblk lsblk命令 块名 块大小 块类型 挂载点 [root@cluster-datanode-1 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 1024M 0 rom 阅读全文
posted @ 2019-08-27 11:07 归零19 阅读(728) 评论(0) 推荐(0) 编辑
摘要: 1、 永久关闭防火墙,重启后生效 开启:chkconfig iptables on 关闭:chkconfig iptables off 2、当时生效,重启后失效 开启:service iptables start 失效:service iptables stop 状态:service iptable 阅读全文
posted @ 2019-08-27 10:57 归零19 阅读(2449) 评论(0) 推荐(0) 编辑
摘要: 1、到 /etc/yum.repos.d目录中备份原有的CentOS-Base.repo --> CentOS-Base.rep.backup 2、将新的yum源 CentOS-Base.repo 放到/etc/yum.repos.d目录下 3、运行 yum clean all ,yum makec 阅读全文
posted @ 2019-08-27 10:21 归零19 阅读(980) 评论(0) 推荐(0) 编辑