随笔分类 -  Centos 7

摘要:1、firewalld简介 firewalld是centos7的一大特性,最大的好处有两个:支持动态更新,不用重启服务;第二个就是加入了防火墙的“zone”概念 2、firewalld命令行界面管理工具 firewall-cmd 3、friewalld的启动、停止和运行状态 systemctl st 阅读全文
posted @ 2018-05-14 15:18 martin1317 阅读(813) 评论(0) 推荐(0)
摘要:centos 7 时间同步使用的是chrony工具 1、检测chrony包是否安装 2、安装chrony 3、启动chrony并查看其状态 4、查看系统时间 5、设置亚洲时区 timedatectl set-timezone Asia/Shanghai 6、启用NTP同步 timedatectl s 阅读全文
posted @ 2018-05-14 10:01 martin1317 阅读(2763) 评论(0) 推荐(0)
摘要:1、重启系统,在启动菜单中(以下截图页面)按下"e"键 进入编辑页面 2、修改linux16行中的ro以后的部分内容(就是红色线标记的部分),然后替换为rd.break 变更为如下所示,然后ctrl+x保存,继续下一步 3、然后进入到initramfs文件系统,重新挂载/sysroot,使用rw方式 阅读全文
posted @ 2017-11-23 13:52 martin1317 阅读(230) 评论(0) 推荐(0)