Site Sponsors:
LTM on Godaddy (CentOS 6 : Tomcat 6 : MySQL 5.5) 
NOTE: GODADDY Cloud Servers GONE as of December 31, 2017.



In as much as it is now extremely affordable to toss server installs around in-the-cloud, we decided to set up a Linux, Tomcat & MySQL (LTM) stack on CentOS.

Why CentOS, you might ask?

Easy: Those SCLs make the job far too easy!

Here is what we had to do:
    sudo bash
yum install centos-release-SCL
yum update
yum install mysql55
yum update
yum -y install tomcat6 tomcat6-webapps tomcat6-admin-webapps
yum update
Thereafter, editing /etc/tomcat6/tomcat-users.xml to add an 8080 login:
  <role rolename="manager"/>
<role rolename="admin"/>
<user username="admin" password="admin" roles="admin,manager"/>
... followed by ...
    service tomcat6 start
Worked great!

Also, if your browsing to 8080 did not work (mine did - just had to wait for a 'few the first time! (Java ... ... ... yo!)), then don't forget to unblock those ports!

MySQL


For those who are convinced that they will need access to MySQL under Tomcat:
    yum -y install mysql-connector-java



[ add comment ] ( 371 views )   |  permalink  |  related link

<<First <Back | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | Next> Last>>