Ansible playbook to install tomcat

Ansible playbook for installing tomcat in target hosts is in the below git repo. This playbook installes tomcat and sets up login for web interface from a file. https://github.com/kmanoopkumar/ansible/tree/master/tomcat

Advertisements

How To Install Apache Tomcat 8 on CentOS 7

1.Install JAVA #yum install java-1.7.0-openjdk-devel 2.Install tomcat We are going to install Tomcat in  /usr/local #cd /usr/local #wget http://apache.mirrors.ionfish.org/tomcat/tomcat-8/v8.5.9/bin/apache-tomcat-8.5.9.tar.gz #tar zxvf apache-tomcat-8.5.9.tar.gz 3.  Start tomcat #cd /usr/local/apache-tomcat-8.5.9/bin #./startup.sh 4. Check the Tomcat web UI with http://server_IP_address:8080 5. Configure Tomcat Web Management Interface by adding the user as below Open the conf file #vi /usr/local/apache-tomcat/conf/tomcat-users.xml add the below entry … Continue reading How To Install Apache Tomcat 8 on CentOS 7