I am confused

It might be that I am not confused, but instead am dense. I hope that
won’t put you off giving me some advice. Or a pointer to a RedHat how
to…?

I have read the documents on how to install several times through. I have
read the recommendations as to what versions of what applications I should
install. I think this is the first part of my falling down. I am wanting
to install this on a RedHat 9.0 server. The RedHat folk strongly suggest
that I use RPMs for everything possible. They install by default Apache 2.0
and Perl_Mod 1.99 (or something like that.)

The install docs say that I should by preference use apache 1.3 and perl_doc
1.? Should I remove these RPMS and get old RPMs of these applications ?
Can it work with the out of the box RH9 installation? Are there any dire
implications for anything else by doing that stuff?

Would anyone have RPMs that make this easy? Would people be interested if
I made some? (I have done it once, and am interested enough to do it again.
Learning Curve!)

anyways, I guess some feedback from someone who’s set up an RT server on
RH9 would be very appreciated here.

Thanks!

nemir

Hot chart ringtones and polyphonics. Go to
http://ninemsn.com.au/mobilemania/default.asp

anyways, I guess some feedback from someone who’s set up an
RT server on
RH9 would be very appreciated here.

OK, I did the following:

Firstly, I tried to stick with the standard RPMs where possible.

For Apache, I used the standard Red Hat RPMs.

For mod_perl, I rebuilt 1.99_09 from the Rawhide sources. Had to tweak the
spec file to allow it to rebuild with the version number of Apache Red Hat
uses. There are a few development libraries required here, so might mean
installing a few RPMs.

HTML::Mason was the other sticking point. I did find an RPM for Red Hat 9,
which has proved to work well in practice. Look back through the archives
in the last couple of weeks for details on where to get the HTML::Mason RPM.
This will save unending grief with battling Apache::Request… :slight_smile:

Also, I strongly recommend the use of APT (yes, the same APT as Debian uses,
but ported for RPM) for RPM on your Red Hat box. You can find it at
http://freshrpms.net. I’d suggest running

apt-get update
apt-get upgrade

before starting the rest of the installation. You will then be able to
apt-get install any needed RPMs.

Expect a bit of fiddling with dependencies. Also, make sure you turn off
UTF encoding in Perl, or some of the CPAN module installs will barf. UTF
support in Perl is rather broken anyway.

To do this, you need to edit /etc/sysconfig/i18n and change the line that
says

LANG=“en_US.UTF-8”

and simply drop the .UTF-8, so it reads

LANG=“en_US”

Of course, non US people will have a different language, mine says “en_AU”.
:slight_smile:

Once this is done, reboot to ensure it takes effect system wide.

Finally, once RT is installed, don’t forget to tweak the Apache conf file to
tell the server to load index.html when no file is requested. This appeared
in the archives in the last week (I posted it myself). Just to workaround a
bug in mod_perl.

All that said and done, I’m happy with how my installation is performing.

This correspondence is for the named person’s use only. It may contain
confidential or legally privileged information or both. No confidentiality
or privilege is waived or lost by any mistransmission. If you receive this
correspondence in error, please immediately delete it from your system and
notify the sender. You must not disclose, copy or rely on any part of this
correspondence if you are not the intended recipient.

Any opinions expressed in this message are those of the individual sender.

It might be that I am not confused, but instead am dense. I hope that
won’t put you off giving me some advice. Or a pointer to a RedHat how
to…?

I have read the documents on how to install several times through. I have
read the recommendations as to what versions of what applications I should
install. I think this is the first part of my falling down. I am wanting
to install this on a RedHat 9.0 server. The RedHat folk strongly suggest
that I use RPMs for everything possible. They install by default Apache 2.0

and Perl_Mod 1.99 (or something like that.)

The install docs say that I should by preference use apache 1.3 and perl_doc

1.? Should I remove these RPMS and get old RPMs of these applications ?
Can it work with the out of the box RH9 installation? Are there any dire
implications for anything else by doing that stuff?

Would anyone have RPMs that make this easy? Would people be interested if

I made some? (I have done it once, and am interested enough to do it again.

Learning Curve!)

anyways, I guess some feedback from someone who’s set up an RT server on
RH9 would be very appreciated here.

Thanks!

nemir

I’ve rebuilt RPMS of apache 1.3.27 and mod_perl 1.26 for RedHat 9. You would
also need RPMS of the db3 environment. These do not have to be installed
(db3-compat packages for db4 work) but RedHat must think they have been
installed for the apache RPM to be happy (use --justdb option for rpm
command). I didn’t manage to get mod_perl working (I couldn’t log in, I was
returned to the login screen every time I tried with no erros logged
anywhere) but RT is working fine with fastcgi and the suidperl RPM
installed.

Regards
Dave

I hope you get more responses than I did, when I asked
similar questions about RH 8.0.

I spent 2 or 3 weeks trying to make RH 8 regress to
mod_perl1 and Apache1. I’ve been a Sun sys admin for 5
years or so, and have a good understanding of installing
packages and configuring Unix boxes.

However, with RedHat 8, it was not as simple as just
removing Apache and mod_perl and then compiling from new
source. It should be, but it wasn’t.

If someone can send you step by step, go for it.
Otherwise, as a person who just spent 6 weeks slugging
away with RH8, I recommend regressing to RH 7.3. A very
kind soul forwarded this procedure to me (I uploaded it and
make it available, however I won’t attach it since this
email goes to hundreds of people)
http://schube.com/upload/RT+RedHat+Installation.doc

I haven’t doctored it yet, however, I changed all
references to RT2 to RT3. Apache shows compiling from
/tmp, however if you followed earlier steps, its in
/usr/src (so compile from whereever you actually put the
source). I believe the Apache step also skips the make
install. Finally, when you get to the configuration, I
used the RT documentation in combination with their
suggestions.

I had it working in one day (after figuring out the CPAN
module DBD::MySQL needed a third RPM, MySQL development,
installed in addition to Client and Server RPMs), although
I need to go back and make sendmail work. I am very weak
in sendmail skills (a good excuse to go get the O’Reilly
book).

Good luck.
JohnOn Wed, 05 Nov 2003 04:26:45 +0000 “nemir nemiria” nemir@hotmail.com wrote:

It might be that I am not confused, but instead am
dense. I hope that won’t put you off giving me some
advice. Or a pointer to a RedHat how to…?

I have read the documents on how to install several times
through. I have read the recommendations as to what
versions of what applications I should install. I think
this is the first part of my falling down. I am wanting
to install this on a RedHat 9.0 server. The RedHat folk
strongly suggest that I use RPMs for everything possible.
They install by default Apache 2.0 and Perl_Mod 1.99 (or
something like that.)

The install docs say that I should by preference use
apache 1.3 and perl_doc 1.? Should I remove these RPMS
and get old RPMs of these applications ? Can it work
with the out of the box RH9 installation? Are there any
dire implications for anything else by doing that stuff?

Would anyone have RPMs that make this easy? Would
people be interested if I made some? (I have done it
once, and am interested enough to do it again. Learning
Curve!)

anyways, I guess some feedback from someone who’s set
up an RT server on RH9 would be very appreciated here.

Thanks!

nemir

On Wed, Nov 05, 2003 at 06:49:36AM -0800, John Schubert said:

I hope you get more responses than I did, when I asked
similar questions about RH 8.0.

I spent 2 or 3 weeks trying to make RH 8 regress to
mod_perl1 and Apache1. I’ve been a Sun sys admin for 5
years or so, and have a good understanding of installing
packages and configuring Unix boxes.

However, with RedHat 8, it was not as simple as just
removing Apache and mod_perl and then compiling from new
source. It should be, but it wasn’t.

Your right, it SHOULD be, but isn’t.

Basically what I did on RH8 is dump the redhat binaries for just about
everything (apache, mod_perl, perl, mysql) and install from source in
/usr/local. I did cheat a little and install mysql from the RPM’s
provided at mysql.com (the mysql version with rh8 is too old.)

I tend to NOT use vendor supplied binaries for a lot of my core
software. Besides being able to compile exactly the versions / options I
want, I also have the ability to take MY code and upgrade the OS under
and have a reasonable expectation that things will still work (with a
recompile as a possibility. It may help to compile things statically if
this is your goal.)

My recommendation is that, if you want to install via RPMs, that you don’t
install things by default in Redhat. Install only what you need to get up
and going, and then download the absolute latest versions for everything.

I personally have had bad luck with RPMs anyway, so whenever possible I
install from source. Call me old-fashioned.

For Perl components, though, I’ve found it to be good practice to install
from source. Nothing seems to go to the right place with the RPMs in my
experience. Use CPAN to install Perl modules, its just that much safer. If
it fails to install through CPAN, you may need to work with your environment
variables (for instance, one that gets in the way a lot on RedHat is the
LANG environment variable, which causes problems during installs if it is
set to “en_US.xxxx”; change this one to just “en_US” if you have any
installation troubles).From: Walt Reed [mailto:rt@linuxguy.com]
Sent: Wednesday, November 05, 2003 10:36 AM
To: John Schubert
Cc: rt-users@lists.fsck.com; nemir nemiria
Subject: Re: [rt-users] I am confused

On Wed, Nov 05, 2003 at 06:49:36AM -0800, John Schubert said:

I hope you get more responses than I did, when I asked
similar questions about RH 8.0.

I spent 2 or 3 weeks trying to make RH 8 regress to
mod_perl1 and Apache1. I’ve been a Sun sys admin for 5
years or so, and have a good understanding of installing
packages and configuring Unix boxes.

However, with RedHat 8, it was not as simple as just
removing Apache and mod_perl and then compiling from new
source. It should be, but it wasn’t.

Your right, it SHOULD be, but isn’t.

Basically what I did on RH8 is dump the redhat binaries for just about
everything (apache, mod_perl, perl, mysql) and install from source in
/usr/local. I did cheat a little and install mysql from the RPM’s
provided at mysql.com (the mysql version with rh8 is too old.)

I tend to NOT use vendor supplied binaries for a lot of my core
software. Besides being able to compile exactly the versions / options I
want, I also have the ability to take MY code and upgrade the OS under
and have a reasonable expectation that things will still work (with a
recompile as a possibility. It may help to compile things statically if
this is your goal.)

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

However, with RedHat 8, it was not as simple as just
removing Apache and mod_perl and then compiling from new
source. It should be, but it wasn’t.

Your right, it SHOULD be, but isn’t.

Basically what I did on RH8 is dump the redhat binaries for just about
everything (apache, mod_perl, perl, mysql) and install from source in
/usr/local. I did cheat a little and install mysql from the RPM’s
provided at mysql.com (the mysql version with rh8 is too old.)

Is it worth the effort compared to switching to fastcgi with the
stock apache?

Les Mikesell
les@futuresource.com

On Wed, Nov 05, 2003 at 10:14:12AM -0600, Les Mikesell said:

Basically what I did on RH8 is dump the redhat binaries for just about
everything (apache, mod_perl, perl, mysql) and install from source in
/usr/local. I did cheat a little and install mysql from the RPM’s
provided at mysql.com (the mysql version with rh8 is too old.)

Is it worth the effort compared to switching to fastcgi with the
stock apache?

I guess that depends on your needs now and in the future. Consider also
that Redhat is abandoning support for the standard RedHat line (RH 8
end of life is now end of this year.) People will have a choice: upgrade
to Enterprise Linux ($$$) or switch to Debian, Suse, freebsd, solaris
etc. If you have all your core applications compiled locally, you (for
the most part) can take your entire source tree and rebuild on another
platform. If you have satisfied your dependencies in your /usr/local
tree, its going to be a MUCH easier port job.

By removing my dependencies on vendor stuff, I have given myself
a little more flexibility, and reduced my workload down the road.