虚拟机一般实验需要做什么?

实验要求:
1,关闭防火墙

systemctl status firewalld查看防火墙状态(active为开启,inactive为关闭)

systemctl stop firewalld(关闭防火墙)

systemctl disable firewalld(删除firewalld服务,即永久删除firewalld,重启之后不会启动防火墙)

2,关闭selinux

getenforce查看selinux的状态(Enforcing为开启状态,Disabled是关闭状态)

一般新系统默认安装

vi /etc/selinux/config

将Enforcing改为Disabled,即可。
3,时间同步

chrony同步时间服务器的时间

本文只是简要记录,详细操作另做记录。

原文地址:https://www.cnblogs.com/qianyuezhan/p/12884272.html