CentOS 7 中firewall防火墙基本设置

CentOS 550 次浏览
1.查看防火墙状态 firewall-cmd --state或者systemctl status firewalld 2.查看防火墙版本 firewall-cmd --version 3.启动防火墙 systemctl start firewalld 4.禁用防火墙 systemctl stop firewalld 5.设置开机启动 systemctl enable firewalld...

CentOS中安装Tomcat9

CentOS 5490 次浏览
安装Tomcat之前,需要先安装JDK,安装JDK请参考:CentOS中安装JDK环境 1.下载安装包 官网下载地址:https://tomcat.apache.org/download-90.cgi # cd /usr/local/# mkdir tomcat/# cd tomcat/# wget http://mirrors.hust.edu.cn/apache/tomcat/tom...

CentOS中安装JDK 11

CentOS 8497 次浏览
1.设置下载目录# cd /usr/local/# mkdir jdk/# cd jdk/ 2.下载JDK#wget --no-check-certificate --no-cookies --header Cookie: oraclelicense=accept-securebackup-cookie  http://download.oracle.com/otn-pub/java/jdk/.....