I would download the .war file, and do a manual install. Here's a rough overview of how I install Tomcat on CentOS, then add the .war package for OpenBD
Setup Tomcat #must pay attention to the openjdk version that is downloaded. The attributes need to reference this specific version. WHen updating JDK, you need to alter these entries to reflect new version #java directory /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64 #apachetomcat directory /opt/apache-tomcat-7.0.41 1) Intall JDK # yum -y install java-1.7.0-openjdk-devel 2) Setup JAVA_HOME environment Variable # vi /etc/profile.d/java.sh Insert > JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64 3) Download and Install ApacheTomCat * May need to update version * http://tomcat.apache.org/download-70.cgi $ yum -y install wget $ wget http://mirror.metrocast.net/apache/tomcat/tomcat-7/v7.0.42/bin/apache-tomcat-7.0.42.tar.gz # tar xvzf apache-tomcat-7.0.42.tar.gz -C / # mv /apache-tomcat-7.0.42 /tomcat # chmod +r /tomcat/conf/* 4) set up a necessary environment variable as follows # vi /etc/profile.d/tomcat.sh insert> CATALINA_HOME=/tomcat 5) REBOOT # shutdown -r now cd /tomcat/bin/startup.sh sudo ./startup.sh 6) Automate Startup #check version numbers in script # vi /etc/init.d/tomcat insert > #!/bin/bash # chkconfig: 234 20 80 # description: Tomcat Server basic start/shutdown script # processname: tomcat JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64 export JAVA_HOME TOMCAT_HOME=/tomcat/bin START_TOMCAT=/tomcat/bin/startup.sh STOP_TOMCAT=/tomcat/bin/shutdown.sh start() { echo -n "Starting tomcat: " cd $TOMCAT_HOME ${START_TOMCAT} echo "done." } stop() { echo -n "Shutting down tomcat: " cd $TOMCAT_HOME ${STOP_TOMCAT} echo "done." } case "$1" in start) start ;; stop) stop ;; restart) stop sleep 10 start ;; *) echo "Usage: $0 {start|stop|restart}" esac exit 0 8) Change the permissions on the file. # chmod 755 /etc/init.d/tomcat 9)Set the script to start with other system services and set the runlevels. # /sbin/chkconfig --add tomcat # /sbin/chkconfig --level 234 tomcat on 10) Create Tomcat Admin User #vi $CATALINA_HOME/conf/tomcat-users.xml insert > <role rolename="manager-gui"/> <user username="tomcat" password="tomcat123!" roles="manager-gui"/> Install OpenBD .WAR H -- Install OpenBD 1) Download War # wget http://openbd.org/download/3.1/openbd.war 2) Move into webapps folder # mv /root/openbd.war /tomcat/webapps On Thu, Jun 11, 2015 at 10:22 AM, <[email protected]> wrote: > Hi, > > I wanted to know which is the best way to integrate openbd apache 2.4 and > virtualhosts. In my server I have to manage more than 100 domains, and I'd > like to know, which kind of openbd installation and configuration I need. > OpenBDJam? Ready2Start? I didn't understand which one is better for my > purposes. > > My server is debian linux based. > > Thanks in advance for your reply > > -- > -- > online documentation: http://openbd.org/manual/ > http://groups.google.com/group/openbd?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Open BlueDragon" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en --- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
