Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd September 2006, 21:00
cryptic cryptic is offline
Senior Member
 
Join Date: Sep 2006
Posts: 137
Thanks: 6
Thanked 7 Times in 6 Posts
Default CentOS 4 - Zlib upgrade HowTo

As there are quite a few people on here with CentOS boxes with an older zlib (1.2.1x), this quick and simple HowTO will show you how to create an rpm to upgrade zlib.

First, get gcc if you don't have it already:
'yum install gcc'

Next, you will need rpm-build:
'yum install rpm-build'

Now, grab the source rpm for zlib 1.2.3 from the Fedora 5 repos:
'wget ftp://chuck.ucs.indiana.edu/pub/array2/linux/fedora/linux/core/5/source/SRPMS/zlib-1.2.3-1.2.1.src.rpm'

Build the rpm with 'rpmbuild --rebuild zlib-1.2.3-1.2.1.src.rpm'

Now upgrade with the newly created rpms (zlib and zlib-devel):
'rpm -Uhv /usr/src/redhat/RPMS/i386/zlib-*1.2.3-1.2.1.i386.rpm'

Done.
# rpm -q zlib
zlib-1.2.3-1.2.1

Last edited by cryptic; 22nd September 2006 at 21:06.
Reply With Quote
Sponsored Links
  #2  
Old 23rd September 2006, 15:25
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,801
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

Thanks for the howto. I moved your post to the Tips & Tricks forum
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 25th October 2006, 18:08
edouardj edouardj is offline
Junior Member
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

wget without option doesn't work... I must use the option: --passive-ftp

Perhaps it could help somebody...
Reply With Quote
  #4  
Old 26th October 2006, 01:00
cryptic cryptic is offline
Senior Member
 
Join Date: Sep 2006
Posts: 137
Thanks: 6
Thanked 7 Times in 6 Posts
Default

Thanks for the info edouardj, but I still can just "wget $file" without issue.

This is with GNU wget v1.10.2
Reply With Quote
  #5  
Old 26th October 2006, 10:32
edouardj edouardj is offline
Junior Member
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

GNU wget v 1.10.2 with centos 4.4 Final (uptodate) ...

but I live in France... Bye
Reply With Quote
  #6  
Old 26th October 2006, 13:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

Quote:
Originally Posted by edouardj
Hello,

wget without option doesn't work... I must use the option: --passive-ftp

Perhaps it could help somebody...
This is caused by your firewall. For some people (with another firewall) it works without --passive-ftp, and some others have to use it.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 2nd May 2008, 21:27
Chizl Chizl is offline
Junior Member
 
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry to bring this topic back up, but while it was asked, I have another question about zlib.

Does anyone know if zlib 1.1.4 has a limitation of 2GB? The company I'm with handing me this 10year old code and says that zlib may have a 2GB limit.. I've searched all over and the newest version I know has a 4GB depending on how it's compiled. But can't find anything on the older version.
Reply With Quote
  #8  
Old 3rd May 2008, 22:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
 
Default

I'm not sure, but the problem might as well be caused by using a 32bit system.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade CentOs 4.3 to 4.4 help? Herbert Installation/Configuration 2 18th September 2006 12:28
screwed up the upgrade provell Installation/Configuration 7 14th August 2006 14:33
can't upgrade zlib Centos 4.3 kernel 2.6.9-34.0.1.EL newzen Installation/Configuration 1 24th June 2006 14:48
Upgrade from 2.2.1 tot 2.2.2 howto? Herbert Installation/Configuration 3 5th May 2006 22:12
zlib upgraded, joomla says no zlib... cbakken Installation/Configuration 3 27th March 2006 15:49


All times are GMT +2. The time now is 16:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.