Linux Compatible
  • News
    • Channels
    • Archive
    • Search
    • Submit
  • Articles
    • Categories
  • Knowledgebase
  • Compatibility
    • Search
  • Links
  • Forums
  • Twitter
Advertisement

Latest News
[ Windows | Linux | Apple ]

· CompatDB Updates 05/25/12
· Rumor: Microsoft Office coming to iPad, Android in November
· Microsoft clarifies Ballmer's claims of massive Windows 8 adoption
· DSA 2480-1: request-tracker3.8 security update
· CentOS 6 NTP Server
· Daily Reviews Summary 05/24/12
· Bayan Audio - Bayan 7 iPod Speaker Dock Review
· Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support (LEMP) On Ubuntu 12.04 LTS
· Ubuntu 12.04 + Nvidia - Heavy CPU usage
· Windows 8 puts end to endless reboots

Upcoming News
· Noontec A9 Smart TV Box Review
· OC3D: AMD A8-3870K Black Edition & Hybrid Crossfire Review
· Thermaltake Dr Power II Power Supply Tester Review @ eTeknix.com
· MSI R7850 Power Edition 2 GB @ techPowerUp
· News: Have Internet, will travel
· MSI Radeon HD 7850 Power Edition OC review
· Xigmatek Dark Knight SD1283 Night Hawk Edition CPU Cooler Review
· REVIEW: Max Keyboard Nighthawk X8 @ PureOverclock
· Kingston HyperX 3K 240GB and SSDNow V+200 240GB Review
· Thermaltake Armor Revo Snow Edition Full Tower Case Review @ Hi Tech Legion

Linux Compatibility
· Canon Canoscan N650U
· TB-5300 Slimline Design Tablet
· HANDYCAM DCR-HC17E
· Linksys Wireless-G WPC54G PC-Card
· XPS L502X
· Slim Portable DVD Writer GP10
· AverTV Volar Green HD
· Dell Latitude E6420
· Canon CanoScan FB 636U
· Logitech QuickCam Pro 4000

New Forum Topics
· USB Not detected on any PC
by: AntNik45
on: 2012-05-09 18:37
0 replies, 0 views

· RESIDENT EVIL 2 for PC
by: elyp00
on: 2012-05-04 07:55
0 replies, 0 views

· Need to know if those graphic cards works well on Ubuntu
by: Dechiqtor
on: 2012-04-19 23:04
0 replies, 0 views

· Obtaining IE8
by: packman
on: 2012-04-14 19:46
0 replies, 0 views

· A few problems running Warcraft II Battle.net Edition on Vista
by: Lord Claremorris
on: 2012-04-08 16:15
0 replies, 0 views

News Channels
· Drivers
· Guides
· Reviews
· Security
· Software
· Press Release
· Updates
· Interviews
· Linux
· General
· Debian
· Red Hat
· Slackware
· Gentoo
· Mandriva
· White Box
· SUSE
· GNOME
· KDE
· CentOS
· Ubuntu
· MEPIS
· Android

What's New
Login to see an overview of all news stories since your last visit.

Welcome to our website

To take full advantage of all features you need to login or register. Registration is completely free and takes only a few seconds.

Linux Compatible » Knowledgebase » Can I upgrade the Apache Webserver on the RaQ3?

Can I upgrade the Apache Webserver on the RaQ3?

Posted by: Philipp Esselbach on: 01/01/2004 06:00 PM [ Print | 0 comment(s) ]

Yes. Do the follow to install Apache 1.3.26 on the Cobalt RaQ3:

Telnet/SSH to your server and type \\"su -\\" to login as root. Then run the follow commands:
cd /usr/local
wget http://httpd.apache.org/dist/apache_1.3.26.tar.gz
tar xzvf apache_1.3.26.tar.gz
wget http://www.openssl.org/source/openssl-0.9.6g.tar.gz
tar xzvf openssl-0.9.6g.tar.gz
wget http://www.modssl.org/source/mod_ssl-2.8.10-1.3.26.tar.gz
tar xzvf mod_ssl-2.8.10-1.3.26.tar.gz
wget http://perl.apache.org/dist/mod_perl-1.27.tar.gz
tar xzvf mod_perl-1.27.tar.gz
wget http://pam.sourceforge.net/mod_auth_pam/dist/mod_auth_pam.tar.gz
tar xzvf mod_auth_pam.tar.gz
ln -s /usr/local/apache_1.3.26 /usr/local/apache
cd apache
./configure --prefix=/etc/httpd
cd ../openssl-0.9.6e
./config
make
make install
cd ../mod_ssl_2.8.10-1.3.26
./configure --with-apache=/usr/local/apache
cp /usr/local/mod_auth_pam-1.0a/mod_auth_pam.c /usr/local/apache/src/modules/extra/
cd ../usr/local/mod_perl-1.27
perl Makefile.PL APACHE_SRC=../apache/src DO_HTTPD=1 USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1
make
make install
cd ../usr/local/apache
pico config.status

Cut&paste the follow into the config.status file:
#!/bin/sh
##
## config.status -- APACI auto-generated configuration restore script
##
## Use this shell script to re-run the APACI configure script for
## restoring your configuration. Additional parameters can be supplied.
##

CFLAGS=\\"-DBIG_SECURITY_HOLE\\" \\\\
LIBS=\\"-lpam -ldl\\" \\\\
SSL_BASE=\\"/usr/local/ssl\\" \\\\
./configure \\\\
\\"--prefix=/etc/httpd\\" \\\\
\\"--runtimedir=/var/run\\" \\\\
\\"--logfiledir=/var/log/httpd\\" \\\\
\\"--enable-module=ssl\\" \\\\
\\"--enable-module=setenvif\\" \\\\
\\"--enable-module=so\\" \\\\
\\"--enable-module=unique_id\\" \\\\
\\"--enable-module=example\\" \\\\
\\"--enable-module=usertrack\\" \\\\
\\"--enable-module=expires\\" \\\\
\\"--enable-module=cern_meta\\" \\\\
\\"--enable-module=digest\\" \\\\
\\"--enable-module=auth_db\\" \\\\
\\"--enable-module=auth_anon\\" \\\\
\\"--enable-module=auth\\" \\\\
\\"--enable-module=access\\" \\\\
\\"--enable-module=rewrite\\" \\\\
\\"--enable-module=alias\\" \\\\
\\"--enable-module=proxy\\" \\\\
\\"--enable-module=userdir\\" \\\\
\\"--enable-module=speling\\" \\\\
\\"--enable-module=actions\\" \\\\
\\"--enable-module=imap\\" \\\\
\\"--enable-module=asis\\" \\\\
\\"--enable-module=cgi\\" \\\\
\\"--enable-module=dir\\" \\\\
\\"--enable-module=autoindex\\" \\\\
\\"--enable-module=include\\" \\\\
\\"--enable-module=info\\" \\\\
\\"--enable-module=status\\" \\\\
\\"--enable-module=negotiation\\" \\\\
\\"--enable-module=mime\\" \\\\
\\"--enable-module=mime_magic\\" \\\\
\\"--enable-module=log_referer\\" \\\\
\\"--enable-module=log_agent\\" \\\\
\\"--enable-module=log_config\\" \\\\
\\"--enable-module=env\\" \\\\
\\"--enable-module=mmap_static\\" \\\\
\\"--activate-module=src/modules/extra/mod_auth_pam.o\\" \\\\
\\"--activate-module=src/modules/extra/mod_define.o\\" \\\\
\\"--activate-module=src/modules/perl/libperl.a\\" \\\\
\\"$@\\"

Run this script with: ./config.status (return)

Then do the follow:
cd src
pico apaci

Cut&paste the follow into the apaci file:
#!/bin/sh
## USED AS A COMMAND LINE EXPANDER TO OVERRIDE PATHS
## WITHOUT DISTURBING THE KNOWN MAKE BUILD PROCESS DISPLAY
echo \\\'-DHTTPD_ROOT=\\"/etc/httpd\\"\\\'
echo \\\'-DSUEXEC_BIN=\\"/usr/bin/suexec\\"\\\'
echo \\\'-DSHARED_CORE_DIR=\\"/usr/lib/apache\\"\\\'
echo \\\'-DDEFAULT_PIDLOG=\\"/var/run/httpd.pid\\"\\\'
echo \\\'-DDEFAULT_SCOREBOARD=\\"/var/run/httpd.scoreboard\\"\\\'
echo \\\'-DDEFAULT_LOCKFILE=\\"/var/run/httpd.lock\\"\\\'
echo \\\'-DDEFAULT_XFERLOG=\\"/var/log/httpd/access_log\\"\\\'
echo \\\'-DDEFAULT_ERRORLOG=\\"/var/log/httpd/error_log\\"\\\'
echo \\\'-DTYPES_CONFIG_FILE=\\"conf/mime.types\\"\\\'
echo \\\'-DSERVER_CONFIG_FILE=\\"conf/httpd.conf\\"\\\'
echo \\\'-DACCESS_CONFIG_FILE=\\"conf/access.conf\\"\\\'
echo \\\'-DRESOURCE_CONFIG_FILE=\\"conf/srm.conf\\"\\\'
echo \\\'-DSSL_CERTIFICATE_FILE=\\"conf/ssl.crt/server.crt\\"\\\'
echo \\\'-DEAPI_MM_CORE_PATH=\\"/var/run/httpd.mm\\"\\\'

Then do the follow:
cd ..
make
/etc/rc.d/init.d/admserv stop
/etc/rc.d/init.d/httpd stop
mv /usr/sbin/httpd /usr/sbin/httpd.old
cd src
cp httpd /usr/sbin
/etc/rc.d/init.d/admserv start
/etc/rc.d/init.d/httpd start

Done! You are now running Apache/1.3.26 (Unix) mod_perl/1.27 mod_auth_pam/1.0a mod_ssl/2.8.10 OpenSSL/0.9.6g on your RaQ3


Bookmark and Share

« How can I install PHP on my RaQ3 server? · How can I install OpenSSH on my RaQ3/4? »

Linux Compatible » Knowledgebase » Can I upgrade the Apache Webserver on the RaQ3?
All products mentioned are registered trademarks or trademarks of their respective owners.
© 2002-2011 Esselbach Internet Solutions - All Rights Reserved. Terms and privacy policy
Powered by Contentteller® Business Edition