[FrontPage] [TitleIndex] [WordIndex

This is a read-only archived version of wiki.centos.org

CentOS Web Stack

Note: CentOS-4 reached the End-of-Life and is no longer supported.

ArtWork/WikiDesign/icon-admonition-info.png

The CentOS webstack is for CentOS-4 only.

ArtWork/WikiDesign/icon-admonition-attention.png

Prior to starting, ensure you understand yum (and yum plugins, specifically the yum priorities plugin), and CentOS Repositories (specifically, the CentOSPlus Repository).

The CentOS Web Stack is a combination of packages that are issued for an updated LAMP (Linux, Apache, MySQL, PHP) server solution (there are also other components, including postgresql and perl).

This stack currently contains the following packges (versions may get newer, package names should remain constant):

{{{httpd-2.0.59-1.el4s1.5.el4.centos.i386.rpm httpd-devel-2.0.59-1.el4s1.5.el4.centos.i386.rpm httpd-manual-2.0.59-1.el4s1.5.el4.centos.i386.rpm mod_auth_mysql-3.0.0-2.el4s1.3.i386.rpm mod_auth_pgsql-2.0.3-2.el4s1.2.i386.rpm mod_perl-2.0.3-1.el4s1.1.i386.rpm mod_perl-devel-2.0.3-1.el4s1.1.i386.rpm mod_ssl-2.0.59-1.el4s1.5.el4.centos.i386.rpm mysql-5.0.27-1.el4.centos.i386.rpm mysql-bench-5.0.27-1.el4.centos.i386.rpm mysqlclient10-3.23.58-9.2.c4.i386.rpm mysqlclient10-devel-3.23.58-9.2.c4.i386.rpm mysqlclient14-4.1.22-1.el4s1.1.i386.rpm mysqlclient14-devel-4.1.22-1.el4s1.1.i386.rpm mysql-connector-odbc-3.51.12-2.el4s1.3.i386.rpm mysql-devel-5.0.27-1.el4.centos.i386.rpm MySQL-python-1.2.1_p2-1.el4s1.1.i386.rpm mysql-server-5.0.27-1.el4.centos.i386.rpm mysql-test-5.0.27-1.el4.centos.i386.rpm perl-5.8.8-4.el4s1.i386.rpm perl-DBD-MySQL-3.0008-1.el4.centos.i386.rpm perl-DBD-Pg-1.49-1.el4s1.i386.rpm perl-DBI-1.53-2.el4s1.i386.rpm perl-suidperl-5.8.8-4.el4s1.i386.rpm php-5.1.6-3.el4s1.5.i386.rpm php-bcmath-5.1.6-3.el4s1.5.i386.rpm php-cli-5.1.6-3.el4s1.5.i386.rpm php-common-5.1.6-3.el4s1.5.i386.rpm php-dba-5.1.6-3.el4s1.5.i386.rpm php-dbase-5.1.6-1.el4.centos.i386.rpm php-devel-5.1.6-3.el4s1.5.i386.rpm php-eaccelerator-5.1.6_0.9.5-1.el4.centos.i386.rpm php-gd-5.1.6-3.el4s1.5.i386.rpm php-imap-5.1.6-3.el4s1.5.i386.rpm php-ldap-5.1.6-3.el4s1.5.i386.rpm php-mbstring-5.1.6-3.el4s1.5.i386.rpm php-mcrypt-5.1.6-1.el4.centos.i386.rpm php-mhash-5.1.6-1.el4.centos.i386.rpm php-mysql-5.1.6-3.el4s1.5.i386.rpm php-ncurses-5.1.6-3.el4s1.5.i386.rpm php-odbc-5.1.6-3.el4s1.5.i386.rpm php-pdo-5.1.6-3.el4s1.5.i386.rpm php-pear-1.4.11-1.el4s1.1.noarch.rpm php-pgsql-5.1.6-3.el4s1.5.i386.rpm php-snmp-5.1.6-3.el4s1.5.i386.rpm php-soap-5.1.6-3.el4s1.5.i386.rpm php-xml-5.1.6-3.el4s1.5.i386.rpm php-xmlrpc-5.1.6-3.el4s1.5.i386.rpm postgresql-8.1.8-1.el4s1.1.i386.rpm postgresqlclient7-7.4.14-1.el4s1.1.el4.centos.i386.rpm postgresql-contrib-8.1.8-1.el4s1.1.i386.rpm postgresql-devel-8.1.8-1.el4s1.1.i386.rpm postgresql-docs-8.1.8-1.el4s1.1.i386.rpm postgresql-libs-8.1.8-1.el4s1.1.i386.rpm postgresql-odbc-08.01.0200-2.el4s1.3.i386.rpm postgresql-pl-8.1.8-1.el4s1.1.i386.rpm postgresql-python-8.1.8-1.el4s1.1.i386.rpm postgresql-server-8.1.8-1.el4s1.1.i386.rpm postgresql-tcl-8.1.8-1.el4s1.1.i386.rpm postgresql-test-8.1.8-1.el4s1.1.i386.rpm unixODBC-2.2.12-1.el4s1.1.i386.rpm unixODBC-devel-2.2.12-1.el4s1.1.i386.rpm unixODBC-kde-2.2.12-1.el4s1.1.i386.rpm }}}

The CentOS Web Stack is part of the CentOSPlus Repository.

The best way to get the CentOS Web Stack is to use the yum priorities plugin. After installation, you should use the following extra settings to enable the stack.

In /etc/yum.repso.d/CentOS-Base.repo

{{{[base] exclude=php* httpd* postgres* MySQL* mysql* perl perl-DBD-MySQL perl-DBD-Pg perl-DBI perl-suidperl unixODBC* mod_auth_mysql mod_auth_pgsql mod_perl mod_perl-devel mod_ssl priority=1

[update] exclude=php* httpd* postgres* MySQL* mysql* perl perl-DBD-MySQL perl-DBD-Pg perl-DBI perl-suidperl unixODBC* mod_auth_mysql mod_auth_pgsql mod_perl mod_perl-devel mod_ssl priority=1

[centosplus] enable=1 priority=2 }}}

The above are just additions / changes to the base CentOS-Base.repo file. What this does is set [centosplus] repository with a Priority of 2 and [base] and [update] repositories with a Priority of 1. That means that [centosplus] can not replace packages in the [base] or [update] repositories.

The addition of the exclude= line will exclude all those files from [base] and [update] repositories, allowing them to be updated elsewhere (in this case from the [centosplus] repository).

As part of the setup of yum priorities plugin, you need to set up all .repo files with priorities from 1-99.

The recommended settings are: {{{[base], [addons], [update], [extras] ... priority=1

[centosplus],[contrib] ... priority=2

Third Party Repos ... priority=N (where N is > 10 and based on your preference) }}}


2023-09-11 07:19