Toolpack Installation:toolpack validate CentOS5 A

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(modify validation guide for new procedure)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
'''<big>Applies to version(s) v2.5 to v2.9</big>'''
 +
{{DISPLAYTITLE:Toolpack Install Validation for CentOS 5}}
 +
 
<span style="color:#B22222">
 
<span style="color:#B22222">
''WARNING'': The system must have gone through the [[Toolpack_prerequisite_CentOS5_2-5|CentOS Prerequisites Guides 2-5]]. If the system followed the [[Toolpack_prerequisite_CentOS5_2-5_manual|CentOS Prerequisites Guides 2-5 Manual]] page, please follow the [[Toolpack_Installation:toolpack_validate_CentOS5_2-5_manual |Validation for the Manual Procedure]] instead.
+
''WARNING'': The system must have gone through the [[Toolpack_prerequisite_CentOS5_A|CentOS 5 Prerequisites Guides]]. If the system followed the [[Toolpack_prerequisite_CentOS5_2-5_manual|CentOS Prerequisites Guides 2-5 Manual]] page, please follow the [[Toolpack_Installation:toolpack_validate_CentOS5_2-5_manual |Validation for the Manual Procedure]] instead.
 
</span>
 
</span>
  
Line 8: Line 11:
  
  
If any of those steps fails, refer to the [[Toolpack_prerequisite_CentOS5_2-5|CentOS5 installation guide]]
+
If any of those steps fails, refer to the [[Toolpack_prerequisite_CentOS5_A|CentOS 5 Prerequisites Guides]]
  
 
== Yum Packages ==
 
== Yum Packages ==
  
 
*Validation of the following package on the system using yum:
 
*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
+
yum list installed mysql-devel zlib-devel rubygems ruby-devel libxml2-devel lighttpd lighttpd-fastcgi fcgi mysql-server mysql-connector-odbc ruby unixODBC-devel rubygem-fcgi
  
 
Output (Depending of the architecture, it is possible that only 1 package version is installed):  
 
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
+
[root@srv-test-install-centos54-x64-1 tblab]# yum list installed mysql-devel zlib-devel rubygems ruby-devel libxml2-devel lighttpd lighttpd-fastcgi fcgi mysql-server mysql-connector-odbc ruby unixODBC-devel rubygem-fcgi
  Installed Packages
+
Installed Packages
  gcc.x86_64                                                            4.1.2-46.el5_4.2                                            installed
+
fcgi.i386                                                          2.4.0-12.el5                                                   installed
  libpcap.i386                                                          14:0.9.4-14.el5                                             installed
+
fcgi.x86_64                                                         2.4.0-12.el5                                                   installed
  libpcap.x86_64                                                       14:0.9.4-14.el5                                             installed
+
libxml2-devel.i386                                                 2.6.26-2.1.2.8.el5_5.1                                        installed
  libxml2.i386                                                         2.6.26-2.1.2.8                                               installed
+
libxml2-devel.x86_64                                               2.6.26-2.1.2.8.el5_5.1                                        installed
  libxml2.x86_64                                                       2.6.26-2.1.2.8                                              installed
+
lighttpd.i386                                                      1.4.18-1.rf                                                    installed
  mysql-connector-odbc.x86_64                                           3.51.26r1127-1.el5                                           installed
+
lighttpd.x86_64                                                    1.4.18-1.rf                                                    installed
  mysql-devel.i386                                                     5.0.77-4.el5_4.2                                            installed
+
lighttpd-fastcgi.i386                                               1.4.18-1.rf                                                    installed
  mysql-devel.x86_64                                                   5.0.77-4.el5_4.2                                            installed
+
lighttpd-fastcgi.x86_64                                            1.4.18-1.rf                                                    installed
  mysql-server.x86_64                                                   5.0.77-4.el5_4.2                                            installed
+
mysql-connector-odbc.i386                                           5.1.5r1144-8.el5                                              installed
  openssl-devel.i386                                                   0.9.8e-12.el5_4.6                                            installed
+
mysql-connector-odbc.x86_64                                        5.1.5r1144-8.el5                                               installed
  openssl-devel.x86_64                                                 0.9.8e-12.el5_4.6                                            installed
+
mysql-devel.i386                                                   5.1.47-5.el5                                                  installed
  pcre.i386                                                             6.6-2.el5_1.7                                               installed
+
mysql-devel.x86_64                                                 5.1.47-5.el5                                                  installed
  pcre.x86_64                                                           6.6-2.el5_1.7                                               installed
+
mysql-server.x86_64                                                 5.1.47-5.el5                                                  installed
  zlib-devel.i386                                                       1.2.3-3                                                      installed
+
ruby.i386                                                          1.8.7.299-4.el5                                                installed
  zlib-devel.x86_64                                                     1.2.3-3                                                      installed
+
ruby.x86_64                                                        1.8.7.299-4.el5                                                installed
  [root@srv-test-install-centos54-x64-1 tblab]#
+
ruby-devel.i386                                                     1.8.7.299-4.el5                                                installed
 +
ruby-devel.x86_64                                                   1.8.7.299-4.el5                                                installed
 +
rubygem-fcgi.x86_64                                                0.8.7-1.el5                                                    installed
 +
rubygems.noarch                                                    1.3.7-1.el5                                                    installed
 +
unixODBC-devel.i386                                                 2.2.11-7.1                                                    installed
 +
unixODBC-devel.x86_64                                               2.2.11-7.1                                                    installed
 +
zlib-devel.i386                                                     1.2.3-4                                                        installed
 +
zlib-devel.x86_64                                                   1.2.3-4                                                        installed
 +
[root@srv-test-install-centos54-x64-1 tblab]#
  
== 3rd party manual installation ==
+
'''NOTE''': If the version of 1 or more packages doesn't match, please update your system using the command:
  
=== fcgi ===
+
yum clean metadata
*Look for fcgi libraries
+
yum update
  find /usr/lib -name \*fcgi\*
+
 
Result should contain
+
== Verify 3rd Party Software Version ==
  /usr/lib/libfcgi.a
+
  /usr/lib/libfcgi.so
+
  /usr/lib/libfcgi.so.0.0.0
+
  /usr/lib/libfcgi.la
+
  /usr/lib/libfcgi.so.0
+
  
 
=== lighttpd ===
 
=== lighttpd ===
 
*lighttpd version should be 1.4.18 or higher
 
*lighttpd version should be 1.4.18 or higher
  [root@srv-test-install-centos54-x64-1 tblab]# lighttpd -v
+
[root@srv-test-install-centos54-x64-1 tblab]# lighttpd -v
  lighttpd-1.4.18 (ssl) - a light and fast webserver
+
lighttpd-1.4.18 (ssl) - a light and fast webserver
  Build-Date: Nov 29 2010 18:05:08
+
Build-Date: Nov 29 2010 18:05:08
  [root@srv-test-install-centos54-x64-1 tblab]#
+
[root@srv-test-install-centos54-x64-1 tblab]#
  
 
=== ruby ===
 
=== ruby ===
 
*ruby version should be 1.8.7 or higher
 
*ruby version should be 1.8.7 or higher
 
Example:
 
Example:
  [root@srv-test-install-centos4-x64-1 pkg]# ruby --version
+
[root@srv-test-install-centos4-x64-1 pkg]# ruby --version
  ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux]
+
ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux]
  [root@srv-test-install-centos4-x64-1 pkg]#
+
[root@srv-test-install-centos4-x64-1 pkg]#
  
 
=== rubygems ===
 
=== rubygems ===
 
*rubygems version should be 1.3.7 or higher
 
*rubygems version should be 1.3.7 or higher
 
Example:
 
Example:
  [root@srv-test-install-centos4-x64-1 pkg]# gem --version
+
[root@srv-test-install-centos4-x64-1 pkg]# gem --version
  1.3.7
+
1.3.7
  [root@srv-test-install-centos4-x64-1 pkg]#
+
[root@srv-test-install-centos4-x64-1 pkg]#
  
 
=== gem Installation ===
 
=== gem Installation ===
 
*execute the following command:
 
*execute the following command:
  gem list --local
+
gem list --local
 
: Result should contain:
 
: Result should contain:
  *** LOCAL GEMS ***
+
*** LOCAL GEMS ***
 
+
  fcgi (0.8.8)
+
bundler (1.2.3)
      FastCGI library for Ruby.
+
fcgi (0.8.7)
 
+
json (1.7.7)
  
 
== ODBC Configuration ==
 
== ODBC Configuration ==
 
*Verify that the following file exists:
 
*Verify that the following file exists:
  ls -al /usr/lib64/libmyodbc3_r.so
+
  ls -al /usr/lib64/libmyodbc5.so
  
 
*Verify odbc config file:
 
*Verify odbc config file:
  cat /etc/odbcinst.ini
+
cat /etc/odbcinst.ini
: Result should contain:
+
: For 32 bits systems, result should contain:
  # 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]                                                  <----- This line must NOT start with a '#'
  Description    = ODBC for MySQL
+
Description    = ODBC for MySQL
  Driver          = /usr/lib64/libmyodbc3_r.so
+
Driver          = /usr/lib/libmyodbc5.so
  Setup          = /usr/lib/libodbcmyS.so
+
Setup          = /usr/lib/libodbcmyS.so
  FileUsage      = 1
+
FileUsage      = 1
 +
 
 +
: For 64 bits systems, 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          = /usr/lib64/libmyodbc5.so
 +
Setup          = /usr/lib/libodbcmyS.so
 +
FileUsage      = 1
  
 
== MySQL Configuration ==
 
== MySQL Configuration ==
 
*Verify MySQL config file:
 
*Verify MySQL config file:
  cat /etc/my.cnf
+
cat /etc/my.cnf
 
: Result should contain under [mysqld]:
 
: Result should contain under [mysqld]:
  log-bin
+
log-bin
  server-id=''[UniqueId]''
+
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.
 
'''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
 
*Verify if the server is running
  service mysqld status
+
service mysqld status
 
: Result:
 
: Result:
  mysqld (pid 5101) is running...
+
mysqld (pid 5101) is running...
 +
 
 +
=== SELinux ===
 +
 
 +
Check SELinux status
 +
 
 +
  sestatus
 +
 
 +
It should be disabled or in 'permissive' mode.
 +
 
 +
[[Category:Revise on Major]]

Latest revision as of 14:33, 6 May 2016

Applies to version(s) v2.5 to v2.9


WARNING: The system must have gone through the CentOS 5 Prerequisites Guides. If the system followed the CentOS Prerequisites Guides 2-5 Manual page, please follow the Validation for the Manual Procedure instead.

WARNING: This procedure requires internet access


If any of those steps fails, refer to the CentOS 5 Prerequisites Guides

Contents

Yum Packages

  • Validation of the following package on the system using yum:
yum list installed mysql-devel zlib-devel rubygems ruby-devel libxml2-devel lighttpd lighttpd-fastcgi fcgi mysql-server mysql-connector-odbc ruby unixODBC-devel rubygem-fcgi

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 mysql-devel zlib-devel rubygems ruby-devel libxml2-devel lighttpd lighttpd-fastcgi fcgi mysql-server mysql-connector-odbc ruby unixODBC-devel rubygem-fcgi
Installed Packages
fcgi.i386                                                           2.4.0-12.el5                                                   installed
fcgi.x86_64                                                         2.4.0-12.el5                                                   installed
libxml2-devel.i386                                                  2.6.26-2.1.2.8.el5_5.1                                         installed
libxml2-devel.x86_64                                                2.6.26-2.1.2.8.el5_5.1                                         installed
lighttpd.i386                                                       1.4.18-1.rf                                                    installed
lighttpd.x86_64                                                     1.4.18-1.rf                                                    installed
lighttpd-fastcgi.i386                                               1.4.18-1.rf                                                    installed
lighttpd-fastcgi.x86_64                                             1.4.18-1.rf                                                    installed
mysql-connector-odbc.i386                                           5.1.5r1144-8.el5                                               installed
mysql-connector-odbc.x86_64                                         5.1.5r1144-8.el5                                               installed
mysql-devel.i386                                                    5.1.47-5.el5                                                   installed
mysql-devel.x86_64                                                  5.1.47-5.el5                                                   installed
mysql-server.x86_64                                                 5.1.47-5.el5                                                   installed
ruby.i386                                                           1.8.7.299-4.el5                                                installed
ruby.x86_64                                                         1.8.7.299-4.el5                                                installed
ruby-devel.i386                                                     1.8.7.299-4.el5                                                installed
ruby-devel.x86_64                                                   1.8.7.299-4.el5                                                installed
rubygem-fcgi.x86_64                                                 0.8.7-1.el5                                                    installed
rubygems.noarch                                                     1.3.7-1.el5                                                    installed
unixODBC-devel.i386                                                 2.2.11-7.1                                                     installed
unixODBC-devel.x86_64                                               2.2.11-7.1                                                     installed
zlib-devel.i386                                                     1.2.3-4                                                        installed
zlib-devel.x86_64                                                   1.2.3-4                                                        installed
[root@srv-test-install-centos54-x64-1 tblab]#

NOTE: If the version of 1 or more packages doesn't match, please update your system using the command:

yum clean metadata
yum update

Verify 3rd Party Software Version

lighttpd

  • lighttpd version should be 1.4.18 or higher
[root@srv-test-install-centos54-x64-1 tblab]# lighttpd -v
lighttpd-1.4.18 (ssl) - a light and fast webserver
Build-Date: Nov 29 2010 18:05:08
[root@srv-test-install-centos54-x64-1 tblab]#

ruby

  • ruby version should be 1.8.7 or higher

Example:

[root@srv-test-install-centos4-x64-1 pkg]# ruby --version
ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux]
[root@srv-test-install-centos4-x64-1 pkg]#

rubygems

  • rubygems version should be 1.3.7 or higher

Example:

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

gem Installation

  • execute the following command:
gem list --local
Result should contain:
*** LOCAL GEMS ***

bundler (1.2.3)
fcgi (0.8.7)
json (1.7.7)

ODBC Configuration

  • Verify that the following file exists:
ls -al /usr/lib64/libmyodbc5.so
  • Verify odbc config file:
cat /etc/odbcinst.ini
For 32 bits systems, 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          = /usr/lib/libmyodbc5.so
Setup           = /usr/lib/libodbcmyS.so
FileUsage       = 1
For 64 bits systems, 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          = /usr/lib64/libmyodbc5.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...

SELinux

Check SELinux status

 sestatus

It should be disabled or in 'permissive' mode.

Personal tools