CentOS 7.8配置Java环境

发布时间 2023-03-25 11:01:35作者: 红妹妹

一、安装CentOS 7.8

  • 关闭防火墙
systemctl stop firewalld
systemctl disable firewalld
  • 关闭SELINUX
setenforce 0
vi /etc/selinux/config
将SELINUX=enforcing改为SELINUX=disabled
设置后需要重启才能生效

二、安装 JDK