Toolpack prerequisite Windows XP 2-3

From TBwiki
Revision as of 16:25, 19 May 2009 by Cbilodeau (Talk | contribs)
Jump to: navigation, search

This page shows the Toolpack 2-3 prerequisites for Windows XP.

Contents

Toolpack Prerequisite

Toolpack Basic packages

The software listed below is required by the host machines.

1) Go to http://www.zlatkovic.com/pub/libxml/ and download:

  iconv-1.9.2.win32.zip
  libxml2-2.7.3.win32.zip
  zlib-1.2.3.win32.zip

2) Decompress and copy the DLL files to C:\Windows\System32

  iconv.dll
  libxml2.dll
  zlib1.dll


Toolpack System Database

The Toolpack system database is used by the main host and requires mySQL database server version 5.0 or later. It can be downloaded from the following location:

1) Go to http://www.mysql.com/ and download mysql 5.0 installer

2) Install mysql 5.0

  • Choose complete installation
  • Run MySQL Server Instance Configuration Wizard. (You should be prompted to do so after selecting complete installation.)
  • Choose standard configuration
  • Install as a Windows service and check, Launch Automatically.
  • Choose Include Bin Directory in Windows PATH.
  • Enter a User Name and Password, and note them down on paper as you will need them later in the installation process.
  • Enable access from remote machines if you plan to run Tmedia Toolpack on more than one host machine.

3) Create new database user (tbdb) with all privilege access

  • Log in mysql and create a new user with priviledge
 mysql -u root
 CREATE USER '[DatabaseUsername]'@'%' IDENTIFIED BY '[DatabasePassword]';
 GRANT ALL privileges ON *.* TO '[DatabaseUsername]'@'%' IDENTIFIED BY '[DatabasePassword]';
 exit

Example

 mysql -u root
 CREATE USER 'tbdb'@'%' IDENTIFIED BY 'tbdbpw';
 GRANT ALL privileges ON *.* TO 'tbdb'@'%' IDENTIFIED BY 'tbdbpw';
 exit

4) Install Mysql ODBC driver

5) Enable mysql database replication

  • Open configuration file at location similar to c:\Program Files\MySQL\MySQL Server 5.1\my.ini
  • Add 2 new variable in the mysql config file, and make sure it is in the [mysqld] section:
 log-bin
 server-id=[UniqueId]       <--- [UniqueId] must be a non-zero value, and must be unique when used one each host of an HA system

Example:

 [mysqld]
 port=3306
 basedir="C:/Program Files/MySQL/MySQL Server 5.1/"
 datadir="C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/Data/"
 default-character-set=latin1
 default-storage-engine=INNODB
 # Enable mysql database replication
 log-bin
 server-id=132
 #
 sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
 max_connections=100
 
 # section [mysqld_safe]
 table_cache=256
 tmp_table_size=18M
 thread_cache_size=8

6) Restart the mysql service

 net stop MySQL51
 net start MySQL51
  • Warning: You may have a different service name in your system (ex. MySQL51, MySQL50, etc.). To open the service control panel, run:
 services.msc

Toolpack System Web Portal

1) Install Ruby

2) Install Mongrel using the following commands.

  • gem install mongrel --include-dependencies
  • choose option 3. mongrel 1.1.5 (x86-mswin32-60)


Toolpack Stream Server

The Tmedia Toolpack Stream Server requires WinPCAP 4.0 or later. It can be downloaded from the following location:

1) Go to http://www.winpcap.org/ and download WinPcap_4_0_2.exe

2) Install WinPCAP 4.0


Toolpack Development Prerequisite

Available soon.


Toolpack System installation

Now that the prerequisite are installed, now it is time to install the Toolpack system

Personal tools