Toolpack Install Validation for CentOS 7

From TBwiki
Jump to: navigation, search

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


WARNING: The system must have gone through the CentOS 7 Prerequisites Guides.

WARNING: This procedure requires internet access


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

Contents

Yum Packages

  • Validate that Toolpack-Prerequisites is installed:
#yum group list

Result should contain:

Installed Groups:
   Toolpack-Prerequisites
  • Make sure you repository point on tb-base:
#yum repolist

Result should contain:

repo id                                                                                      repo name                                                                              status
!tb-base/7/x86_64                                                                            TB7 - Base                                                                             1,097

Verify 3rd Party Software Version

lighttpd

  • lighttpd version should be 1.4.35 or higher
#lighttpd -v
lighttpd/1.4.35 (ssl) - a light and fast webserver
Build-Date: Mar 12 2014 17:19:32

ruby

  • ruby version should be 1.8.7 or higher
#ruby --version
ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux]

rubygems

  • rubygems version should be 1.3.7 or higher
#gem --version
1.3.7

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