|
From: Nicholas B. <nbu...@co...> - 2006-09-05 19:59:24
|
Ok, good news. I found an RPM for Apache httpd-2.2.0-5.1.2.i386.rpm, a =
slightly older version than the 2.2.2 I have, and I extracted the =
httpd.conf file, per that website's instruction, and we're back in =
business!
Phew! Ok, we'll revisit how to configure this danged conf file without =
hosing the system a bit later. Thanks again!
Nicholas Burmeister
IT Department
The Compass Center
206-357-3144
nbu...@co...
-----Original Message-----
From: cha...@li... on behalf of =
Nicholas Burmeister
Sent: Tue 9/5/2006 10:49 AM
To: general
Subject: RE: [Chasers-general] Next Steps
=20
I just downloaded the apache files from apache itself. Its not an RPM, =
but it does contain a file called httpd.conf.in, which seems to be a =
'virgin' conf file. Unfortunately, I think that it is 'too virgin', =
since it this virgin file hasn't even got a list of modules included, =
just a commented section. Would extracting the same file from an RPM be =
different, or RPMs somehow in a later stage of implementation? If so, do =
you have any tips for finding an apache RPM file, since apache itself =
seems to only have the raw install files?
Nicholas Burmeister
IT Department
The Compass Center
206-357-3144
nbu...@co...
-----Original Message-----
From: cha...@li... on behalf of =
Jonathan Hedstrom
Sent: Fri 9/1/2006 4:16 PM
To: general
Subject: Re: [Chasers-general] Next Steps
=20
Nicholas Burmeister wrote:
> Tell me if this looks right to you. The reason I hesitate is because =
it seems to want to remove 'dependencies' as well:
>
> [root@wwi ~]# yum remove httpd
> Loading "installonlyn" plugin
> Setting up Remove Process
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Package httpd.i386 0:2.2.2-1.2 set to be erased
> --> Running transaction check
> Setting up repositories
> core =
[1/3]
> updates =
[2/3]
> extras =
[3/3]
> Reading repository metadata in from local files
> --> Processing Dependency: httpd-mmn =3D 20051115 for package: php
> --> Processing Dependency: webserver for package: webalizer
> --> Processing Dependency: httpd =3D 2.2.2-1.2 for package: =
httpd-manual
> --> Processing Dependency: httpd-mmn =3D 20051115 for package: =
mod_auth_pgsql
> --> Processing Dependency: httpd >=3D 2.0.40 for package: =
mod_auth_pgsql
> --> Processing Dependency: httpd-mmn =3D 20051115 for package: mod_ssl
> --> Processing Dependency: httpd =3D 0:2.2.2-1.2 for package: mod_ssl
> --> Processing Dependency: httpd-mmn =3D 20051115 for package: =
mod_authz_ldap
> --> Processing Dependency: httpd-mmn =3D 20051115 for package: =
mod_security
> --> Processing Dependency: httpd for package: system-config-httpd
> --> Processing Dependency: httpd for package: mod_security
> --> Processing Dependency: httpd-mmn =3D 20051115 for package: =
mod_auth_kerb
> --> Processing Dependency: httpd >=3D 2.2.0 for package: =
gnome-user-share
> --> Processing Dependency: httpd for package: mediawiki
> --> Restarting Dependency Resolution with new changes.
> --> Populating transaction set with selected packages. Please wait.
> ---> Package mediawiki.i386 0:1.5.8-1.fc5 set to be erased
> ---> Package mod_auth_kerb.i386 0:5.0-8.2.1 set to be erased
> ---> Package gnome-user-share.i386 0:0.10-1.fc5.1 set to be erased
> ---> Package mod_authz_ldap.i386 0:0.26-6.2.1 set to be erased
> ---> Package mod_security.i386 0:1.9.4-1.fc5 set to be erased
> ---> Package webalizer.i386 0:2.01_10-29.2.1 set to be erased
> ---> Package mod_auth_pgsql.i386 0:2.0.3-2.3 set to be erased
> ---> Package system-config-httpd.noarch 5:1.3.3-1.1 set to be erased
> ---> Package httpd-manual.i386 0:2.2.2-1.2 set to be erased
> ---> Package mod_ssl.i386 1:2.2.2-1.2 set to be erased
> ---> Package php.i386 0:5.1.4-1 set to be erased
> --> Running transaction check
> --> Processing Dependency: php =3D 5.1.4-1 for package: php-pgsql
> --> Processing Dependency: php >=3D 5.1.0-1 for package: php-pear
> --> Processing Dependency: php =3D 5.1.4-1 for package: php-mysql
> --> Processing Dependency: php =3D 5.1.4-1 for package: php-pdo
> --> Processing Dependency: php =3D 5.1.4-1 for package: php-devel
> --> Processing Dependency: php =3D 5.1.4-1 for package: php-ldap
> --> Restarting Dependency Resolution with new changes.
> --> Populating transaction set with selected packages. Please wait.
> ---> Package php-pdo.i386 0:5.1.4-1 set to be erased
> ---> Package php-pear.noarch 1:1.4.9-1.2 set to be erased
> ---> Package php-pgsql.i386 0:5.1.4-1 set to be erased
> ---> Package php-ldap.i386 0:5.1.4-1 set to be erased
> ---> Package php-mysql.i386 0:5.1.4-1 set to be erased
> ---> Package php-devel.i386 0:5.1.4-1 set to be erased
> --> Running transaction check
>
> Dependencies Resolved
>
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
> Package Arch Version Repository =
Size
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
> Removing:
> httpd i386 2.2.2-1.2 installed =
2.7 M
> Removing for dependencies:
> gnome-user-share i386 0.10-1.fc5.1 installed =
90 k
> httpd-manual i386 2.2.2-1.2 installed =
3.4 M
> mediawiki i386 1.5.8-1.fc5 installed =
6.5 M
> mod_auth_kerb i386 5.0-8.2.1 installed =
52 k
> mod_auth_pgsql i386 2.0.3-2.3 installed =
53 k
> mod_authz_ldap i386 0.26-6.2.1 installed =
197 k
> mod_security i386 1.9.4-1.fc5 installed =
1.1 M
> mod_ssl i386 1:2.2.2-1.2 installed =
172 k
> php i386 5.1.4-1 installed =
9.1 M
> php-devel i386 5.1.4-1 installed =
2.5 M
> php-ldap i386 5.1.4-1 installed =
41 k
> php-mysql i386 5.1.4-1 installed =
176 k
> php-pdo i386 5.1.4-1 installed =
103 k
> php-pear noarch 1:1.4.9-1.2 installed =
1.8 M
> php-pgsql i386 5.1.4-1 installed =
121 k
> system-config-httpd noarch 5:1.3.3-1.1 installed =
2.2 M
> webalizer i386 2.01_10-29.2.1 installed =
250 k
>
> Transaction Summary
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
> Install 0 Package(s)
> Update 0 Package(s)
> Remove 18 Package(s)
> Is this ok [y/N]:N
> Exiting on user Command
> Complete!
> [root@wwi ~]#
>
> =20
If you proceed with this, after removing the packages, you'll need to do
a "yum install {package-list}" where {package-list} is replaced by a
space-separated list that includes everything in the removal list ( yum
install httpd gnome-user-share httpd-manual mediawike mod_auth_kerp etc
etc etc). Then, you'll need to redo those various changes made to
php.ini so many emails ago...
This shouldn't be dangerous, it just seems like a very tedious way to
replace one little file...
Instead of doing this, you could download the rpm from somewhere like
rpmfind.net, then use this trick:
http://www.linux-noob.com/forums/lofiversion/index.php/t355.html
to extract httpd.conf from the rpm without install it. Alternatively,
once you have the rpm, you would probably get the conf file back by =
running
rpm -F {rpm file}
|