Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Solaris 10

  1. Installation PASSED (tick)
  2. Functional Test

Installation

  1. Use Solaris 10 (Update 11/06) VM (tick)
  2. Install MySQL Server (tick)
  3. Install wildfire (tick)
  4. Install JDK6 (tick)
  5. Install LAMS
    • JBoss 4.0.2 (tick)
    • LAMS 2.3 installer (tick)
    • Starting up LAMS 2.3 (tick)

Solaris 10 VM

Downloaded from http://developers.sun.com/solaris/downloads/solaris_apps/index.jsp (see Solaris 10 11/06)

Note that you will need GNU tar (gtar) rather than Sun native tar command.

Installing MySQL Server

Download MySQL Server for Solaris 10 as package from: http://dev.mysql.com/downloads/mysql/5.0.html#solaris-pgadd

No Format
bash-3.00# cd /tmp
bash-3.00# wget http://mysql.mirrors.ilisys.com.au/Downloads/MySQL-5.0/mysql-5.0.77-solaris10-i386.pkg.gz
bash-3.00# gunzip mysql-5.0.77-solaris10-i386.pkg.gz  
bash-3.00# groupadd mysql
bash-3.00# useradd -g mysql mysql

bash-3.00# pkgadd -d mysql-5.0.77-solaris10-i386.pkg 

The following packages are available:
  1  mysql     MySQL Community Server (GPL)
               (i86pc) 5.0.77

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: all

Processing package instance <mysql> from </export/home/mysql-5.0.77-solaris10-x86_64.pkg>

MySQL Community Server (GPL)(i86pc) 5.0.77

Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.

The selected base directory </opt/mysql> must exist before
installation is attempted.

Do you want this directory created now [y,n,?,q]  y
Using </opt/mysql> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

This package contains scripts which will be executed with super-user
permission during the process of installing this package.

Do you want to continue with the installation of <mysql> [y,n,?] y

Installing MySQL Community Server (GPL) as <mysql>

## Installing part 1 of 1.
/opt/mysql/mysql/COPYING
/opt/mysql/mysql/EXCEPTIONS-CLIENT
/opt/mysql/mysql/INSTALL-BINARY
/opt/mysql/mysql/README
/opt/mysql/mysql/bin/CMakeLists.txt
/opt/mysql/mysql/bin/comp_err
/opt/mysql/mysql/bin/comp_sql.c
/opt/mysql/mysql/bin/make_sharedlib_distribution
/opt/mysql/mysql/bin/msql2mysql
/opt/mysql/mysql/bin/my_print_defaults
/opt/mysql/mysql/bin/myisam_ftdump
/opt/mysql/mysql/bin/myisamchk
/opt/mysql/mysql/bin/myisamlog
/opt/mysql/mysql/bin/myisampack
/opt/mysql/mysql/bin/mysql
/opt/mysql/mysql/bin/mysql_client_test
/opt/mysql/mysql/bin/mysql_config
/opt/mysql/mysql/bin/mysql_convert_table_format
/opt/mysql/mysql/bin/mysql_explain_log
/opt/mysql/mysql/bin/mysql_find_rows
/opt/mysql/mysql/bin/mysql_fix_extensions
/opt/mysql/mysql/bin/mysql_fix_privilege_tables
/opt/mysql/mysql/bin/mysql_fix_privilege_tables_sql.c
/opt/mysql/mysql/bin/mysql_secure_installation
/opt/mysql/mysql/bin/mysql_setpermission
/opt/mysql/mysql/bin/mysql_tableinfo
/opt/mysql/mysql/bin/mysql_tzinfo_to_sql
/opt/mysql/mysql/bin/mysql_upgrade
/opt/mysql/mysql/bin/mysql_upgrade_shell
/opt/mysql/mysql/bin/mysql_waitpid
/opt/mysql/mysql/bin/mysql_zap
/opt/mysql/mysql/bin/mysqlaccess
/opt/mysql/mysql/bin/mysqlaccess.conf
/opt/mysql/mysql/bin/mysqladmin
/opt/mysql/mysql/bin/mysqlbinlog
/opt/mysql/mysql/bin/mysqlbug
/opt/mysql/mysql/bin/mysqlcheck
/opt/mysql/mysql/bin/mysqld
/opt/mysql/mysql/bin/mysqld-debug
/opt/mysql/mysql/bin/mysqld_multi
/opt/mysql/mysql/bin/mysqld_safe
/opt/mysql/mysql/bin/mysqldump
/opt/mysql/mysql/bin/mysqldumpslow
/opt/mysql/mysql/bin/mysqlhotcopy
/opt/mysql/mysql/bin/mysqlimport
/opt/mysql/mysql/bin/mysqlmanager
/opt/mysql/mysql/bin/mysqlshow
/opt/mysql/mysql/bin/mysqltest
/opt/mysql/mysql/bin/mysqltestmanager
/opt/mysql/mysql/bin/mysqltestmanager-pwgen
/opt/mysql/mysql/bin/mysqltestmanagerc
/opt/mysql/mysql/bin/ndb_config
/opt/mysql/mysql/bin/ndb_cpcd
/opt/mysql/mysql/bin/ndb_delete_all
/opt/mysql/mysql/bin/ndb_desc
/opt/mysql/mysql/bin/ndb_drop_index
/opt/mysql/mysql/bin/ndb_drop_table
/opt/mysql/mysql/bin/ndb_error_reporter
/opt/mysql/mysql/bin/ndb_mgm
/opt/mysql/mysql/bin/ndb_mgmd
/opt/mysql/mysql/bin/ndb_restore
...

...
/usr/sbin/myisampack <symbolic link>
/usr/sbin/mysqld <symbolic link>
/usr/sbin/mysqld_multi <symbolic link>
/usr/sbin/mysqld_safe <symbolic link>
/usr/sbin/mysqlmanager <symbolic link>
/usr/sbin/safe_mysqld <symbolic link>
[ verifying class <none> ]
## Executing postinstall script.
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/opt/mysql/mysql/bin/mysqladmin -u root password 'new-password'
/opt/mysql/mysql/bin/mysqladmin -u root -h unknown password 'new-password'

Alternatively you can run:
/opt/mysql/mysql/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the manual for more instructions.

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com

Installation of <mysql> was successful.
bash-3.00# 

bash-3.00# su mysql
$ bash
bash-3.00$ cd /opt/mysql/mysql/scripts
bash-3.00$ ./mysql_install_db --user=mysql --ldata=/opt/mysql/mysql/data
Installing MySQL system tables...
OK
Filling help tables...
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/opt/mysql/mysql/bin/mysqladmin -u root password 'new-password'
/opt/mysql/mysql/bin/mysqladmin -u root -h unknown password 'new-password'

Alternatively you can run:
/opt/mysql/mysql/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:
cd . ; /opt/mysql/mysql/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
bash-3.00$ 
bash-3.00$ cd /opt/mysql/mysql/bin
bash-3.00$ ./mysqld_safe --datadir=/opt/mysql/mysql/data --user=mysql &
[1] 1424
bash-3.00$ Starting mysqld daemon with databases from /opt/mysql/mysql/data

bash-3.00$ 
bash-3.00$ mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.0.77 MySQL Community Server (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> \q
Bye
bash-3.00$ 

Installing Wildfire

Using Wildfire 2.6.2

No Format
bash-3.00# cd /export/home
bash-3.00#   wget http://www.igniterealtime.org/builds/wildfire/wildfire_2_6_2.tar.gz
--00:59:01--  http://www.igniterealtime.org/builds/wildfire/wildfire_2_6_2.tar.gz
           => `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: 5,558,234 (5.3M) [application/x-gzip]

100%[=======================================================================================================>] 5,558,234    181.91K/s    ETA 00:00

00:59:32 (181.67 KB/s) - `wildfire_2_6_2.tar.gz' saved [5558234/5558234]

bash-3.00# 
bash-3.00# gunzip wildfire_2_6_2.tar.gz 
bash-3.00# gtar xf wildfire_2_6_2.tar 
bash-3.00# cd wildfire/bin/
bash-3.00# ./wildfire start
testing JVM in /usr ...
Starting wildfire
bash-3.00# Sending output to nohup.out

bash-3.00# 

Installing Java JDK6

Download the Java JDK6 From http://java.sun.com

No Format
bash-3.00# cd /export/home
bash-3.00# chmod +x jdk-6u13-solaris-i586.sh
Sun Microsystems, Inc. Binary Code License Agreement

for the JAVA SE DEVELOPMENT KIT (JDK), VERSION 6

SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE
SOFTWARE IDENTIFIED BELOW TO YOU ONLY UPON THE CONDITION
THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS BINARY
CODE LICENSE AGREEMENT AND SUPPLEMENTAL LICENSE TERMS
(COLLECTIVELY "AGREEMENT"). PLEASE READ THE AGREEMENT
CAREFULLY. BY DOWNLOADING OR INSTALLING THIS SOFTWARE, YOU
ACCEPT THE TERMS OF THE AGREEMENT. INDICATE ACCEPTANCE BY
SELECTING THE "ACCEPT" BUTTON AT THE BOTTOM OF THE
AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY ALL THE
TERMS, SELECT THE "DECLINE" BUTTON AT THE BOTTOM OF THE
AGREEMENT AND THE DOWNLOAD OR INSTALL PROCESS WILL NOT
CONTINUE.
...

...
For inquiries please contact: Sun Microsystems, Inc., 4150
Network Circle, Santa  Clara, California 95054, U.S.A.

Do you agree to the above license terms? [yes or no]
yes
Unpacking...
...

...
  inflating: jdk1.6.0_13/db/LICENSE  
  inflating: jdk1.6.0_13/db/NOTICE   
  inflating: jdk1.6.0_13/db/RELEASE-NOTES.html  
Creating jdk1.6.0_13/jre/lib/rt.jar
Creating jdk1.6.0_13/jre/lib/jsse.jar
Creating jdk1.6.0_13/jre/lib/charsets.jar
Creating jdk1.6.0_13/lib/tools.jar
Creating jdk1.6.0_13/jre/lib/ext/localedata.jar
Creating jdk1.6.0_13/jre/lib/plugin.jar
Creating jdk1.6.0_13/jre/lib/javaws.jar
Creating jdk1.6.0_13/jre/lib/deploy.jar

Java(TM) SE Development Kit 6 successfully installed.

Product Registration is FREE and includes many benefits:
* Notification of new versions, patches, and updates
* Special offers on Sun products, services and training
* Access to early releases and documentation

Product and system data will be collected. If your configuration
supports a browser, the Sun Product Registration form for 
the JDK will be presented. If you do not register, none of
this information will be saved. You may also register your
JDK later by opening the register.html file (located in 
the JDK installation directory) in a browser.

For more information on what data Registration collects and 
how it is managed and used, see:
http://java.sun.com/javase/registration/JDKRegistrationPrivacy.html

Press Enter to continue.....


Done.
bash-3.00# export JAVA_HOME=/export/home/jdk1.6.0_13/
bash-3.00# $JAVA_HOME/bin/java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
bash-3.00# 

Installing LAMS

JBoss 4.0.2

No Format
bash-3.00# cd /export/home/
bash-3.00# wget http://transact.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.2.tar.gz
--2009-04-29 07:28:14--  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  3.62M/s   in 18s     

2009-04-29 07:28:33 (3.23 MB/s) - `jboss-4.0.2.tar.gz' saved [61652409/61652409]

bash-3.00# gunzip jboss-4.0.2.tar.gz 
bash-3.00# gtar xf jboss-4.0.2.tar 
bash-3.00#

LAMS Installer

Get installers from Downloads

No Format
bash-3.00# cd /export/home
bash-3.00# gunzip lams-unix-installer-2.3-20090429.1705.tar.gz 
bash-3.00# gtar xf lams-unix-installer-2.3-20090429.1705.tar 
bash-3.00# cd lams-unix-installer-2.3
bash-3.00# 

Editing lams.properties

No Format
...
# The lamshome directory, will contain repository, temp and dump files                                                                             
# Make sure this location has sufficient disk space as several files will be stored                                                                
# here during run time                                                                                                                             
LAMS_DIR=/opt/lams
...
# Where your home directory of JBoss is                                                                                                            
# This will contain your LAMS installation                                                                                                         
JBOSS_DIR=/export/home/jboss-4.0.2
...
# The directory that contains your JDK. (Must be 1.5 or higher)                                                                                    
JDK_DIR=/export/home/jdk1.6.0_13/
...

Running the installer

No Format
bash-3.00# pwd
/export/home/lams-unix-installer-2.3
bash-3.00# ./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 = /export/home/jdk1.6.0_13/

--------------------------------------------------------------------------------

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
Done.


Database Created.

Copying lams.ear directory to /export/home/jboss-4.0.2/server/default/deploy.

Done.

Configuring JBoss with your settings.
Buildfile: ant-scripts/configure-deploy.xml
cp: cannot access repository/*
cp: cannot access secure/*

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.

bash-3.00# 

Starting LAMS

No Format

bash-3.00# cd /export/home/jboss-4.0.2/bin/
bash-3.00# ./run.sh 
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /export/home/jboss-4.0.2

  JAVA: /export/home/jdk1.6.0_13//bin/java

  JAVA_OPTS: -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dprogram.name=run.sh

  CLASSPATH: /export/home/jboss-4.0.2/bin/run.jar:/export/home/jdk1.6.0_13//lib/tools.jar

=========================================================================

08:27:29,390 INFO  [Server] Starting JBoss (MX MicroKernel)...
08:27:29,391 INFO  [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
08:27:29,392 INFO  [Server] Home Dir: /export/home/jboss-4.0.2
08:27:29,392 INFO  [Server] Home URL: file:/export/home/jboss-4.0.2/
08:27:29,393 INFO  [Server] Library URL: file:/export/home/jboss-4.0.2/lib/
08:27:29,394 INFO  [Server] Patch URL: null
08:27:29,394 INFO  [Server] Server Name: default
08:27:29,395 INFO  [Server] Server Home Dir: /export/home/jboss-4.0.2/server/default
08:27:29,395 INFO  [Server] Server Home URL: file:/export/home/jboss-4.0.2/server/default/
08:27:29,395 INFO  [Server] Server Data Dir: /export/home/jboss-4.0.2/server/default/data
08:27:29,396 INFO  [Server] Server Temp Dir: /export/home/jboss-4.0.2/server/default/tmp
08:27:29,396 INFO  [Server] Server Config URL: file:/export/home/jboss-4.0.2/server/default/conf/
08:27:29,396 INFO  [Server] Server Library URL: file:/export/home/jboss-4.0.2/server/default/lib/
08:27:29,397 INFO  [Server] Root Deployment Filename: jboss-service.xml
08:27:29,400 INFO  [Server] Starting General Purpose Architecture (GPA)...
08:27:29,829 INFO  [ServerInfo] Java version: 1.6.0_13,Sun Microsystems Inc.
08:27:29,829 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.3-b02,Sun Microsystems Inc.
08:27:29,830 INFO  [ServerInfo] OS-System: SunOS 5.10,x86
08:27:32,877 INFO  [Server] Core system initialized
...

...
2009-04-29 08:29:25,397 INFO  [LocaleFilter] Initializing filter 'LocaleFilter'
2009-04-29 08:29:25,398 INFO  [LocaleFilter] Filter 'LocaleFilter' configured successfully
2009-04-29 08:29:25,421 INFO  [EARDeployer] Started J2EE application: file:/export/home/jboss-4.0.2/server/default/deploy/lams.ear/
2009-04-29 08:29:25,528 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
2009-04-29 08:29:25,970 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
2009-04-29 08:29:25,980 INFO  [JkMain] Jk running ID=0 time=1/27  config=null
2009-04-29 08:29:26,000 INFO  [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 1m:56s:600ms

LAMS starts fine (thumbs up) (smile)

Functional Test

Include Page
Solaris 10 Scenario 1 Functional Testing
Solaris 10 Scenario 1 Functional Testing