Install Tomcat on CentOS 7

Apache Tomcat is an open source implementation of the Java Servlet and Java Server Pages. To install Apache Tomcat on CentOS 7, run yum install tomcat To enable tomcat start on boot systemctl enable tomcat You can manage tomcat with systemctl stop tomcat systemctl start tomcat systemctl status tomcat systemctl restart tomcat To see the … Read more

List contents of jks keystore file

keytool list certificates

To list the content of jks keystore file used by tomcat web server, run command keytool -list -keystore FILE.jks It will ask Keystore password. Once you enter the password, it will list the contents of the file. In the above keystore, there are 5 certificates with names inter, root1, root2, ssl_tomcat2, and tomcat. To get … Read more

Installing tomcat on Ubuntu

How to find java version Install Tomcat on CentOS 7 To install tomcat on Ubuntu 18.04, run apt install tomcat9 Start tomcat with systemctl start tomcat9 Once tomcat started, you will be able to see it at http://your-ip-addr:8080/ You can verify tomcat running with netstat root@magmito-server:~# netstat -lntp | grep java tcp6 0 0 127.0.0.1:8005 … Read more