[英]Problems Installing tomcat9, port 8080 not showing up Ubuntu
I installed Tomcat9 and it worked, after some time I uninstalled it using the:我安装了 Tomcat9 并且它工作了,一段时间后我使用以下方法卸载了它:
sudo apt remove --purge tomcat9 tomcat9-admin
command. sudo apt remove --purge tomcat9 tomcat9-admin
命令。
Then I used whereis tomcat9
to remove all tomcat files I had.然后我使用whereis tomcat9
删除了我拥有的所有 tomcat 文件。
Now when I used sudo apt install tomcat9 tomcat9-admin
I don't see the port 8080现在当我使用sudo apt install tomcat9 tomcat9-admin
我看不到端口 8080
when using ss -ltn
Screenshot and tomcat doesn't work.使用ss -ltn
屏幕截图和 tomcat 时不起作用。
Using sudo ufw allow from any to any port 8080 proto tcp
returns:使用sudo ufw allow from any to any port 8080 proto tcp
返回:
Skipping adding existing rule
Skipping adding existing rule (v6)
What do I do to have Tomcat9 Installed again?我该怎么做才能再次安装 Tomcat9?
Thanks in advance.提前致谢。
So, if you have done the same thing, which is uninstall it in a weird way and it doesn't work just install it in the opt directory.所以,如果你做了同样的事情,那就是以一种奇怪的方式卸载它并且它不起作用,只需将它安装在 opt 目录中。 This time I didn't use apt install
but went to the official tomcat website and installed it with the binary.这次我没有使用apt install
,而是去tomcat官方网站,用二进制安装。 Medium Article I used:) 我用过的中篇文章:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.