You are on page 1of 13

www.globalsight.

com

GlobalSight
Installation Guide

Version 7.1

3rd Party Components


for Windows

Open source initiative for

managing, translating &

delivering global content

Copyright © 2008 Welocalize, Inc.


T ABLE OF C ONTENTS
TABLE OF CONTENTS ..................................................................................................................... ii 

Passwords for GlobalSight Components ................................................................................ iii 

Pre-requisites .............................................................................................................................. 1 

Install the MySQL Database Server 5.1.25 ................................................................................ 2 

Run the MySQL Server 5.1.25 Setup Wizard ........................................................................................... 2 


Configure the Database ............................................................................................................................ 2 
Creating the GlobalSight Database and User using MySQL Command Line ........................................... 3 
MySQL Quick Test: ................................................................................................................................ 4 

Install the MySQL Client 5.1.25 .................................................................................................. 6 

Install JDK 1.6.0_07 .................................................................................................................... 8 

Install JRE 1.6.0_07 for Client .................................................................................................... 9 

Install OpenLDAP 2.2.29 ........................................................................................................... 10 

ii

Copyright © 2008 Welocalize, Inc.


Passwords for GlobalSight Components
When installing GlobalSight components, you will be defining passwords for MySQL, OpenLDAP. Therefore,
for simplicity choose one cross-component password now that you will use for all these components.

Choose an 8-character password that is the combination of the company name and an integer.

For reference, the following is a list of usernames and passwords for all the GlobalSight components. The
cross-component GlobalSight password is represented by <password> in the table below.

Component Username Password Description

MySQL root root Root-user for MySQL. “root” is the


default password. The password for
your MySQL installation may be
different. You’ll need this for creating
the GlobalSight MySQL resources.

MySQL globalsight <password> The user that owns all the GlobalSight
tables.

OpenLDAP ldap_connection <password> The username and password used by


connection GlobalSight to connect to OpenLDAP
for user and role information.

iii

Copyright © 2008 Welocalize, Inc.


Pre-requisites
D o wn lo a d th e G l o b a lS ig h t S o f t w are P ac k a ge fo r W in do w s f ro m w ww .g l ob a l s ig h t.c om and
unz ip the pack age.

A f t e r unz i p, yo u sh o u l d h av e t he fo l lo w ing d i re c to r i e s:

- 3 r d _party_softw are
- A l ign e r
- Con ve r te rs
- D e sk to pIcon
- Do c umen ta t i on
- G lo ba l S igh t

Copyright © 2008 Welocalize, Inc.


Install the MySQL Database Server 5.1 .25
These instructions are for MySQL Database Server Version 5.1.25.

If you plan to install MySQL Database Server and GlobalSight application on separate servers, you will
need to install MySQL Client on the server where you will be installing the GloblalSight application. Please
see Install the MySQL Client 5.1.25 section in this document for instructions.

Run the MySQL Server 5.1.25 Setup Wizard


1. Double-click on Setup.exe to launch the MySQL Server 5.1.25 Setup Wizard.

2. Wait until the welcome screen shows. Then click Next.

3. On the Setup Type screen, choose Custom. Click Next.

4. On the Custom Setup screen, click the button Change… and adjust the install directory then click Next.

5. On the Ready to Install the Program screen. Click Install.

6. Wait until the installation complete. After that there may be screens of introduction of MySQL
Enterprise. Just click Next.

7. On the Wizard Completed screen. Accept Configure the MySQL Server now. Click Finish. And do
configurations written in the next section.

Configure the Database


1. When the Welcome to the MySQL Server Instance Configuration Wizard 1.0.12.0 screen opens, on the
Welcome screen, click Next.

2. On the Select a configuration type screen, choose Detailed Configuration. Click Next.

3. On the Select a server type screen, choose Server Machine. Click Next.

4. On the Select the database usage screen, choose Transactional Database only. Click Next.

5. On the Select the drive for the InnoDB datafile screen, accept the default setting Installation Path.
Click Next.

6. On the Set the approximate number of concurrent connections to the server screen, choose Online
Transaction Processing (OLTP) or Manual Setting -> set the concurrent connections to 500. Click
Next.

Copyright © 2008 Welocalize, Inc.


7. On the set the networking options screen, select Enable TCP/IP Networking and let the Port Number
to 3306 and choose Add firewall exception for this port and select Enable Strict Mode. Click Next.

8. On the Select the default character set screen, choose Best Support for Multilingualism. Click Next.

9. On the Set the Windows Options screen, select Install as Windows Service and set the Service Name
( e.g. “MySQLGlobalSight” ), select Launch the MySQL Server automatically, and select Include Bin
Directory in Windows PATH. Click Next.

10. On the Set the Security Options screen, select Modify Security Settings and set the password to “root”
for the MySQL root user and confirm the password, DO NOT check Enable root access from remote
machines. Click Next.

11. After the configuration completed. Click Finish to close the wizard.

12. Edit MySQL_HOME\my.ini. Change the value of option “max_allowed_packet” to 16M. If option
“max_allowed_packet” does not exist, add max_allowed_packet = 16M to the bottom of mysqld
section.

13. Restart MySQL service (in Administrator Tools/Services).

Creating the GlobalSight Database and User using MySQL


Command Line
1. Login to mysql as root

Type: mysql -uroot –p<mysql_root_password> -h<MySQL_Host_name_or_ip_Addr>

Example: C:\>mysql –uroot –proot –hlocalhost

Note: Assuming that MySQL Database server has been successfully


installed and you will be executing mysql commands on the same host.
Also, assume that the MySQL root user's password is set to 'root'.

2. Create GlobalSight database

Type: create database <GlobalSight Database Name>;

Example: mysql> create database globalsight;

3. Create GlobalSight database user name

Type: create user '<User Name>'@'%' identified by '<Password>';

Example: mysql> create user 'globalsight'@'%' identified by 'password';

Copyright © 2008 Welocalize, Inc.


4. Grant all privileges on GlobalSight database (created in step 2 above) to the user (created in step 3
above)

Type: grant all on <GlobalSight Database Name>.* to '<User Name>'@'%';

Example: mysql> grant all on globalsight.* to 'globalsight'@'%';

5. Commit

Type: commit;

Example: mysql> commit;

MySQL Setup Quick Test:


1 . L o g in to M yS Q L w i t h t he u se r c re at e d ear l ie r ( w i l l u se M ys q l u s er ' g lob a l s i gh t ' and
password 'password' for this ex amp le )

Type : m y s ql – ug lo b a l s ig h t – pp a s sw o r d – h lo cal h o s t

2 . Once successful lo gin, conect to MySQL database created earlie r (will use
d atab ase nam e 'g lo balsig h t' fo r this ex am p le )

Type : c o n n e c t g lo b a l s ig h t;

3 . C he ck s t a t us

Type : status

No te: Yo u sh o uld see status show in g 'C ur ren t d atab ase : ' and 'Cur rent user: ' m a tc h
information ente red above.

Y o u wi ll use th e M yS QL use rna me, p a ssw or d a nd d a tabase n ame la te r in th e


GlobalSigh t setup.

4 . T e s t com p le t ed , e xi t MyS QL .

Type : ex it

Copyright © 2008 Welocalize, Inc.


5

Copyright © 2008 Welocalize, Inc.


Install the MySQL Client 5.1 .25
If you plan to install MySQL Database Server and GlobalSight application on separate servers, you will
need to install MySQL Client on the server where you will be installing the GloblalSight application.

1. Double-click on Setup.exe to launch the MySQL 5.1.25 Setup Wizard.


2. Wait until the welcome screen shows. Then click Next.
3. On the Setup Type screen, choose Custom. Click Next.
4. On the Custom Setup screen

a) Click the images to de-select all features first and select “Client Programs -> MySQL Command
Line Shell” & “Client Programs -> MySQL Command Line Utilities” to install
b) Select “Documentation” to install if you like.
c) Click the button Change… and adjust the install directory
d) Click Next.
5. On the Ready to Install the Program screen. Click Install.

Copyright © 2008 Welocalize, Inc.


6. Wait until the installation complete. After that there may be screens of introduction of MySQL
Enterprise. Just click Next.
7. On the Wizard Completed screen. Click Finish to the installation.
8. Set Environment Variables for System variable Path:
Go to My Computer -> Properties -> Advanced -> Environment Variables.
Add <MySQL_home>\bin (example: C:\Program Files\MySQL\MySQL Server 5.1\bin) to the end of
Path variable_value

Copyright © 2008 Welocalize, Inc.


Install JDK 1 .6.0_07
1. Uninstall any previously installed JDK.

2. Download the JDK 1.6.0_07. You can also find the setup file in the GlobalSight Software Package.

3. Install JDK 1.6.0_07 by double clicking on jdk-6u7-windows-i586-p.exe.

4. License Agreement Screen.

a. Select “I accept the terms in the license agreement.”

b. Click next.

5. On the Custom Setup Screen.

a. Choose the installation directory.

e.g.: C:\Program Files\Java\jdk1.6.0_07

b. Click next.

6. On the JRE installation screen.

a. Click next to install.

7. On the InstallShield Complete screen, click on Finish. This will require a restart of the server.

8. When done, set the following System (not User) environment variables from My Computer ->
Properties -> Advanced -> Environment Variables:

a. JAVA_HOME=<java_home> (for example: C:\Program Files\Java\jdk1.6.0_07)

b. Add %JAVA_HOME%\bin to the front of PATH variable.

Copyright © 2008 Welocalize, Inc.


Install JRE 1 .6.0_07 for Client
To access GlobalSight application, the client machine should have JRE version 1.5 or above. Here are the
instructions to install JRE 1.6 update 07.

1. Uninstall any previously installed JRE.

2. Download the JRE 1.6.0_07. You can also find the setup file in the GlobalSight Software Package.

3. Install JRE 1.6.0_07 by double clicking on jre-6u7-windows-i586-p.exe.

4. License Agreement Screen.

a) Select “I accept the terms in the license agreement.”

b) Click next.

5. Select the install directory if you like and click next all the way.

6. On the InstallShield Complete screen, click on Finish.

Copyright © 2008 Welocalize, Inc.


Install OpenLDAP 2.2.29
Install OpenLDAP on the server where GlobalSight application will be installaed. For a clean install, please
remove the OpenLDAP installation directory (if it exists from a prior GlobalSight installation).

1. Download OpenLDAP 2.2.29. You can also find the setup file in the GlobalSight Software Package.

2. Double click on openldap-2.2.29-db-4.3.29-openssl-0.9.8a-win32_Setup.exe

3. Click Next.

4. Accept the license agreement. Click Next.

5. Enter or browse to the installation Directory (Make sure the path does NOT contain white space or
non-ASCII characters). Click Next.

6. Select Full installation. Click Next.

7. Choose how to generate OpenLDAP menu in the Start Menu. Click Next.

8. Check “automatically start OpenLDAP NT service(s) after reboot” and “Create a desktop icon”
(default). Click Next.

9. Review installation components on Ready to Install screen. Click Install to install OpenLDAP.

10. Click Finish to finish the installation.

11. Go to Windows Administrative Tools/Services to start the OpenLDAP Directory Service.

10

Copyright © 2008 Welocalize, Inc.

You might also like