Toolpack Installation:toolpack validate Fedora Core8 2-5

From TBwiki
Jump to: navigation, search

If any of those steps fails, refer to the Fedora Core 8 installation guide

Contents

Yum Packages

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

Output (Depending of the architecture, it is possible that you see 2 packages version installed):

 [root@srv-test-install-fc8-x32-1 tblab]# yum list installed zlib-devel gcc mysql-server mysql-devel mysql-connector-odbc fcgi fcgi-devel lighttpd lighttpd-fastcgi pcre libxml2 openssl-devel libpcap
 Installed Packages
 fcgi.i386                                2.4.0-4.fc8            installed
 fcgi-devel.i386                          2.4.0-4.fc8            installed
 gcc.i386                                 4.1.2-33               installed
 libpcap.i386                             14:0.9.7-3.fc8         installed
 libxml2.i386                             2.6.30-1               installed
 lighttpd.i386                            1.4.18-1.fc8           installed
 lighttpd-fastcgi.i386                    1.4.18-1.fc8           installed
 mysql-connector-odbc.i386                3.51.14r248-2.fc8      installed
 mysql-devel.i386                         5.0.45-4.fc8           installed
 mysql-server.i386                        5.0.45-4.fc8           installed
 openssl-devel.i386                       0.9.8b-17.fc8          installed
 pcre.i386                                7.3-1                  installed
 zlib-devel.i386                          1.2.3-14.fc8           installed
 [root@srv-test-install-fc8-x32-1 tblab]#

3rd party manual installation

ruby

  • ruby version should be 1.8.7

Example:

 [root@srv-test-install-fc8-x32-1 tblab]# ruby --version
 ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]
 [root@srv-test-install-fc8-x32-1 tblab]#

rubygems

  • rubygems version should be 1.3.5

Example:

 [root@srv-test-install-fc8-x32-1 tblab]# gem --version
 1.3.5
 [root@srv-test-install-fc8-x32-1 tblab]#

gem Installation

  • execute the following command:
 gem list --local
Result should contain:
 [root@srv-test-install-fc8-x32-1 tblab]# gem list --local
 
 *** LOCAL GEMS ***
 
 fcgi (0.8.8)
 [root@srv-test-install-fc8-x32-1 tblab]#

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