Toolpack Installation:toolpack validate CentOS5 2-5 manual

From TBwiki
Jump to: navigation, search

If any of those steps fails, refer to the CentOS5 installation guide

Contents

Yum Packages

  • Validation of the following package on the system using yum:
 yum list installed gcc zlib-devel mysql-server mysql-devel mysql-connector-odbc pcre libxml2 openssl-devel libpcap

Output (Depending of the architecture, it is possible that only 1 package version is installed):

 [root@srv-test-install-centos54-x64-1 tblab]# yum list installed gcc zlib-devel mysql-server mysql-devel mysql-connector-odbc pcre libxml2 openssl-devel libpcap
 Installed Packages
 gcc.x86_64                                                            4.1.2-46.el5_4.2                                             installed
 libpcap.i386                                                          14:0.9.4-14.el5                                              installed
 libpcap.x86_64                                                        14:0.9.4-14.el5                                              installed
 libxml2.i386                                                          2.6.26-2.1.2.8                                               installed
 libxml2.x86_64                                                        2.6.26-2.1.2.8                                               installed
 mysql-connector-odbc.x86_64                                           3.51.26r1127-1.el5                                           installed
 mysql-devel.i386                                                      5.0.77-4.el5_4.2                                             installed
 mysql-devel.x86_64                                                    5.0.77-4.el5_4.2                                             installed
 mysql-server.x86_64                                                   5.0.77-4.el5_4.2                                             installed
 openssl-devel.i386                                                    0.9.8e-12.el5_4.6                                            installed
 openssl-devel.x86_64                                                  0.9.8e-12.el5_4.6                                            installed
 pcre.i386                                                             6.6-2.el5_1.7                                                installed
 pcre.x86_64                                                           6.6-2.el5_1.7                                                installed
 zlib-devel.i386                                                       1.2.3-3                                                      installed
 zlib-devel.x86_64                                                     1.2.3-3                                                      installed
 [root@srv-test-install-centos54-x64-1 tblab]#

3rd party manual installation

fcgi

  • Look for fcgi libraries
 find /usr/local/lib -name \*fcgi\*

Result should contain

 /usr/local/lib/libfcgi.a
 /usr/local/lib/libfcgi.so
 /usr/local/lib/libfcgi.so.0.0.0
 /usr/local/lib/libfcgi.la
 /usr/local/lib/libfcgi.so.0

lighttpd

  • lighttpd version should be 1.4.18
 [root@srv-test-install-centos54-x64-1 tblab]# lighttpd -v
 lighttpd-1.4.18 (ssl) - a light and fast webserver
 Build-Date: Oct  1 2007 23:50:36
 [root@srv-test-install-centos54-x64-1 tblab]#

ruby

  • ruby version should be 1.8.7

Example:

 [root@srv-test-install-centos4-x64-1 pkg]# ruby --version
 ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux]
 [root@srv-test-install-centos4-x64-1 pkg]#

rubygems

  • rubygems version should be 1.3.5

Example:

 [root@srv-test-install-centos4-x64-1 pkg]# gem --version
 1.3.5
 [root@srv-test-install-centos4-x64-1 pkg]#

gem Installation

  • execute the following command:
 gem list --local
Result should contain:
 *** LOCAL GEMS ***
 
 fcgi (0.8.8)
     FastCGI library for Ruby.
 
 sources (0.0.1)
     This package provides download sources for remote gem installation

ODBC Configuration

  • Verify that the following file exists:
ls -al /lib/tb/toolpack/3rdparty/odbc-connector/libmyodbc3_r-3.51.27.so
  • Verify odbc config file:
 cat /etc/odbcinst.ini
Result should contain:
 # 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

MySQL Configuration

  • Verify MySQL config file:
 cat /etc/my.cnf
Result should contain under [mysqld]:
 log-bin
 server-id=[UniqueId]

Note: server-id value may vary, but server-id needs to be a non-zero value and unique when using more than one host.

  • Verify if the server is running
 service mysqld status
Result:
 mysqld (pid 5101) is running...
Personal tools