Toolpack prerequisite CentOS5 2-5 manual

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(Creation)
 
m (skip-name-resolve must be with "dash")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page shows the Toolpack 2-5 prerequisites for CentOS 5.
+
This page shows how to manually install the prerequisites for Toolpack 2-5 on CentOS 5.x (instead of using the [[Toolpack_prerequisite_CentOS5_2-5| repository procedure]])
  
 +
<br>
  
== Toolpack Prerequisites ==
+
== Toolpack Prerequisites ==
 
+
  
=== Toolpack Basic packages ===
+
=== Toolpack Basic packages ===
  
The software listed below is required by the host machines.
+
The software listed below is required by the host machines.  
  
 
   yum install gcc zlib-devel gdbm
 
   yum install gcc zlib-devel gdbm
  
=== Toolpack System Database ===
+
=== Toolpack System Database ===
  
The Toolpack system database is used by the main host and requires mySQL database server. The  
+
The Toolpack system database is used by the main host and requires mySQL database server. The system database packages are as follows:  
system database packages are as follows:
+
  
 
   yum install mysql-server mysql-devel
 
   yum install mysql-server mysql-devel
  
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.
+
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.  
  
1. start and enable mysql
+
1. start and enable mysql  
  
 
   /sbin/chkconfig mysqld on
 
   /sbin/chkconfig mysqld on
  /sbin/service mysqld start
+
/sbin/service mysqld start
  
2. Setup initial database root password
+
2. Setup initial database root password  
  
   /usr/bin/mysqladmin -u root password ''new-password-1''
+
   /usr/bin/mysqladmin -u root password tbdbpw
  /usr/bin/mysqladmin -u root -p''new-password-1'' -h ''HostName'' password ''new-password-2''
+
  
'''IMPORTANT''': Please read the [http://dev.mysql.com/doc/refman/5.1/en/default-privileges.html 'Securing the Initial MySQL Accounts'] article to learn how to manage users and privileges.
+
'''IMPORTANT''': Please read the [http://dev.mysql.com/doc/refman/5.1/en/default-privileges.html 'Securing the Initial MySQL Accounts'] article to learn how to manage users and privileges.  
  
3. Install the database.
+
3. Install the database.  
  
 
   mysql_install_db
 
   mysql_install_db
  
 +
<br> 4. Configure MySQL Users
  
4. Log onto mysql, create a tbdb user. The ''[HostName]'', ''[DatabaseUsername]'' and ''[DatabasePassword]'' will need to be supplied to the toolpack installer.
+
*Set password for the root user to 'tbdbpw' (TelcoBridges recommends that you set your own password for root)
If you cannot log in it is possible that the host name is not configure properly, use an IP Address instead.
+
*Enable root connection from localhost only
 +
*Create a tbdb user (required by Toolpack)
 +
*Remove anonymous connection
  
  mysql -u root -p''new-password-1''
+
Example:
  CREATE USER '[DatabaseUsername]'@'%' IDENTIFIED BY '[DatabasePassword]';
+
  GRANT ALL PRIVILEGES ON *.* TO '[DatabaseUsername]'@'%' IDENTIFIED BY '[DatabasePassword]';
+
  FLUSH PRIVILEGES;
+
  exit
+
  
ex.
+
/usr/bin/mysqladmin -u root password tbdbpw
  
  mysql -u root -pMyDbRootPassword
+
mysql -uroot -ptbdbpw
  CREATE USER 'tbdb'@'%' IDENTIFIED BY 'tbdbpw';
+
DELETE FROM mysql.user WHERE&nbsp;!(Host = 'localhost' AND User = 'root');
  GRANT ALL PRIVILEGES ON *.* TO 'tbdb'@'%' IDENTIFIED BY 'tbdbpw';
+
FLUSH PRIVILEGES;
  FLUSH PRIVILEGES;
+
CREATE USER 'tbdb'@'%' IDENTIFIED BY 'tbdbpw';
  exit
+
GRANT ALL PRIVILEGES ON *.* TO 'tbdb'@'%' IDENTIFIED BY 'tbdbpw';
 +
FLUSH PRIVILEGES;
 +
exit
  
To verify if the user is created:
+
To verify if the user is created:  
  
  mysql -u root
+
mysql -uroot -ptbdbpw
  SELECT * FROM mysql.user;
+
SELECT * FROM mysql.user;
  exit
+
exit
  
5.Install odbc driver and driver manager
+
5.Install odbc driver and driver manager  
  
 
   yum install mysql-connector-odbc
 
   yum install mysql-connector-odbc
  
5a. For 32 bits system:
+
5a. For 32 bits system:  
  
 
   wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/linux/mysql-connector-odbc-3.51.27-linux-x86-32bit.tar.gz
 
   wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/linux/mysql-connector-odbc-3.51.27-linux-x86-32bit.tar.gz
  tar -zxf mysql-connector-odbc-3.51.27-linux-x86-32bit.tar.gz
+
tar -zxf mysql-connector-odbc-3.51.27-linux-x86-32bit.tar.gz
  mkdir -p /lib/tb/toolpack/3rdparty/odbc-connector/
+
mkdir -p /lib/tb/toolpack/3rdparty/odbc-connector/
  cp mysql-connector-odbc-3.51.27-linux-x86-32bit/lib/libmyodbc3_r-3.51.27.so /lib/tb/toolpack/3rdparty/odbc-connector/
+
cp mysql-connector-odbc-3.51.27-linux-x86-32bit/lib/libmyodbc3_r-3.51.27.so /lib/tb/toolpack/3rdparty/odbc-connector/
  
5b. For 64 bits system:
+
5b. For 64 bits system:  
  
 
   wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/linux/mysql-connector-odbc-3.51.27-linux-x86-64bit.tar.gz
 
   wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/linux/mysql-connector-odbc-3.51.27-linux-x86-64bit.tar.gz
  tar -zxf mysql-connector-odbc-3.51.27-linux-x86-64bit.tar.gz
+
tar -zxf mysql-connector-odbc-3.51.27-linux-x86-64bit.tar.gz
  mkdir -p /lib/tb/toolpack/3rdparty/odbc-connector/
+
mkdir -p /lib/tb/toolpack/3rdparty/odbc-connector/
  cp mysql-connector-odbc-3.51.27-linux-x86-64bit/lib/libmyodbc3_r-3.51.27.so /lib/tb/toolpack/3rdparty/odbc-connector/
+
cp mysql-connector-odbc-3.51.27-linux-x86-64bit/lib/libmyodbc3_r-3.51.27.so /lib/tb/toolpack/3rdparty/odbc-connector/
  
 
+
<br> 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.  
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.
+
  
 
   vim /etc/odbcinst.ini  
 
   vim /etc/odbcinst.ini  
  
Here is an example:
+
Here is an example:  
  
 
   # Driver from the MyODBC package
 
   # Driver from the MyODBC package
  # Setup from the unixODBC package
+
# Setup from the unixODBC package
  [MySQL]                                                  <----- This line must NOT start with a '#'
+
[MySQL]                                                  &lt;----- This line must NOT start with a '#'
  Description    = ODBC for MySQL
+
Description    = ODBC for MySQL
  Driver          = /lib/tb/toolpack/3rdparty/odbc-connector/libmyodbc3_r-3.51.27.so
+
Driver          = /lib/tb/toolpack/3rdparty/odbc-connector/libmyodbc3_r-3.51.27.so
  Setup          = /usr/lib/libodbcmyS.so
+
Setup          = /usr/lib/libodbcmyS.so
  FileUsage      = 1
+
FileUsage      = 1
  
 +
<br>
  
 
+
7. Configure mysql to support database replication (Will not interfere if your system do not use it).  
7. Configure mysql to support database replication (Will not interfere if your system do not use it).
+
  
 
   vim /etc/my.cnf
 
   vim /etc/my.cnf
  
Add 2 new variable in the mysql config file
+
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 ).
+
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
+
Make sure it is in the [mysqld] section  
  
 
   log-bin
 
   log-bin
  server-id=''[UniqueId]''
+
server-id=''[UniqueId]''
 +
 +
#Added to remove mysql dependency on DNS/nameserver
 +
skip-name-resolve
 +
  
 
+
<br> Example:  
Example:
+
  
 
   [root@TL-CENTOS64-02 tblab]# cat /etc/my.cnf
 
   [root@TL-CENTOS64-02 tblab]# cat /etc/my.cnf
  [mysqld]
+
[mysqld]
  datadir=/var/lib/mysql
+
datadir=/var/lib/mysql
  socket=/var/lib/mysql/mysql.sock
+
socket=/var/lib/mysql/mysql.sock
  user=mysql
+
user=mysql
  log-bin
+
log-bin
  server-id=1
+
server-id=1
  # Default to using old password format for compatibility with mysql 3.x
+
  # clients (those using the mysqlclient10 compatibility package).
+
#Added to remove mysql dependency on DNS/nameserver
  old_passwords=1
+
skip-name-resolve
 
+
  [mysqld_safe]
+
# Default to using old password format for compatibility with mysql 3.x
  log-error=/var/log/mysqld.log
+
# clients (those using the mysqlclient10 compatibility package).
  pid-file=/var/run/mysqld/mysqld.pid
+
old_passwords=1
  [root@TL-CENTOS64-02 tblab]#
+
 +
[mysqld_safe]
 +
log-error=/var/log/mysqld.log
 +
pid-file=/var/run/mysqld/mysqld.pid
 +
[root@TL-CENTOS64-02 tblab]#
  
 
+
<br> Reboot the mysql service  
Reboot the mysql service
+
  
 
  /sbin/service mysqld restart
 
  /sbin/service mysqld restart
Line 139: Line 143:
  
 
   wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/fcgi-2.4.0.tar.gz
 
   wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/fcgi-2.4.0.tar.gz
  tar -xzf fcgi-2.4.0.tar.gz
+
tar -xzf fcgi-2.4.0.tar.gz
  cd fcgi-2.4.0
+
cd fcgi-2.4.0
  ./configure
+
./configure
  make
+
make
  make install
+
make install
  cd ../
+
cd ../
  
2. Install pcre, libxml2 and openssl:  
+
2. Install the following packages:  
  
   yum install pcre libxml2 openssl-devel
+
   yum install pcre libxml2 openssl-devel bzip2-libs
  
 
3. Install lighttpd:  
 
3. Install lighttpd:  
Line 155: Line 159:
  
 
   wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-1.4.18-1.el5.rf.i386.rpm
 
   wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-1.4.18-1.el5.rf.i386.rpm
  wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-fastcgi-1.4.18-1.el5.rf.i386.rpm
+
wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-fastcgi-1.4.18-1.el5.rf.i386.rpm
  rpm -ivh lighttpd-1.4.18-1.el5.rf.i386.rpm lighttpd-fastcgi-1.4.18-1.el5.rf.i386.rpm
+
rpm -ivh lighttpd-1.4.18-1.el5.rf.i386.rpm lighttpd-fastcgi-1.4.18-1.el5.rf.i386.rpm
  
 
3b. For 64 bits sytem:  
 
3b. For 64 bits sytem:  
  
 
   wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-1.4.18-1.el5.rf.x86_64.rpm
 
   wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-1.4.18-1.el5.rf.x86_64.rpm
  wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-fastcgi-1.4.18-1.el5.rf.x86_64.rpm
+
wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-fastcgi-1.4.18-1.el5.rf.x86_64.rpm
  rpm -ivh lighttpd-1.4.18-1.el5.rf.x86_64.rpm lighttpd-fastcgi-1.4.18-1.el5.rf.x86_64.rpm
+
rpm -ivh lighttpd-1.4.18-1.el5.rf.x86_64.rpm lighttpd-fastcgi-1.4.18-1.el5.rf.x86_64.rpm
  
 
<br>  
 
<br>  
  
 
4. Install ruby  
 
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
  
4a. For 32 bits system:  
+
For 32 bits system:
 
+
  wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/ruby-1.8.7-p174.tar.gz
+
  tar -zxf ruby-1.8.7-p174.tar.gz
+
  cd ruby-1.8.7-p174
+
 
   ./configure --libdir=/usr/local/lib  --enable-shared
 
   ./configure --libdir=/usr/local/lib  --enable-shared
  make
 
  make install
 
  cd ext/openssl/
 
  ruby extconf.rb
 
  make
 
  make install
 
  cd ../../..
 
  ln -s /usr/local/bin/ruby /usr/bin/ruby
 
  ln -s /usr/local/lib/libruby.so.1.8 /lib/libruby.so.1.8
 
  
 +
For 64 bits system:
 +
./configure --libdir=/usr/local/lib64 --enable-shared
  
4b. For 64 bits system:  
+
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
  
  wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/ruby-1.8.7-p174.tar.gz
+
For 32 bits system:
  tar -zxf ruby-1.8.7-p174.tar.gz
+
ln -s /usr/local/lib/libruby.so.1.8 /lib/libruby.so.1.8
  cd ruby-1.8.7-p174
+
 
  ./configure --libdir=/usr/local/lib64 --enable-shared
+
For 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
+
 
   ln -s /usr/local/lib64/libruby.so.1.8 /lib64/libruby.so.1.8
 
   ln -s /usr/local/lib64/libruby.so.1.8 /lib64/libruby.so.1.8
  
<br> 5. Install RubyGems 1.3.5
+
<br> 5. Install RubyGems 1.3.7
  
   wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/rubygems-1.3.5.tgz
+
   wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/rubygems-1.3.7.tgz
  tar -zxf rubygems-1.3.5.tgz
+
tar -zxf rubygems-1.3.7.tgz
  cd rubygems-1.3.5
+
cd rubygems-1.3.7
  ruby setup.rb
+
ruby setup.rb
  cd ..
+
cd ..
  
 
6. Install gem fcgi  
 
6. Install gem fcgi  
Line 219: Line 215:
 
Port: All ports (tcp/udp) enabled for local networks  
 
Port: All ports (tcp/udp) enabled for local networks  
  
Make sure that SELinux is disabled.
+
Make sure that SELinux is disabled.  
  
=== Toolpack Stream Server ===
+
=== Toolpack Stream Server ===
  
The Tmedia Toolpack Stream Server requires the execution of the following commands:
+
The Tmedia Toolpack Stream Server requires the execution of the following commands:  
  
 
   yum install libpcap
 
   yum install libpcap
  
 +
<br>
  
=== Toolpack Development Prerequisite ===
+
=== Toolpack Development Prerequisite ===
The Toolpack System Development prerequisite section is only required for customers that will develop their own application using the Toolpack API:
+
 
 +
The Toolpack System Development prerequisite section is only required for customers that will develop their own application using the Toolpack API:  
  
 
   yum install gcc-c++ libxml2-devel libpcap-devel unixODBC-devel
 
   yum install gcc-c++ libxml2-devel libpcap-devel unixODBC-devel
  
 +
<br>
  
== Validation Guide (highly recommended) ==
+
== Validation Guide (highly recommended) ==
If you would like to verify your installation go to the [[Toolpack_Installation:Validate_Toolpack_Installation_2-5|Toolpack Validation Guide]]
+
  
 +
If you would like to verify your installation go to the [[Toolpack Installation:Validate Toolpack Installation 2-5|Toolpack Validation Guide]]
 +
 +
<br>
  
== Toolpack System installation ==
+
== Toolpack System installation ==
  
Now that the prerequisite are installed, now it is time to install the [[toolpack_installer_2-5|Toolpack system]]
+
Now that the prerequisite are installed, now it is time to install the [[Toolpack installer 2-5|Toolpack system]]

Latest revision as of 12:35, 9 January 2017

This page shows how to manually install the prerequisites for Toolpack 2-5 on CentOS 5.x (instead of using the repository procedure)


Contents

Toolpack Prerequisites

Toolpack Basic packages

The software listed below is required by the host machines.

 yum install gcc zlib-devel gdbm

Toolpack 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-devel

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.

1. start and enable mysql

 /sbin/chkconfig mysqld on
/sbin/service mysqld start

2. 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.

3. Install the database.

 mysql_install_db


4. 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:

/usr/bin/mysqladmin -u root password tbdbpw
mysql -uroot -ptbdbpw
DELETE FROM mysql.user WHERE !(Host = 'localhost' AND User = 'root');
FLUSH PRIVILEGES;
CREATE USER 'tbdb'@'%' IDENTIFIED BY 'tbdbpw';
GRANT ALL PRIVILEGES ON *.* TO 'tbdb'@'%' IDENTIFIED BY 'tbdbpw';
FLUSH PRIVILEGES;
exit

To verify if the user is created:

mysql -uroot -ptbdbpw
SELECT * FROM mysql.user;
exit

5.Install odbc driver and driver manager

 yum install mysql-connector-odbc

5a. For 32 bits system:

 wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/linux/mysql-connector-odbc-3.51.27-linux-x86-32bit.tar.gz
tar -zxf mysql-connector-odbc-3.51.27-linux-x86-32bit.tar.gz
mkdir -p /lib/tb/toolpack/3rdparty/odbc-connector/
cp mysql-connector-odbc-3.51.27-linux-x86-32bit/lib/libmyodbc3_r-3.51.27.so /lib/tb/toolpack/3rdparty/odbc-connector/

5b. For 64 bits system:

 wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/linux/mysql-connector-odbc-3.51.27-linux-x86-64bit.tar.gz
tar -zxf mysql-connector-odbc-3.51.27-linux-x86-64bit.tar.gz
mkdir -p /lib/tb/toolpack/3rdparty/odbc-connector/
cp mysql-connector-odbc-3.51.27-linux-x86-64bit/lib/libmyodbc3_r-3.51.27.so /lib/tb/toolpack/3rdparty/odbc-connector/


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.

 vim /etc/odbcinst.ini 

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


7. 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

 log-bin
server-id=[UniqueId]

#Added to remove mysql dependency on DNS/nameserver
skip-name-resolve


Example:

 [root@TL-CENTOS64-02 tblab]# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
log-bin
server-id=1

#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

/sbin/service mysqld restart

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:

1. 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 ../

2. Install the following packages:

 yum install pcre libxml2 openssl-devel bzip2-libs

3. Install lighttpd:

3a. For 32 bits sytem:

 wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-1.4.18-1.el5.rf.i386.rpm
wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-fastcgi-1.4.18-1.el5.rf.i386.rpm
rpm -ivh lighttpd-1.4.18-1.el5.rf.i386.rpm lighttpd-fastcgi-1.4.18-1.el5.rf.i386.rpm

3b. For 64 bits sytem:

 wget -c http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-1.4.18-1.el5.rf.x86_64.rpm
wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/lighttpd-fastcgi-1.4.18-1.el5.rf.x86_64.rpm
rpm -ivh lighttpd-1.4.18-1.el5.rf.x86_64.rpm lighttpd-fastcgi-1.4.18-1.el5.rf.x86_64.rpm


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


5. 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 ..

6. 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:

 yum install libpcap


Toolpack Development Prerequisite

The Toolpack System Development prerequisite section is only required for customers that will develop their own application using the Toolpack API:

 yum install gcc-c++ libxml2-devel libpcap-devel unixODBC-devel


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

Personal tools