Installing Tomcat 7 and Apache2 with mod_jk on Ubuntu 14.04 and connect our tomcat with apache....... ------------------------------------------------------------------------- Step1 ------------------------------------------------------------------------- Installing Apache #sudo apt-get install apache2 Test the installation from the browser using http://localhost/ ------------------------------------------------------------------------- Step2 ------------------------------------------------------------------------- Put your tomcat setup in /opt/ Create a test application for tomcat. #cd /opt/tomcat/tomcat1/webapps #sudo mkdir tomcat now past here all your ROOT files. ----------------------------------------------------------------------- Step3 ------------------------------------------------------------------------- Test the installation from the browser using http://localhost:8080/tomcat ----------------------------------------------------------...
ProxyPassMatch ^/manager(.*)$ ajp://localhost:8009/manager/$1 ProxyPassMatch ^/tomcat(.*)$ ajp://localhost:8009/tomcat/$1 ProxyPassMatch ^/host-manager(.*)$ ajp://localhost:8009/host-manager/$1 8009 Is your Ajp Port of Current Tomcat #Arvind Conclusion --- after write this above line inside your apache .conf (Vhost) file your tomcat able to integrate with apache. You can access your tomcat by typing http://localhost/tomcat on your any browser. For Integration of apache2 and Tomcat
Passwordless Host 192.168.5.72 Accessable from 192.168.5.78 -------------------------------------------------------------------------- Step 1 -------------------------------------------------------------------------- Run the below command which ip/host you want to access without password....in my case 192.168.5.72 root@pc022:/home/arvind# ssh-keygen -t rsa -------------------------------------------------------------------------- Step 2 -------------------------------------------------------------------------- Go to the /etc/ssh/ssh_conf and edit uncomment/edit some lines.... root@pc022:/home/arvind# nano /etc/ssh/sshd_config PubkeyAuthentication yes AuthorizedKeyFile .ssh/authorized_keys PasswordAuthentication no Restart the SSH server and you’re done. root@pc022:/home/arvind# sudo service ssh restart -------------------------------------------------------------------------- Step 3 -------------------------------------------------------------------------- Run the bel...