Tuesday, August 4, 2009

How to install Sun Glassfish sges-2_1-linux.bin

# Install the missing library
apt-get install libstdc++5

# go to the download location
cd /opt/downloads/

# execute the binary
./sges-2_1-linux.bin


Answer all the prompts. If you didn't install Java 2 SDK 5.0 or greater, go to another shell (ALT F2), log in and install it:

cd /opt/downloads/jdk
chmod u+x jdk-6u14-linux-i586.bin
./jdk-6u14-linux-i586.bin

and then move the installation:
mv jdk1.6.0_14 /opt/jdk16014

and then go back to the glassfish installation (ALT F1) and specify the installation directory:
/opt/jdk16014

When prompted for all the settings, make sure to enter an admin password (ex: adminadmin)

To start the app server:
/opt/SUNWappserver/bin/asadmin start-domain domain1

Console: http://localhost:4848


Install mysql:
apt-get install mysql-server-5.1
apt-get install mysql-client-5.1

mysql -u root -p

No comments:

Post a Comment