FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 12-31-2007, 05:52 AM
"Mad Unix"
 
Default RHEL5 and Apache configuration

I want to install apache on RHEL5 and configure it with othe options such as

'./configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--enable-shared'
'--with-mysql=/usr/local/mysql' '--with-zlib-dir=/usr/lib/'
'--enable-versioning' '--enable-track-vars=yes'
'--enable-url-includes--enable-sysvshm=yes' '--enable-sysvsem=yes'
'--with-gettext' '--enable-mbstring' '--enable-ftp' '--enable-calendar'
'--with-config-file-path=/etc'
'--with-oci8=/u01/app/oracle/oracle/product/10.2.0/db_1' '--enable-soap'
'--with-gd' '--enable-xml' '--with-xml' '--enable-sysvsem'
'--enable-sysvshm' '--enable-sysvmsg' '--with-regex=system' '--with-png'
'--with-ttf=/usr/lib' '--enable-sigchild'
'--with-jpeg-dir=/usr/local/lib/jpeg-6b'
'--with-freetype-dir=/usr/local/lib/freetype'

can I do this using rpm or I should with source?
--
madunix
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 12-31-2007, 11:29 AM
"Manuel Arostegui Ramirez"
 
Default RHEL5 and Apache configuration

2007/12/31, Mad Unix <madunix@gmail.com>:
> I want to install apache on RHEL5 and configure it with othe options such as
>
> './configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--enable-shared'
> '--with-mysql=/usr/local/mysql' '--with-zlib-dir=/usr/lib/'
> '--enable-versioning' '--enable-track-vars=yes'
> '--enable-url-includes--enable-sysvshm=yes' '--enable-sysvsem=yes'
> '--with-gettext' '--enable-mbstring' '--enable-ftp' '--enable-calendar'
> '--with-config-file-path=/etc'
> '--with-oci8=/u01/app/oracle/oracle/product/10.2.0/db_1' '--enable-soap'
> '--with-gd' '--enable-xml' '--with-xml' '--enable-sysvsem'
> '--enable-sysvshm' '--enable-sysvmsg' '--with-regex=system' '--with-png'
> '--with-ttf=/usr/lib' '--enable-sigchild'
> '--with-jpeg-dir=/usr/local/lib/jpeg-6b'
> '--with-freetype-dir=/usr/local/lib/freetype'
>
> can I do this using rpm or I should with source?

You might want to take a look at the apache spec file and if something
doesn´t fit what you need, just rebuild the package.

Manuel

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 01-01-2008, 03:22 PM
"Marcos Aurelio Rodrigues"
 
Default RHEL5 and Apache configuration

i think the options that you wrote are php options...but anyway...

I think to build a rpm package is always the best option (control,
security), but when i do that, i prefer to install in other directories like
/usr/local. if you do so, download the last apache source, i think is
better...


Its my opnion...


--
========================================
Marcos Aurelio Rodrigues (DEiGrAtiA-33)
<deigratia33@gmail.com>
CCNA
Mirabilia laudo semprer, Dei
========================================



On Dec 31, 2007 9:29 AM, Manuel Arostegui Ramirez <manuel@todo-linux.com>
wrote:

> 2007/12/31, Mad Unix <madunix@gmail.com>:
> > I want to install apache on RHEL5 and configure it with othe options
> such as
> >
> > './configure' '--with-apxs2=/usr/local/apache/bin/apxs'
> '--enable-shared'
> > '--with-mysql=/usr/local/mysql' '--with-zlib-dir=/usr/lib/'
> > '--enable-versioning' '--enable-track-vars=yes'
> > '--enable-url-includes--enable-sysvshm=yes' '--enable-sysvsem=yes'
> > '--with-gettext' '--enable-mbstring' '--enable-ftp' '--enable-calendar'
> > '--with-config-file-path=/etc'
> > '--with-oci8=/u01/app/oracle/oracle/product/10.2.0/db_1' '--enable-soap'
> > '--with-gd' '--enable-xml' '--with-xml' '--enable-sysvsem'
> > '--enable-sysvshm' '--enable-sysvmsg' '--with-regex=system' '--with-png'
> > '--with-ttf=/usr/lib' '--enable-sigchild'
> > '--with-jpeg-dir=/usr/local/lib/jpeg-6b'
> > '--with-freetype-dir=/usr/local/lib/freetype'
> >
> > can I do this using rpm or I should with source?
>
> You might want to take a look at the apache spec file and if something
> doesn´t fit what you need, just rebuild the package.
>
> Manuel
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 01-02-2008, 03:18 PM
Shawn Wells
 
Default RHEL5 and Apache configuration

Mad Unix wrote:

I want to install apache on RHEL5 and configure it with othe options such as

'./configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--enable-shared'
'--with-mysql=/usr/local/mysql' '--with-zlib-dir=/usr/lib/'
'--enable-versioning' '--enable-track-vars=yes'
'--enable-url-includes--enable-sysvshm=yes' '--enable-sysvsem=yes'
'--with-gettext' '--enable-mbstring' '--enable-ftp' '--enable-calendar'
'--with-config-file-path=/etc'
'--with-oci8=/u01/app/oracle/oracle/product/10.2.0/db_1' '--enable-soap'
'--with-gd' '--enable-xml' '--with-xml' '--enable-sysvsem'
'--enable-sysvshm' '--enable-sysvmsg' '--with-regex=system' '--with-png'
'--with-ttf=/usr/lib' '--enable-sigchild'
'--with-jpeg-dir=/usr/local/lib/jpeg-6b'
'--with-freetype-dir=/usr/local/lib/freetype'

can I do this using rpm or I should with source?



Personally I'd do it by source. But that's my own (old) habits.

You can download the SRPM from ftp.redhat.com. Select the proper
version for yourself:


rpm -ivh
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/httpd-2.2.3-11.el5.src.rpm
rpm -ivh
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/httpd-2.2.3-6.el5.src.rpm
rpm -ivh
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/httpd-2.2.3-7.el5.src.rpm


Look in the /usr/src/redhat/SPECS/ directory and see if they're compiled
with the options you need. The 2.2.3-11 build contains:


../configure
--prefix=%{_sysconfdir}/httpd
--exec-prefix=%{_prefix}
--bindir=%{_bindir}
--sbindir=%{_sbindir}
--mandir=%{_mandir}
--libdir=%{_libdir}
--sysconfdir=%{_sysconfdir}/httpd/conf
--includedir=%{_includedir}/httpd
--libexecdir=%{_libdir}/httpd/modules
--datadir=%{contentdir}
--with-installbuilddir=%{_libdir}/httpd/build
--with-mpm=$mpm
--with-apr=%{_prefix} --with-apr-util=%{_prefix}
--enable-suexec --with-suexec
--with-suexec-caller=%{suexec_caller}
--with-suexec-docroot=%{contentdir}
--with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log
--with-suexec-bin=%{_sbindir}/suexec
--with-suexec-uidmin=500 --with-suexec-gidmin=100
--enable-pie
--with-pcre
$*

Most modules are, well, modular. You can always add in the extra stuff
that you need (like Oracle) without recompiling the stock RHEL5 Apache
release.


Let me know if this helps.

Shawn

--
Shawn D. Wells
Solutions Architect, Federal Team
swells@redhat.com
C: 443-534-0130


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 07:36 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org