#修改主机名
hostnamectl set-hostname web01
yum repolist #查看当前系统yum仓库软件包数量
yum install epel-release -y #安装yum扩展包
netstat -ntulp #查看端口占用
systemctl status httpd #查看服务状态
systemctl enable httpd # 设为开机启动
linux网站
于 2023-05-28 16:23:40 首次发布