Toolpack Prerequisites for CentOS 5
Applies to version(s) v2.5 to v2.9
This page shows the prerequisites to install Toolpack for a 64 bits CentOS 5.7 with the use of TelcoBridges repository.
*WARNING*: The host MUST have at least CentOS 5.5 installed. If you don't want to update your CentOS version to the latest version or want to install the prerequisites for a I386 (32 bits) platform, please follow the [manual procedure](toolpack-prerequisite-centos5-2-5-manual.md) instead. *WARNING*: If you followed the [manual procedure](toolpack-prerequisite-centos5-2-5-manual.md) on the system before, you **MUST NOT** use the steps on this page before doing a cleanup of the previously installed files. You should ask Telcobridges support for help with the cleanup.
Install the base CentOS 5 server
Download the following DVD image and install it using the "Minimal" package set: http://download.distribution.telcobridges.com/3rdparty/prerequisite/bin/centos/CentOS-5.7-x86_64-bin-DVD.iso
Press Enter to start the graphical installation:
Set a hostname (make sure it is not localhost.localdomain)
In the screen asking the set of software to install, uncheck "Desktop - Gnome" (unless you want to have the GUI)
Configure TelcoBridges repository
Online repository procedure
This procedure requires internet access and a DNS configured on your unit
Add TelcoBridges repository file
vim /etc/yum.repos.d/TB-Base.repoPaste the following information in that file:
TelcoBridges-Base.repo
This repository is using TelcoBridges frozen version of CentOS
to help client installing the required version of the
applications required to run Toolpack
released updates [tb-updates] name=TelcoBridges-$releasever - Updates baseurl=http://repo.telcobridges.com/centos/5/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5-tb
Get TelcoBridges repository key
Offline repository procedure
This procedure does not requires internet access.
Install TelcoBridges repository locally
Download the .iso image of the repository http://repo.telcobridges.com/centos/5/isos/x86_64/tb_centos5_x86_64_repo.iso
Upload this .iso file to the "/root" directory of the server with scp or a SFTP tool like FileZilla
Mount the .iso file on your server
Mount the .iso file on your server mkdir -p /repo/centos/5 mount -t iso9660 -o loop /root/tb_centos5_x86_64_repo.iso /repo/centos/5
Add the mount point permanently to the system to make it stay after a reboot.
cp /etc/fstab /etc/fstab.bak
echo "/root/tb_centos5_x86_64_repo.iso /repo/centos/5 iso9660 loop 0 0" >> /etc/fstab
Add TelcoBridges repository file
Paste the following information in that file:
TelcoBridges-Base.repo
This repository is using TelcoBridges frozen version of CentOS
to help client installing the required version of the
applications required to run Toolpack
released updates [tb-updates] name=TelcoBridges-$releasever - Updates baseurl=file:///repo/centos/5/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5-tb
Get TelcoBridges repository key
Update CentOS
Disable default CentOS repository
Add the following line in '/etc/yum.repos.d/CentOS-Base.repo' under the [base] and [updates section]. enabled=0
Example: [base] enabled=0 name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
released updates [updates] enabled=0 name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
Remove packages
Remove the following package yum remove glibc.i686 yum remove selinux-policy-devel yum remove system-config-network yum remove dovecot
Package update
Update your system to the latest CentOS 5 version from TelcoBridges repositary.
If you have the following error:
Make sure that you have the correct gpgkey lines in /etc/yum.repos.d/TB-Base.repo and that the TelcoBridges keys are properly imported.
Reply to ARP only on local interfaces
Modify the file /etc/sysctl.conf to add the following lines:
Then restart network interfaces using the following command:
Disabling SELinux
Check SELinux status
If SELinux is enable, see the Disabling SELinux article to disable it.
Disabling Firewall
Apply kernel patches (if any)
Install Toolpack Prerequisites
When asked to 'Importing GPG key', answer yes.
Install Gem
Configure ODBC
Remove the '#' in front of each lines of the [MySQL] section Modify the 'Driver' line to set the correct driver
Example for 32 bits system:
Example for 64 bits system:
Configure MySQL
Add these variables in the file under the [mysqld] section:
log-bin
server-id=[UniqueId]
The server-id needs to be a non-zero unique value (do not use 0). If you use the host redundancy feature, the value needs to be different on each host .
Add max_allowed_packet to increase the maximum size of binary blobs in the database. Make sure it is in the [mysqld] section AND [mysqldump] section
Add below to remove database dependencies with DNS servers **(Applicable to TMG users only)
Add this to make sure the mysql logs don't get too big
Example:
Default to using old password format for compatibility with mysql 3.x
clients (those using the mysqlclient10 compatibility package). old_passwords=1
Disabling symbolic-links is recommended to prevent assorted security risks symbolic-links=0
Added so that problems with DNS servers don't cause problems with the mysql DB
Note: This is applicable only if you are using a TMG skip-name-resolve
[mysqldump] max_allowed_packet = 200MB
Enable and Start MySQL
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:
Toolpack Development Prerequisite (Optional)
The Toolpack System Development prerequisite section is only required for customers that will develop their own application using the Toolpack API:
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
Last updated
Was this helpful?

