<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://docs.telcobridges.com/mediawiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://docs.telcobridges.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Toolpack_prerequisite_Debian6_2-6</id>
		<title>Toolpack prerequisite Debian6 2-6 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://docs.telcobridges.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Toolpack_prerequisite_Debian6_2-6"/>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/mediawiki/index.php?title=Toolpack_prerequisite_Debian6_2-6&amp;action=history"/>
		<updated>2026-05-14T07:16:47Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.1</generator>

	<entry>
		<id>https://docs.telcobridges.com/mediawiki/index.php?title=Toolpack_prerequisite_Debian6_2-6&amp;diff=10512&amp;oldid=prev</id>
		<title>Atremblay: Added make/g++ prerequisite for Toolpack</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/mediawiki/index.php?title=Toolpack_prerequisite_Debian6_2-6&amp;diff=10512&amp;oldid=prev"/>
				<updated>2012-04-02T15:12:34Z</updated>
		
		<summary type="html">&lt;p&gt;Added make/g++ prerequisite for Toolpack&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 15:12, 2 April 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Prerequisites for running Toolpack ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Prerequisites for running Toolpack ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Make sure all prerequisites are already installed. An older version of the MySQL server is required in order to be compatible with the Ruby version.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Make sure all prerequisites are already installed. An older version of the MySQL server is required in order to be compatible with the Ruby version&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. Make and g++ are required to build the custom version of Ruby&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; apt-get install libxml2 zlib1g libmysqlclient unixodbc libmyodbc libfcgi libfcgi-dev lighttpd sysv-rc-conf&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; apt-get install &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;make g++ &lt;/ins&gt;libxml2 zlib1g libmysqlclient unixodbc libmyodbc libfcgi libfcgi-dev lighttpd sysv-rc-conf&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; apt-get install mysql-server-core-5.1=5.1.49-3&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; apt-get install mysql-server-core-5.1=5.1.49-3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; apt-get install mysql-server-5.1=5.1.49-3&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; apt-get install mysql-server-5.1=5.1.49-3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff:version:1.11a:oldid:10511:newid:10512 --&gt;
&lt;/table&gt;</summary>
		<author><name>Atremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/mediawiki/index.php?title=Toolpack_prerequisite_Debian6_2-6&amp;diff=10511&amp;oldid=prev</id>
		<title>Atremblay at 14:43, 2 April 2012</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/mediawiki/index.php?title=Toolpack_prerequisite_Debian6_2-6&amp;diff=10511&amp;oldid=prev"/>
				<updated>2012-04-02T14:43:26Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 14:43, 2 April 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 78:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 78:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Set up my.cnf:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Set up my.cnf:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; vi /etc/mysql/my.cnf&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; vi /etc/mysql/my.cnf&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Uncomment the '''server-id''' and '''log_bin''' lines&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;* &lt;/ins&gt;Uncomment the '''server-id''' and '''log_bin''' lines&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Change '''max_allowed_packet''' to 200M&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;* &lt;/ins&gt;Change '''max_allowed_packet''' to 200M&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Add '''max_allowed_packet=200M''' in the '''[mysqldump]''' section&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;* &lt;/ins&gt;Add '''max_allowed_packet=200M''' in the '''[mysqldump]''' section&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Restart MySQL server:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; service mysql restart&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; service mysql restart&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff:version:1.11a:oldid:10510:newid:10511 --&gt;
&lt;/table&gt;</summary>
		<author><name>Atremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/mediawiki/index.php?title=Toolpack_prerequisite_Debian6_2-6&amp;diff=10510&amp;oldid=prev</id>
		<title>Atremblay: Created page with 'This page shows the prerequisites required for compiling and running TelcoBridges applications on Debian 6. Most procedures assume supervisor (root) access on the system.  == Deb…'</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/mediawiki/index.php?title=Toolpack_prerequisite_Debian6_2-6&amp;diff=10510&amp;oldid=prev"/>
				<updated>2012-04-02T14:39:55Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;This page shows the prerequisites required for compiling and running TelcoBridges applications on Debian 6. Most procedures assume supervisor (root) access on the system.  == Deb…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page shows the prerequisites required for compiling and running TelcoBridges applications on Debian 6. Most procedures assume supervisor (root) access on the system.&lt;br /&gt;
&lt;br /&gt;
== Debian 6 OS installation ==&lt;br /&gt;
&lt;br /&gt;
The configuration used for redacting this page was installed using the debian-6.0.4-amd64-CD-1.iso CD image (http://cdimage.debian.org/debian-cd/6.0.4/amd64/iso-cd/debian-6.0.4-amd64-CD-1.iso). Only the SSH server and standard utilities were installed. No network packages were used.&lt;br /&gt;
&lt;br /&gt;
Make sure sources.list has squeeze in the sources package list (it will not be present if the installation did not use the network packages). If you have problems with apt-get, edit /etc/apt/sources.list and make sure to add these lines (and comment everything else):&lt;br /&gt;
&lt;br /&gt;
  vi /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
  deb http://ftp.debian.org/debian/ squeeze main contrib&lt;br /&gt;
  deb-src http://ftp.debian.org/debian/ squeeze main contrib&lt;br /&gt;
  deb http://security.debian.org/ squeeze/updates main contrib&lt;br /&gt;
  deb-src http://security.debian.org/ squeeze/updates main contrib&lt;br /&gt;
&lt;br /&gt;
== Prerequisites for compiling TelcoBridges packages ==&lt;br /&gt;
&lt;br /&gt;
Get build tools (zlib and libxml2 are required for higher level applications):&lt;br /&gt;
  apt-get install make g++ libxml2-dev zlib1g-dev libmysqlclient-dev unixodbc-dev libssl-dev&lt;br /&gt;
&lt;br /&gt;
Install ruby 1.8.7-p174:&lt;br /&gt;
  wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/ruby-1.8.7-p174.tar.gz&lt;br /&gt;
  tar -zxf ruby-1.8.7-p174.tar.gz&lt;br /&gt;
  cd ruby-1.8.7-p174&lt;br /&gt;
  ./configure --libdir=/usr/local/lib64 --enable-shared&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  cd ext/openssl&lt;br /&gt;
  ruby extconf.rb&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  ln -s /usr/local/bin/ruby /usr/bin/ruby&lt;br /&gt;
  ln -s /usr/local/lib64/libruby.so.1.8 /lib64/libruby.so.1.8&lt;br /&gt;
&lt;br /&gt;
TelcoBridges only support 64-bit applications on Debian 6. When compiling, use the '''X86_64=1''' flag. For example:&lt;br /&gt;
  make all X86_64=1 DBG=1&lt;br /&gt;
&lt;br /&gt;
== Prerequisites for running custom TelcoBridges applications ==&lt;br /&gt;
&lt;br /&gt;
Make sure all prerequisites are already installed:&lt;br /&gt;
  apt-get install libxml2 zlib1g&lt;br /&gt;
&lt;br /&gt;
The following prerequisites may be required if the applications use MySQL:&lt;br /&gt;
  apt-get install libmysqlclient unixodbc&lt;br /&gt;
&lt;br /&gt;
== Prerequisites for running Toolpack ==&lt;br /&gt;
&lt;br /&gt;
Make sure all prerequisites are already installed. An older version of the MySQL server is required in order to be compatible with the Ruby version.&lt;br /&gt;
  apt-get install libxml2 zlib1g libmysqlclient unixodbc libmyodbc libfcgi libfcgi-dev lighttpd sysv-rc-conf&lt;br /&gt;
  apt-get install mysql-server-core-5.1=5.1.49-3&lt;br /&gt;
  apt-get install mysql-server-5.1=5.1.49-3&lt;br /&gt;
&lt;br /&gt;
Install ruby 1.8.7-p174 (same procedure as mentioned above):&lt;br /&gt;
  cd ~&lt;br /&gt;
  wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/ruby-1.8.7-p174.tar.gz&lt;br /&gt;
  tar -zxf ruby-1.8.7-p174.tar.gz&lt;br /&gt;
  cd ruby-1.8.7-p174&lt;br /&gt;
  ./configure --libdir=/usr/local/lib64 --enable-shared&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  cd ext/openssl&lt;br /&gt;
  ruby extconf.rb&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  ln -s /usr/local/bin/ruby /usr/bin/ruby&lt;br /&gt;
  ln -s /usr/local/lib64/libruby.so.1.8 /lib64/libruby.so.1.8&lt;br /&gt;
&lt;br /&gt;
Install ODBC driver:&lt;br /&gt;
  odbcinst -i -f /usr/share/libmyodbc/odbcinst.ini -d&lt;br /&gt;
&lt;br /&gt;
Set up mysql:&lt;br /&gt;
  mysql -u root -p&lt;br /&gt;
  CREATE USER 'tbdb'@'%' IDENTIFIED BY 'tbdbpw';&lt;br /&gt;
  GRANT ALL PRIVILEGES ON *.* TO 'tbdb'@'%' IDENTIFIED BY 'tbdbpw';&lt;br /&gt;
  FLUSH PRIVILEGES;&lt;br /&gt;
  exit&lt;br /&gt;
&lt;br /&gt;
Set up my.cnf:&lt;br /&gt;
  vi /etc/mysql/my.cnf&lt;br /&gt;
Uncomment the '''server-id''' and '''log_bin''' lines&lt;br /&gt;
Change '''max_allowed_packet''' to 200M&lt;br /&gt;
Add '''max_allowed_packet=200M''' in the '''[mysqldump]''' section&lt;br /&gt;
  service mysql restart&lt;br /&gt;
&lt;br /&gt;
Remove lighttpd from init scripts (remove X's in the lighttpd line):&lt;br /&gt;
  sysv-rc-conf&lt;br /&gt;
  service lighttpd stop&lt;br /&gt;
&lt;br /&gt;
Install ruby gems:&lt;br /&gt;
  cd ~&lt;br /&gt;
  wget http://download.distribution.telcobridges.com/3rdparty/prerequisite/src/centos/rubygems-1.3.5.tgz&lt;br /&gt;
  tar -zxf rubygems-1.3.5.tgz&lt;br /&gt;
  cd rubygems-1.3.5&lt;br /&gt;
  ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
Install fcgi gem:&lt;br /&gt;
  gem install fcgi&lt;br /&gt;
&lt;br /&gt;
== Toolpack System installation ==&lt;br /&gt;
&lt;br /&gt;
Now that the prerequisite are installed, now it is time to install the [[toolpack_installer_2-6|Toolpack system]]&lt;/div&gt;</summary>
		<author><name>Atremblay</name></author>	</entry>

	</feed>