我的任务是使用最新的Tomcat <-来更新Redhat 7.3服务器。我被告知那里有两个Tomcat实例正在运行。 当我运行时:
[root @ craig〜]#yum更新tomcat 加载的插件:amazon-id,rhui-lb,search-disabled-repos 软件包tomcat可用,但未安装。 没有标记为更新的软件包。
但是,当我检查是否有运行以下命令的tomcat进程时:
[root @ craig〜]#ps -ef | grep雄猫 00:01:50 / opt / KonaWare / MobilityServer / jdk / bin / java -DCONTROLLER -classpath /opt/KonaWare/MobilityServer/controller/lib/kw-controller.jar:/opt/KonaWare/MobilityServer/tomcat/common/lib /kw-common-exception.jar:/opt/KonaWare/MobilityServer/tomcat/common/lib/kw-common-util.jar:/opt/KonaWare/MobilityServer/tomcat/common/lib/kw-event-logger-loader .jar:/opt/KonaWare/MobilityServer/tomcat/common/lib/kw-qshelper.jar:/opt/KonaWare/MobilityServer/tomcat/common/lib/kw-saf.jar:/ opt / KonaWare / MobilityServer / tomcat / common / lib / log4j-1.2.14.jar:/ opt / KonaWare / MobilityServer / common / lib:/opt/KonaWare/MobilityServer/common/lib/activation.jar:/ opt / KonaWare / MobilityServer / common / lib / mail .jar -Dkmp_home = / opt / KonaWare / MobilityServer -Djdk_home = / opt / KonaWare / MobilityServer / jdk -Dtomcat_home = / opt / KonaWare / MobilityServer / tomcat -Dcontroller_home = / opt / KonaWare / MobilityServer / controller -Dcom.sun.management .jmxremote.port = 23641 -Dcom.sun.management.jmxremote.ssl = false -Dcom.sun.management.jmxremote.authenticate = fals e -Dcom.sun.management.jmxremote.password.file = / opt / KonaWare / MobilityServer / controller / conf / jmxremote.password -Xmx64m com.konaware.controller.Controller sgps 4348 4275 0 Jun24? 00:02:48 / opt / KonaWare / MobilityServer / jdk / bin / java -DGAMS -Xms128m -Xmx576m -Dkmp_home = / opt / KonaWare / MobilityServer -Dmodule_home = / opt / KonaWare / MobilityServer / gams -Djava.awt.headless = true -Dcom.konaware.license.dir = / opt / KonaWare / MobilityServer / bin / license -Djava.security.egd = file:/ dev /./ urandom -classpath / opt / KonaWare / MobilityServer / jdk / lib / tools。 jar:/opt/KonaWare/MobilityServer/tomcat/bin/bootstrap.jar:/opt/KonaWare/MobilityServer/tomcat/bin/tomcat-juli.jar:/opt/KonaWare/MobilityServer/common/lib/kw-version.jar :/ opt / KonaWare / MobilityServer /公用/ lib:/ opt / KonaWare / MobilityServer /公用/lib/activation.jar:/opt/KonaWare/MobilityServer/公用/lib/mail.jar:/opt/KonaWare/MobilityServer/公用/lib/hsqldb.jar -Dcatalina.base = / opt / KonaWare / MobilityServer / gams -Dcatalina.home = / opt / KonaWare / MobilityServer / tomcat -Djava.io.tmpdir = / opt / KonaWare / MobilityServer / gams / temp org .apache.catalina.startup.Bootstrap启动 根18778 8691 0 10:32 pts / 0 00:00:00 grep --color = auto tomcat [root @ craig〜]#
我可以看到很多Tomcat活动,并且netstat使用建议的8080端口(第二个实例需要更新)来确认tomcat。
[root @ craig〜]#netstat -ltnp | grep -w':8080' tcp6 0 0 ::: 8080 ::: *听9306 / java
只是想知道我该如何更新?
从我们的网络漏洞扫描中获悉,该漏洞使用的是5.5.0,但可以更新为8。。?
任何建议,不胜感激:)