... Using a VM created with [Ubuntu 9.04 Server|http://mirror.aarnet.edu.au/pub/ubuntu/releases/9.04/ubuntu-9.04-server-amd64.iso] AMD 64. Installed with OpenSSH-Server. h3. Java and MySQL {noformat} root@ubuntu904:~# apt-get install sun-java6-jdk mysql-server-5.0 ... {noformat} * Leave MySQL Root password blank * Accept the Java license h3. Download JBoss 4.0.2 {noformat} root@ubuntu904:/tmp# wget http://transact.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.2.tar.gz --2009-04-29 20:26:55-- http://transact.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.2.tar.gz Resolving transact.dl.sourceforge.net... 202.55.147.10 Connecting to transact.dl.sourceforge.net|202.55.147.10|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 61652409 (59M) [application/x-gzip] Saving to: `jboss-4.0.2.tar.gz' 100%[=========================================================================================================>] 61,652,409 24.6M/s in 2.4s 2009-04-29 20:26:58 (24.6 MB/s) - `jboss-4.0.2.tar.gz' saved [61652409/61652409] root@ubuntu904:/tmp# cd /usr/local/ root@ubuntu904:/usr/local# tar xzf /tmp/jboss-4.0.2.tar.gz root@ubuntu904:/usr/local# {noformat} h3. Install wildfire Getting [Wildfire 2.6.2|http://www.igniterealtime.org/builds/wildfire/wildfire_2_6_2.tar.gz] {noformat} root@ubuntu904:/tmp# wget wget http://www.igniterealtime.org/builds/wildfire/wildfire_2_6_2.tar.gz --2009-04-29 20:29:30-- http://wget/ Resolving wget... ^C root@ubuntu904:/tmp# root@ubuntu904:/tmp# wget http://www.igniterealtime.org/builds/wildfire/wildfire_2_6_2.tar.gz --2009-04-29 20:29:34-- http://www.igniterealtime.org/builds/wildfire/wildfire_2_6_2.tar.gz Resolving www.igniterealtime.org... 70.98.39.60 Connecting to www.igniterealtime.org|70.98.39.60|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 5558234 (5.3M) [application/x-gzip] Saving to: `wildfire_2_6_2.tar.gz' 100%[=========================================================================================================>] 5,558,234 184K/s in 30s 2009-04-29 20:30:04 (182 KB/s) - `wildfire_2_6_2.tar.gz' saved [5558234/5558234] root@ubuntu904:/tmp# cd /usr/local/ root@ubuntu904:/usr/local# tar xzf /tmp/wildfire_2_6_2.tar.gz root@ubuntu904:/usr/local# cd wildfire/bin/ root@ubuntu904:/usr/local/wildfire/bin# ./wildfire start testing JVM in /usr ... Starting wildfire nohup: appending output to `nohup.out' root@ubuntu904:/usr/local/wildfire/bin# {noformat} h2. Install LAMS h3. LAMS 2.3 installer Get the installers from: [lams:Downloads] {noformat} root@ubuntu904:/tmp# tar xfz lams-unix-installer-2.3-20090429.1705.tar.gz root@ubuntu904:/tmp# cd lams-unix-installer-2.3 root@ubuntu904:/tmp/lams-unix-installer-2.3# {noformat} *Editing lams.properties* Only one change to point to the Java JDK6 dir: {noformat} ... # The directory that contains your JDK. (Must be 1.5 or higher) JDK_DIR=/usr/lib/jvm/java-6-sun/ ... {noformat} *Running the installer* {noformat} root@ubuntu904:/tmp/lams-unix-installer-2.3# ./install-lams.sh JDK_DIR is valid -------------------------------------------------------------------------------- WELCOME to the LAMS 2.3 unix Installer! Please ensure you have read and accepted the license agreement before continuing Make sure you have correctly configured the lams.properties file to your preferred settings. You should read the installation guide before continuing. JAVA_HOME = /usr/lib/jvm/java-6-sun/ -------------------------------------------------------------------------------- LAMS requires about 117MB of space, continue with installation? (y)es, (n)o: y Do you wish to install LAMS as a Java Service Wrapper? (y)es, (n)o, (q)uit: n Using LAMS database with the following parameters... Database name: lams2 Database user: lamsuser Database password: lamsdemo Creating LAMS database. Buildfile: ant-scripts/configure-database.xml Database Created. Filling database with LAMS tables Buildfile: ant-scripts/filter-config.xml Buildfile: ant-scripts/configure-database.xml Database Created. Filling database with LAMS tables Buildfile: ant-scripts/filter-config.xml Buildfile: ant-scripts/configure-database.xml Done. Database Created. Copying lams.ear directory to /usr/local/jboss-4.0.2/server/default/deploy. Done. Configuring JBoss with your settings. Buildfile: ant-scripts/configure-deploy.xml cp: cannot stat `repository/*': No such file or directory cp: cannot stat `secure/*': No such file or directory Configuring the java Wrapper Copying lams.properties to /etc. LAMS 2.3 Configuration completed! Please view the README for instructions on how to run LAMS. root@ubuntu904:/tmp/lams-unix-installer-2.3# {noformat} h3. Starting Up LAMS 2.3 {noformat} root@ubuntu904:/tmp# cd /usr/local/jboss-4.0.2/bin/ root@ubuntu904:/usr/local/jboss-4.0.2/bin# ./run.sh run.sh: Missing file: /lib/tools.jar run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE. ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /usr/local/jboss-4.0.2 JAVA: java JAVA_OPTS: -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dprogram.name=run.sh CLASSPATH: /usr/local/jboss-4.0.2/bin/run.jar:/lib/tools.jar ========================================================================= 20:51:42,262 INFO [Server] Starting JBoss (MX MicroKernel)... 20:51:42,264 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023) 20:51:42,264 INFO [Server] Home Dir: /usr/local/jboss-4.0.2 20:51:42,265 INFO [Server] Home URL: file:/usr/local/jboss-4.0.2/ 20:51:42,266 INFO [Server] Library URL: file:/usr/local/jboss-4.0.2/lib/ 20:51:42,267 INFO [Server] Patch URL: null 20:51:42,268 INFO [Server] Server Name: default 20:51:42,268 INFO [Server] Server Home Dir: /usr/local/jboss-4.0.2/server/default 20:51:42,269 INFO [Server] Server Home URL: file:/usr/local/jboss-4.0.2/server/default/ 20:51:42,269 INFO [Server] Server Data Dir: /usr/local/jboss-4.0.2/server/default/data 20:51:42,270 INFO [Server] Server Temp Dir: /usr/local/jboss-4.0.2/server/default/tmp 20:51:42,270 INFO [Server] Server Config URL: file:/usr/local/jboss-4.0.2/server/default/conf/ 20:51:42,271 INFO [Server] Server Library URL: file:/usr/local/jboss-4.0.2/server/default/lib/ 20:51:42,271 INFO [Server] Root Deployment Filename: jboss-service.xml 20:51:42,275 INFO [Server] Starting General Purpose Architecture (GPA)... 20:51:42,725 INFO [ServerInfo] Java version: 1.6.0_13,Sun Microsystems Inc. 20:51:42,726 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 11.3-b02,Sun Microsystems Inc. 20:51:42,726 INFO [ServerInfo] OS-System: Linux 2.6.28-11-server,amd64 20:51:43,365 INFO [Server] Core system initialized 20:51:45,544 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml 2009-04-29 20:51:50,999 INFO [WebService] Using RMI server codebase: http://ubuntu904:8083/ 2009-04-29 20:51:51,452 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076 ... ... 2009-04-29 20:52:59,728 INFO [LocaleFilter] Initializing filter 'LocaleFilter' 2009-04-29 20:52:59,729 INFO [LocaleFilter] Filter 'LocaleFilter' configured successfully 2009-04-29 20:52:59,753 INFO [EARDeployer] Started J2EE application: file:/usr/local/jboss-4.0.2/server/default/deploy/lams.ear/ 2009-04-29 20:52:59,870 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 2009-04-29 20:53:00,162 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 2009-04-29 20:53:00,185 INFO [JkMain] Jk running ID=0 time=0/42 config=null 2009-04-29 20:53:00,204 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 1m:17s:930ms {noformat}
|