2018年8月17日
摘要: #etc/profile export CATALINA_HOME=/wocloud/tomcat_cluster/tomcat1/apache-tomcat-7.0.57 #查看防火墙状态 firewall-cmd --state #开放8080 firewall-cmd --permanent 阅读全文
posted @ 2018-08-17 16:13 FeeCy 阅读(658) 评论(0) 推荐(0) 编辑
摘要: 在linux上开启的tomcat使用浏览器访问不了。 主要原因在于防火墙的存在,导致的端口无法访问。 CentOS7使用firewall而不是iptables。所以解决这类问题可以通过添加firewall的端口,使其对我们需要用的端口开放。 1.使用命令 firewall-cmd --state查看 阅读全文
posted @ 2018-08-17 13:37 FeeCy 阅读(104) 评论(0) 推荐(0) 编辑
摘要: Cannot find bin/catalina.sh The file is absent or does not have execute permission This file is needed to run this program 原因: 没有权限 解决 : chmod 777 *.s 阅读全文
posted @ 2018-08-17 11:25 FeeCy 阅读(1115) 评论(0) 推荐(0) 编辑
摘要: 1、去oracle官网下载 2、查看当前环境中安装了那些jdk,如果有那么卸载掉 安装好的CentOS会自带OpenJdk,用命令 java -version ,会有下面的信息: java version “1.6.0” OpenJDK Runtime Environment (build 1.6. 阅读全文
posted @ 2018-08-17 11:07 FeeCy 阅读(193) 评论(0) 推荐(0) 编辑