Toolpack prerequisite CentOS5 2-5 manual
This page shows how to manually install the prerequisites for Toolpack 2-5 on CentOS 5.x (instead of using the repository procedure)
Toolpack Prerequisites
Toolpack Basic packages
The software listed below is required by the host machines.
yum install gcc zlib-devel gdbmToolpack System Database
The Toolpack system database is used by the main host and requires mySQL database server. The system database packages are as follows:
yum install mysql-server mysql-develDepending 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.
start and enable mysql
/sbin/chkconfig mysqld on /sbin/service mysqld start
Setup initial database root password
/usr/bin/mysqladmin -u root password tbdbpw
IMPORTANT: Please read the 'Securing the Initial MySQL Accounts' article to learn how to manage users and privileges.
Install the database.
mysql_install_db
Configure MySQL Users
Set password for the root user to 'tbdbpw' (TelcoBridges recommends that you set your own password for root)
Enable root connection from localhost only
Create a tbdb user (required by Toolpack)
Remove anonymous connection
Example:
To verify if the user is created:
5.Install odbc driver and driver manager
5a. For 32 bits system:
5b. For 64 bits system:
6. 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.
Here is an example:
Driver from the MyODBC package
Setup from the unixODBC package [MySQL] <----- This line must NOT start with a '#' Description = ODBC for MySQL Driver = /lib/tb/toolpack/3rdparty/odbc-connector/libmyodbc3_r-3.51.27.so Setup = /usr/lib/libodbcmyS.so FileUsage = 1
Configure mysql to support database replication (Will not interfere if your system do not use it).
vim /etc/my.cnf
Add 2 new variable in the mysql config file
Add log-bin and server-id. The value of server-id needs to be unique on each host( do not use 0 ).
Make sure it is in the [mysqld] section
Added to remove mysql dependency on DNS/nameserver skip-name-resolve
Example:
Added to remove mysql dependency on DNS/nameserver skip-name-resolve
Default to using old password format for compatibility with mysql 3.x
clients (those using the mysqlclient10 compatibility package). old_passwords=1
[mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid [root@TL-CENTOS64-02 tblab]#
Reboot the mysql service
Toolpack System Web Portal
The Toolpack System Web Portal is required in order to host the Toolpack Web Portal. It requires the execution of all following commands:
Manually install fcgi:
wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/fcgi-2.4.0.tar.gz tar -xzf fcgi-2.4.0.tar.gz cd fcgi-2.4.0 ./configure make make install cd ../
Install the following packages:
yum install pcre libxml2 openssl-devel bzip2-libs
Install lighttpd:
3a. For 32 bits sytem:
3b. For 64 bits sytem:
4. Install ruby wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/ruby-1.8.7-p299.tar.gz tar -zxf ruby-1.8.7-p299.tar.gz cd ruby-1.8.7-p299
For 32 bits system: ./configure --libdir=/usr/local/lib --enable-shared
For 64 bits system: ./configure --libdir=/usr/local/lib64 --enable-shared
Then, execute the following for either 32 or 64 bits system: make make install cd ext/openssl/ ruby extconf.rb make make install cd ../../.. ln -s /usr/local/bin/ruby /usr/bin/ruby
For 32 bits system: ln -s /usr/local/lib/libruby.so.1.8 /lib/libruby.so.1.8
For 64 bits system: ln -s /usr/local/lib64/libruby.so.1.8 /lib64/libruby.so.1.8
Install RubyGems 1.3.7
wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/rubygems-1.3.7.tgz tar -zxf rubygems-1.3.7.tgz cd rubygems-1.3.7 ruby setup.rb cd ..
Install gem fcgi
/usr/local/bin/gem install fcgi
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.
Service: http (12358/tcp)
Port: All ports (tcp/udp) enabled for local networks
Make sure that SELinux is disabled.
Toolpack Stream Server
The Tmedia Toolpack Stream Server requires the execution of the following commands:
Toolpack Development Prerequisite
The Toolpack System Development prerequisite section is only required for customers that will develop their own application using the Toolpack API:
Validation Guide (highly recommended)
If you would like to verify your installation go to the Toolpack Validation Guide
Toolpack System installation
Now that the prerequisite are installed, now it is time to install the Toolpack system
Last updated
Was this helpful?

