<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.telcobridges.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=10.0.1.11</id>
	<title>TB Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.telcobridges.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=10.0.1.11"/>
	<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/wiki/Special:Contributions/10.0.1.11"/>
	<updated>2026-07-27T22:35:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://docs.telcobridges.com/w/index.php?title=Toolpack_prerequisite_CentOS4_2-3&amp;diff=767</id>
		<title>Toolpack prerequisite CentOS4 2-3</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/w/index.php?title=Toolpack_prerequisite_CentOS4_2-3&amp;diff=767"/>
		<updated>2009-06-05T18:10:28Z</updated>

		<summary type="html">&lt;p&gt;10.0.1.11: /* Toolpack System Web Portal */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page shows the Toolpack 2-3 prerequisites for CentOS 4.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Toolpack Prerequisite ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Toolpack Basic packages ===&lt;br /&gt;
&lt;br /&gt;
The software listed below is required by the host machines.&lt;br /&gt;
&lt;br /&gt;
  yum install gcc&lt;br /&gt;
  yum install zlib-devel&lt;br /&gt;
&lt;br /&gt;
=== Toolpack System Database ===&lt;br /&gt;
&lt;br /&gt;
The Toolpack system database is used by the main host and requires mySQL database server. The &lt;br /&gt;
system database packages are as follows:&lt;br /&gt;
&lt;br /&gt;
a. For 32 bits sytem:&lt;br /&gt;
&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysql-server-5.0.68-1.el4_6.i386.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysql-devel-5.0.68-1.el4_6.i386.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysql-5.0.68-1.el4_6.i386.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysql-libs-5.0.68-1.el4_6.i386.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/perl-DBD-MySQL-2.9004-3.1.centos4.i386.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysqlclient14-4.1.22-1.el4s1.1.i386.rpm&lt;br /&gt;
  rpm -ivh mysql-server-5.0.68-1.el4_6.i386.rpm mysql-devel-5.0.68-1.el4_6.i386.rpm mysql-5.0.68-1.el4_6.i386.rpm mysql-libs-5.0.68-1.el4_6.i386.rpm perl-DBD-MySQL-2.9004-3.1.centos4.i386.rpm mysqlclient14-4.1.22-1.el4s1.1.i386.rpm&lt;br /&gt;
&lt;br /&gt;
b. For 64 bits sytem:&lt;br /&gt;
&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysql-server-5.0.68-1.el4_6.x86_64.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysql-devel-5.0.68-1.el4_6.x86_64.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysql-5.0.68-1.el4_6.x86_64.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysql-libs-5.0.68-1.el4_6.x86_64.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/perl-DBD-MySQL-2.9004-3.1.centos4.x86_64.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysqlclient14-4.1.22-1.el4s1.1.x86_64.rpm&lt;br /&gt;
  rpm -ivh mysql-server-5.0.68-1.el4_6.x86_64.rpm mysql-devel-5.0.68-1.el4_6.x86_64.rpm mysql-5.0.68-1.el4_6.x86_64.rpm mysql-libs-5.0.68-1.el4_6.x86_64.rpm perl-DBD-MySQL-2.9004-3.1.centos4.x86_64.rpm mysqlclient14-4.1.22-1.el4s1.1.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, install the encryption package.&lt;br /&gt;
&lt;br /&gt;
  yum install openssl&lt;br /&gt;
&lt;br /&gt;
Depending on the CentOS installation, the command paths for the database (i.e. mysql_install_db, mysqladmin, mysql) and system tools (chkconfig, service, etc) may not be included in the active PATH environment variable. MySql is usually installed in /usr/bin and system tools in sbin.&lt;br /&gt;
&lt;br /&gt;
1. start and enable mysql&lt;br /&gt;
&lt;br /&gt;
  chkconfig mysqld on&lt;br /&gt;
  service mysqld start&lt;br /&gt;
&lt;br /&gt;
2. Install the database.&lt;br /&gt;
&lt;br /&gt;
  mysql_install_db&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Log onto mysql, create a tbdb user. The &#039;&#039;[HostName]&#039;&#039;, &#039;&#039;[DatabaseUsername]&#039;&#039; and &#039;&#039;[DatabasePassword]&#039;&#039; will need to be supplied to the toolpack installer.&lt;br /&gt;
If you cannot log in it is possible that the host name is not configure properly, use an IP Address instead of the &#039;&#039;[HostName]&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
  mysql -u root -h &#039;[HostName]&#039; -p&lt;br /&gt;
  CREATE USER &#039;[DatabaseUsername]&#039;@&#039;%&#039; IDENTIFIED BY &#039;[DatabasePassword]&#039;;&lt;br /&gt;
  GRANT ALL PRIVILEGES ON *.* TO &#039;[DatabaseUsername]&#039;@&#039;%&#039; IDENTIFIED BY &#039;[DatabasePassword]&#039;;&lt;br /&gt;
  exit&lt;br /&gt;
&lt;br /&gt;
ex.&lt;br /&gt;
&lt;br /&gt;
  mysql -u root -h centos64-02 -p&lt;br /&gt;
  CREATE USER &#039;tbdb&#039;@&#039;%&#039; IDENTIFIED BY &#039;tbdbpw&#039;;&lt;br /&gt;
  GRANT ALL PRIVILEGES ON *.* TO &#039;tbdb&#039;@&#039;%&#039; IDENTIFIED BY &#039;tbdbpw&#039;;&lt;br /&gt;
  exit&lt;br /&gt;
&lt;br /&gt;
To verify if the user is created:&lt;br /&gt;
&lt;br /&gt;
  mysql -u root -p&lt;br /&gt;
  SELECT * FROM mysql.user;&lt;br /&gt;
  exit&lt;br /&gt;
&lt;br /&gt;
4. Retrieve the socket path (this command will give the path to the socket file).&lt;br /&gt;
&lt;br /&gt;
  mysql_config --socket&lt;br /&gt;
&lt;br /&gt;
5. Create a symbolic link to the path retrieve using the last command. &lt;br /&gt;
&lt;br /&gt;
  ln -s &amp;lt;PATH TAKEN FROM THE LAST CMD&amp;gt; /tmp/mysql.sock&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
  ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock&lt;br /&gt;
&lt;br /&gt;
6. Set the permission. Select option 7 (Create full privileges) for all database (*) on all hosts (%) for &lt;br /&gt;
the user &#039;&#039;[DatabaseUsername]&#039;&#039; (i.e. tbdb).&lt;br /&gt;
&lt;br /&gt;
  mysql_setpermission&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7.Install odbc driver and driver manager&lt;br /&gt;
&lt;br /&gt;
  yum install mysql-connector-odbc&lt;br /&gt;
&lt;br /&gt;
7a. For 32 bits sytem:&lt;br /&gt;
&lt;br /&gt;
  wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/linux/mysql-connector-odbc-3.51.27-linux-x86-32bit.tar.gz&lt;br /&gt;
  tar -zxf mysql-connector-odbc-3.51.27-linux-x86-32bit.tar.gz&lt;br /&gt;
  mkdir -p /lib/tb/toolpack/3rdparty/odbc-connector/&lt;br /&gt;
  cp mysql-connector-odbc-3.51.27-linux-x86-32bit/lib/libmyodbc3_r-3.51.27.so /lib/tb/toolpack/3rdparty/odbc-connector/&lt;br /&gt;
&lt;br /&gt;
7b. For 64 bits sytem:&lt;br /&gt;
&lt;br /&gt;
  wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/linux/mysql-connector-odbc-3.51.27-linux-x86-64bit.tar.gz&lt;br /&gt;
  tar -zxf mysql-connector-odbc-3.51.27-linux-x86-64bit.tar.gz&lt;br /&gt;
  mkdir -p /lib/tb/toolpack/3rdparty/odbc-connector/&lt;br /&gt;
  cp mysql-connector-odbc-3.51.27-linux-x86-64bit/lib/libmyodbc3_r-3.51.27.so /lib/tb/toolpack/3rdparty/odbc-connector/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Manually configure the odbc manager. Make sure mysql driver is enable(removing the comments for the mysql driver). Set the Driver as the previous command answer.&lt;br /&gt;
&lt;br /&gt;
  vim /etc/odbcinst.ini &lt;br /&gt;
&lt;br /&gt;
Here is an example:&lt;br /&gt;
&lt;br /&gt;
  # Driver from the MyODBC package&lt;br /&gt;
  # Setup from the unixODBC package&lt;br /&gt;
  [MySQL]&lt;br /&gt;
  Description     = ODBC for MySQL&lt;br /&gt;
  Driver          = /lib/tb/toolpack/3rdparty/odbc-connector/libmyodbc3_r-3.51.27.so&lt;br /&gt;
  Setup           = /usr/lib/libodbcmyS.so&lt;br /&gt;
  FileUsage       = 1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9. Configure mysql to support database replication (Will not interfere if your system do not use it).&lt;br /&gt;
&lt;br /&gt;
  vim /etc/my.cnf&lt;br /&gt;
&lt;br /&gt;
Add 2 new variable in the mysql config file&lt;br /&gt;
&lt;br /&gt;
Add log-bin and server-id. The value of server-id needs to be unique on each host( do not use 0 ).&lt;br /&gt;
&lt;br /&gt;
Make sure it is in the [mysqld] section&lt;br /&gt;
&lt;br /&gt;
  log-bin&lt;br /&gt;
  server-id=&#039;&#039;[UniqueId]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  [root@TL-CENTOS64-02 tblab]# cat /etc/my.cnf&lt;br /&gt;
  [mysqld]&lt;br /&gt;
  datadir=/var/lib/mysql&lt;br /&gt;
  socket=/var/lib/mysql/mysql.sock&lt;br /&gt;
  user=mysql&lt;br /&gt;
  log-bin&lt;br /&gt;
  server-id=1&lt;br /&gt;
  # Default to using old password format for compatibility with mysql 3.x&lt;br /&gt;
  # clients (those using the mysqlclient10 compatibility package).&lt;br /&gt;
  old_passwords=1&lt;br /&gt;
  &lt;br /&gt;
  [mysqld_safe]&lt;br /&gt;
  log-error=/var/log/mysqld.log&lt;br /&gt;
  pid-file=/var/run/mysqld/mysqld.pid&lt;br /&gt;
  [root@TL-CENTOS64-02 tblab]#&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reboot the mysql service&lt;br /&gt;
&lt;br /&gt;
 service mysqld restart&lt;br /&gt;
&lt;br /&gt;
=== Toolpack System Web Portal ===&lt;br /&gt;
&lt;br /&gt;
The Toolpack System Web Portal is required in order to host the Toolpack Web Portal. It requires the execution of all following commands:&lt;br /&gt;
&lt;br /&gt;
1. Manually install fcgi:&lt;br /&gt;
&lt;br /&gt;
  wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/fcgi-2.4.0.tar.gz&lt;br /&gt;
  tar -xzf fcgi-2.4.0.tar.gz&lt;br /&gt;
  cd fcgi-2.4.0&lt;br /&gt;
  ./configure&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  cd ../&lt;br /&gt;
&lt;br /&gt;
2. Install pcre:&lt;br /&gt;
&lt;br /&gt;
  yum install pcre&lt;br /&gt;
&lt;br /&gt;
3. Install lighttpd:&lt;br /&gt;
&lt;br /&gt;
3a. For 32 bits sytem:&lt;br /&gt;
&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-1.4.20-6.el4.i386.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/spawn-fcgi-1.4.20-6.el4.i386.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-fastcgi-1.4.20-6.el4.i386.rpm&lt;br /&gt;
  rpm -ivh lighttpd-1.4.20-6.el4.i386.rpm lighttpd-fastcgi-1.4.20-6.el4.i386.rpm spawn-fcgi-1.4.20-6.el4.i386.rpm&lt;br /&gt;
&lt;br /&gt;
3b. For 64 bits sytem:&lt;br /&gt;
&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-1.4.20-6.el4.x86_64.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/spawn-fcgi-1.4.20-6.el4.x86_64.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-fastcgi-1.4.20-6.el4.x86_64.rpm&lt;br /&gt;
  rpm -ivh lighttpd-1.4.20-6.el4.x86_64.rpm lighttpd-fastcgi-1.4.20-6.el4.x86_64.rpm spawn-fcgi-1.4.20-6.el4.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
4. Install Ruby:&lt;br /&gt;
  &lt;br /&gt;
  yum install tcl-devel&lt;br /&gt;
  yum install tk-devel&lt;br /&gt;
  yum install xorg-X11-devel&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/ruby-1.8.6.114-1.fc7.src.rpm&lt;br /&gt;
  rpm -i ruby-1.8.6.114-1.fc7.src.rpm&lt;br /&gt;
  pushd .&lt;br /&gt;
  cd /usr/src/redhat/SPECS&lt;br /&gt;
  vi ruby.spec&lt;br /&gt;
  &lt;br /&gt;
     Replace the dependency &amp;quot;libX11-devel&amp;quot; by &amp;quot;xorg-x11-devel&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  rpmbuild -ba ruby.spec&lt;br /&gt;
&lt;br /&gt;
6. Manually install rubygems:&lt;br /&gt;
&lt;br /&gt;
  wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/rubygems-0.9.0.tgz&lt;br /&gt;
  tar -xzf rubygems-0.9.0.tgz&lt;br /&gt;
  cd rubygems-0.9.0&lt;br /&gt;
  ruby setup.rb&lt;br /&gt;
  cd ../&lt;br /&gt;
&lt;br /&gt;
7. Install gem fcgi:&lt;br /&gt;
&lt;br /&gt;
  gem install fcgi&lt;br /&gt;
&lt;br /&gt;
In case the gem file is corrupted (or the site is unavailable), follow the following guidelines to compile the gem directly:&lt;br /&gt;
  &lt;br /&gt;
   wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/ruby-fcgi-0.8.7.tar.gz&lt;br /&gt;
   tar -xzvf ruby-fcgi-0.8.7.tar.gz&lt;br /&gt;
   cd ruby-fcgi-0.8.7&lt;br /&gt;
   ruby install.rb config&lt;br /&gt;
   ruby install.rb setup&lt;br /&gt;
   ruby install.rb install&lt;br /&gt;
   cd ../&lt;br /&gt;
&lt;br /&gt;
8. Install libxml:&lt;br /&gt;
&lt;br /&gt;
8a. For 32 bits sytem:&lt;br /&gt;
&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/libxml2-2.6.16-12.i386.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/libxml2-devel-2.6.16-12.i386.rpm&lt;br /&gt;
  rpm -ivh libxml2-2.6.16-12.i386.rpm libxml2-devel-2.6.16-12.i386.rpm&lt;br /&gt;
&lt;br /&gt;
8b. For 64 bits sytem:&lt;br /&gt;
&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/libxml2-2.6.16-12.x86_64.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/libxml2-devel-2.6.16-12.x86_64.rpm&lt;br /&gt;
  rpm -ivh libxml2-2.6.16-12.x86_64.rpm libxml2-devel-2.6.16-12.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Make sure that the firewall enables these following services and ports. Failure to open those ports will render socket communication between the distributed software elements unavailable.&lt;br /&gt;
Service: http (12358/tcp)&lt;br /&gt;
Port: All ports (tcp/udp) enabled for local networks&lt;br /&gt;
&lt;br /&gt;
=== Toolpack Development Prerequisite ===&lt;br /&gt;
The Toolpack System Development prerequisite section is only required for customers that will develop their own application using the Toolpack API:&lt;br /&gt;
&lt;br /&gt;
  yum install gcc-c++&lt;br /&gt;
  yum install unixODBC-devel&lt;br /&gt;
  yum install zlib-devel&lt;br /&gt;
&lt;br /&gt;
== Validation Guide (Optional) ==&lt;br /&gt;
If you would like to verify your installation go to the [[Toolpack_Installation:Validate_Toolpack_Installation|Toolpack Validation Guide]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Toolpack System installation ==&lt;br /&gt;
&lt;br /&gt;
Now that the prerequisite are installed, now it is time to install the [[toolpack_installer_2-3|Toolpack system]]&lt;/div&gt;</summary>
		<author><name>10.0.1.11</name></author>
	</entry>
	<entry>
		<id>https://docs.telcobridges.com/w/index.php?title=Toolpack_prerequisite_CentOS4_2-3&amp;diff=750</id>
		<title>Toolpack prerequisite CentOS4 2-3</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/w/index.php?title=Toolpack_prerequisite_CentOS4_2-3&amp;diff=750"/>
		<updated>2009-06-04T23:36:44Z</updated>

		<summary type="html">&lt;p&gt;10.0.1.11: /* Toolpack Development Prerequisite */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page shows the Toolpack 2-3 prerequisites for CentOS 4.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Toolpack Prerequisite ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Toolpack Basic packages ===&lt;br /&gt;
&lt;br /&gt;
The software listed below is required by the host machines.&lt;br /&gt;
&lt;br /&gt;
  yum install gcc&lt;br /&gt;
  yum install zlib-devel&lt;br /&gt;
&lt;br /&gt;
=== Toolpack System Database ===&lt;br /&gt;
&lt;br /&gt;
The Toolpack system database is used by the main host and requires mySQL database server. The &lt;br /&gt;
system database packages are as follows:&lt;br /&gt;
&lt;br /&gt;
a. For 32 bits sytem:&lt;br /&gt;
&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysql-server-5.0.68-1.el4_6.i386.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysql-devel-5.0.68-1.el4_6.i386.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysql-5.0.68-1.el4_6.i386.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysql-libs-5.0.68-1.el4_6.i386.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/perl-DBD-MySQL-2.9004-3.1.centos4.i386.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysqlclient14-4.1.22-1.el4s1.1.i386.rpm&lt;br /&gt;
  rpm -ivh mysql-server-5.0.68-1.el4_6.i386.rpm mysql-devel-5.0.68-1.el4_6.i386.rpm mysql-5.0.68-1.el4_6.i386.rpm mysql-libs-5.0.68-1.el4_6.i386.rpm perl-DBD-MySQL-2.9004-3.1.centos4.i386.rpm mysqlclient14-4.1.22-1.el4s1.1.i386.rpm&lt;br /&gt;
&lt;br /&gt;
b. For 64 bits sytem:&lt;br /&gt;
&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysql-server-5.0.68-1.el4_6.x86_64.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysql-devel-5.0.68-1.el4_6.x86_64.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysql-5.0.68-1.el4_6.x86_64.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysql-libs-5.0.68-1.el4_6.x86_64.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/perl-DBD-MySQL-2.9004-3.1.centos4.x86_64.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/mysqlclient14-4.1.22-1.el4s1.1.x86_64.rpm&lt;br /&gt;
  rpm -ivh mysql-server-5.0.68-1.el4_6.x86_64.rpm mysql-devel-5.0.68-1.el4_6.x86_64.rpm mysql-5.0.68-1.el4_6.x86_64.rpm mysql-libs-5.0.68-1.el4_6.x86_64.rpm perl-DBD-MySQL-2.9004-3.1.centos4.x86_64.rpm mysqlclient14-4.1.22-1.el4s1.1.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, install the encryption package.&lt;br /&gt;
&lt;br /&gt;
  yum install openssl&lt;br /&gt;
&lt;br /&gt;
Depending on the CentOS installation, the command paths for the database (i.e. mysql_install_db, mysqladmin, mysql) and system tools (chkconfig, service, etc) may not be included in the active PATH environment variable. MySql is usually installed in /usr/bin and system tools in sbin.&lt;br /&gt;
&lt;br /&gt;
1. start and enable mysql&lt;br /&gt;
&lt;br /&gt;
  chkconfig mysqld on&lt;br /&gt;
  service mysqld start&lt;br /&gt;
&lt;br /&gt;
2. Install the database.&lt;br /&gt;
&lt;br /&gt;
  mysql_install_db&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Log onto mysql, create a tbdb user. The &#039;&#039;[HostName]&#039;&#039;, &#039;&#039;[DatabaseUsername]&#039;&#039; and &#039;&#039;[DatabasePassword]&#039;&#039; will need to be supplied to the toolpack installer.&lt;br /&gt;
If you cannot log in it is possible that the host name is not configure properly, use an IP Address instead of the &#039;&#039;[HostName]&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
  mysql -u root -h &#039;[HostName]&#039; -p&lt;br /&gt;
  CREATE USER &#039;[DatabaseUsername]&#039;@&#039;%&#039; IDENTIFIED BY &#039;[DatabasePassword]&#039;;&lt;br /&gt;
  GRANT ALL PRIVILEGES ON *.* TO &#039;[DatabaseUsername]&#039;@&#039;%&#039; IDENTIFIED BY &#039;[DatabasePassword]&#039;;&lt;br /&gt;
  exit&lt;br /&gt;
&lt;br /&gt;
ex.&lt;br /&gt;
&lt;br /&gt;
  mysql -u root -h centos64-02 -p&lt;br /&gt;
  CREATE USER &#039;tbdb&#039;@&#039;%&#039; IDENTIFIED BY &#039;tbdbpw&#039;;&lt;br /&gt;
  GRANT ALL PRIVILEGES ON *.* TO &#039;tbdb&#039;@&#039;%&#039; IDENTIFIED BY &#039;tbdbpw&#039;;&lt;br /&gt;
  exit&lt;br /&gt;
&lt;br /&gt;
To verify if the user is created:&lt;br /&gt;
&lt;br /&gt;
  mysql -u root -p&lt;br /&gt;
  SELECT * FROM mysql.user;&lt;br /&gt;
  exit&lt;br /&gt;
&lt;br /&gt;
4. Retrieve the socket path (this command will give the path to the socket file).&lt;br /&gt;
&lt;br /&gt;
  mysql_config --socket&lt;br /&gt;
&lt;br /&gt;
5. Create a symbolic link to the path retrieve using the last command. &lt;br /&gt;
&lt;br /&gt;
  ln -s &amp;lt;PATH TAKEN FROM THE LAST CMD&amp;gt; /tmp/mysql.sock&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
  ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock&lt;br /&gt;
&lt;br /&gt;
6. Set the permission. Select option 7 (Create full privileges) for all database (*) on all hosts (%) for &lt;br /&gt;
the user &#039;&#039;[DatabaseUsername]&#039;&#039; (i.e. tbdb).&lt;br /&gt;
&lt;br /&gt;
  mysql_setpermission&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7.Install odbc driver and driver manager&lt;br /&gt;
&lt;br /&gt;
  yum install mysql-connector-odbc&lt;br /&gt;
&lt;br /&gt;
7a. For 32 bits sytem:&lt;br /&gt;
&lt;br /&gt;
  wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/linux/mysql-connector-odbc-3.51.27-linux-x86-32bit.tar.gz&lt;br /&gt;
  tar -zxf mysql-connector-odbc-3.51.27-linux-x86-32bit.tar.gz&lt;br /&gt;
  mkdir -p /lib/tb/toolpack/3rdparty/odbc-connector/&lt;br /&gt;
  cp mysql-connector-odbc-3.51.27-linux-x86-32bit/lib/libmyodbc3_r-3.51.27.so /lib/tb/toolpack/3rdparty/odbc-connector/&lt;br /&gt;
&lt;br /&gt;
7b. For 64 bits sytem:&lt;br /&gt;
&lt;br /&gt;
  wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/linux/mysql-connector-odbc-3.51.27-linux-x86-64bit.tar.gz&lt;br /&gt;
  tar -zxf mysql-connector-odbc-3.51.27-linux-x86-64bit.tar.gz&lt;br /&gt;
  mkdir -p /lib/tb/toolpack/3rdparty/odbc-connector/&lt;br /&gt;
  cp mysql-connector-odbc-3.51.27-linux-x86-64bit/lib/libmyodbc3_r-3.51.27.so /lib/tb/toolpack/3rdparty/odbc-connector/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Manually configure the odbc manager. Make sure mysql driver is enable(removing the comments for the mysql driver). Set the Driver as the previous command answer.&lt;br /&gt;
&lt;br /&gt;
  vim /etc/odbcinst.ini &lt;br /&gt;
&lt;br /&gt;
Here is an example:&lt;br /&gt;
&lt;br /&gt;
  # Driver from the MyODBC package&lt;br /&gt;
  # Setup from the unixODBC package&lt;br /&gt;
  [MySQL]&lt;br /&gt;
  Description     = ODBC for MySQL&lt;br /&gt;
  Driver          = /lib/tb/toolpack/3rdparty/odbc-connector/libmyodbc3_r-3.51.27.so&lt;br /&gt;
  Setup           = /usr/lib/libodbcmyS.so&lt;br /&gt;
  FileUsage       = 1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9. Configure mysql to support database replication (Will not interfere if your system do not use it).&lt;br /&gt;
&lt;br /&gt;
  vim /etc/my.cnf&lt;br /&gt;
&lt;br /&gt;
Add 2 new variable in the mysql config file&lt;br /&gt;
&lt;br /&gt;
Add log-bin and server-id. The value of server-id needs to be unique on each host( do not use 0 ).&lt;br /&gt;
&lt;br /&gt;
Make sure it is in the [mysqld] section&lt;br /&gt;
&lt;br /&gt;
  log-bin&lt;br /&gt;
  server-id=&#039;&#039;[UniqueId]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  [root@TL-CENTOS64-02 tblab]# cat /etc/my.cnf&lt;br /&gt;
  [mysqld]&lt;br /&gt;
  datadir=/var/lib/mysql&lt;br /&gt;
  socket=/var/lib/mysql/mysql.sock&lt;br /&gt;
  user=mysql&lt;br /&gt;
  log-bin&lt;br /&gt;
  server-id=1&lt;br /&gt;
  # Default to using old password format for compatibility with mysql 3.x&lt;br /&gt;
  # clients (those using the mysqlclient10 compatibility package).&lt;br /&gt;
  old_passwords=1&lt;br /&gt;
  &lt;br /&gt;
  [mysqld_safe]&lt;br /&gt;
  log-error=/var/log/mysqld.log&lt;br /&gt;
  pid-file=/var/run/mysqld/mysqld.pid&lt;br /&gt;
  [root@TL-CENTOS64-02 tblab]#&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reboot the mysql service&lt;br /&gt;
&lt;br /&gt;
 service mysqld restart&lt;br /&gt;
&lt;br /&gt;
=== Toolpack System Web Portal ===&lt;br /&gt;
&lt;br /&gt;
The Toolpack System Web Portal is required in order to host the Toolpack Web Portal. It requires the execution of all following commands:&lt;br /&gt;
&lt;br /&gt;
1. Manually install fcgi:&lt;br /&gt;
&lt;br /&gt;
  wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/fcgi-2.4.0.tar.gz&lt;br /&gt;
  tar -xzf fcgi-2.4.0.tar.gz&lt;br /&gt;
  cd fcgi-2.4.0&lt;br /&gt;
  ./configure&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  cd ../&lt;br /&gt;
&lt;br /&gt;
2. Install pcre:&lt;br /&gt;
&lt;br /&gt;
  yum install pcre&lt;br /&gt;
&lt;br /&gt;
3. Install lighttpd:&lt;br /&gt;
&lt;br /&gt;
3a. For 32 bits sytem:&lt;br /&gt;
&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-1.4.20-6.el4.i386.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/spawn-fcgi-1.4.20-6.el4.i386.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-fastcgi-1.4.20-6.el4.i386.rpm&lt;br /&gt;
  rpm -ivh lighttpd-1.4.20-6.el4.i386.rpm lighttpd-fastcgi-1.4.20-6.el4.i386.rpm spawn-fcgi-1.4.20-6.el4.i386.rpm&lt;br /&gt;
&lt;br /&gt;
3b. For 64 bits sytem:&lt;br /&gt;
&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-1.4.20-6.el4.x86_64.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/spawn-fcgi-1.4.20-6.el4.x86_64.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-fastcgi-1.4.20-6.el4.x86_64.rpm&lt;br /&gt;
  rpm -ivh lighttpd-1.4.20-6.el4.x86_64.rpm lighttpd-fastcgi-1.4.20-6.el4.x86_64.rpm spawn-fcgi-1.4.20-6.el4.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
4. Install Ruby:&lt;br /&gt;
&lt;br /&gt;
4a. For 32 bits sytem:&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/ruby-1.8.1-7.EL4.8.1.i386.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/ruby-devel-1.8.1-7.el4_7.2.i386.rpm&lt;br /&gt;
  rpm -ivh ruby-1.8.1-7.EL4.8.1.i386.rpm ruby-devel-1.8.1-7.el4_7.2.i386.rpm&lt;br /&gt;
&lt;br /&gt;
4b. For 64 bits sytem:&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/ruby-1.8.1-7.EL4.8.1.x86_64.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/ruby-devel-1.8.1-7.el4_7.2.x86_64.rpm&lt;br /&gt;
  rpm -ivh ruby-1.8.1-7.EL4.8.1.x86_64.rpm ruby-devel-1.8.1-7.el4_7.2.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Manually install rubygems:&lt;br /&gt;
&lt;br /&gt;
  wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/rubygems-0.9.0.tgz&lt;br /&gt;
  tar -xzf rubygems-0.9.0.tgz&lt;br /&gt;
  cd rubygems-0.9.0&lt;br /&gt;
  ruby setup.rb&lt;br /&gt;
  cd ../&lt;br /&gt;
&lt;br /&gt;
7. Install gem fcgi:&lt;br /&gt;
&lt;br /&gt;
  gem install fcgi&lt;br /&gt;
&lt;br /&gt;
In case the gem file is corrupted (or the site is unavailable), follow the following guidelines to compile the gem directly:&lt;br /&gt;
  &lt;br /&gt;
   wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/ruby-fcgi-0.8.7.tar.gz&lt;br /&gt;
   tar -xzvf ruby-fcgi-0.8.7.tar.gz&lt;br /&gt;
   cd ruby-fcgi-0.8.7&lt;br /&gt;
   ruby install.rb config&lt;br /&gt;
   ruby install.rb setup&lt;br /&gt;
   ruby install.rb install&lt;br /&gt;
   cd ../&lt;br /&gt;
&lt;br /&gt;
8. Install libxml:&lt;br /&gt;
&lt;br /&gt;
8a. For 32 bits sytem:&lt;br /&gt;
&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/libxml2-2.6.16-12.i386.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/libxml2-devel-2.6.16-12.i386.rpm&lt;br /&gt;
  rpm -ivh libxml2-2.6.16-12.i386.rpm libxml2-devel-2.6.16-12.i386.rpm&lt;br /&gt;
&lt;br /&gt;
8b. For 64 bits sytem:&lt;br /&gt;
&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/libxml2-2.6.16-12.x86_64.rpm&lt;br /&gt;
  wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/libxml2-devel-2.6.16-12.x86_64.rpm&lt;br /&gt;
  rpm -ivh libxml2-2.6.16-12.x86_64.rpm libxml2-devel-2.6.16-12.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Make sure that the firewall enables these following services and ports. Failure to open those ports will render socket communication between the distributed software elements unavailable.&lt;br /&gt;
Service: http (12358/tcp)&lt;br /&gt;
Port: All ports (tcp/udp) enabled for local networks&lt;br /&gt;
&lt;br /&gt;
=== Toolpack Development Prerequisite ===&lt;br /&gt;
The Toolpack System Development prerequisite section is only required for customers that will develop their own application using the Toolpack API:&lt;br /&gt;
&lt;br /&gt;
  yum install gcc-c++&lt;br /&gt;
  yum install unixODBC-devel&lt;br /&gt;
  yum install zlib-devel&lt;br /&gt;
&lt;br /&gt;
== Validation Guide (Optional) ==&lt;br /&gt;
If you would like to verify your installation go to the [[Toolpack_Installation:Validate_Toolpack_Installation|Toolpack Validation Guide]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Toolpack System installation ==&lt;br /&gt;
&lt;br /&gt;
Now that the prerequisite are installed, now it is time to install the [[toolpack_installer_2-3|Toolpack system]]&lt;/div&gt;</summary>
		<author><name>10.0.1.11</name></author>
	</entry>
</feed>