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

Latest News
[ Windows | Linux | Apple ]

· What's Wrong with the Xbox One? and more
· Microsoft updates its YouTube Windows Phone app with some concessions to Google
· 3 Debian Updates
· The third screen: Will all Windows 8 apps run on Microsoft's Xbox One?
· CentOS-6.4 LiveCD and LiveDVD for i386 and x86_64 released
· Apple OS X malware outbreak could give UK firms a bad Hangover
· 5 Modem At Command Examples in Linux (How to Configure Minicom)
· CompatDB Updates 05/22/13
· Removing and Wiping Drivers Guide and more
· Windows Server 2012 Essentials SDK Installer 1.1

Upcoming News
· Gigabyte Fly Headphones Review
· i-Mego Walker Junior Noise Cancelling Headphones Review @ TestFreaks
· bits from the piuparts maintainers: the first million is the hardest
· AMD Launches Its 2013 Mobile APU Products
· AMD 2013 A and E-Series Kabini and Temash Mobile APUs @ HotHardware.com
· AMD Kabini, Temash and Richland Information Overload
· ZOTAC GeForce GTX 680 AMP! Edition Graphics Card Review @ HardwareHeaven.com
· SanDisk Ultra Plus 256GB SSD Review
· What’s Wrong with the Xbox One? @ TestFreaks
· [CentOS-announce] CEBA-2013:0857 CentOS 6 qemu-kvm Update

Linux Compatibility
· Dell Dimension 9100
· CL-CAM50001 UPC=3700284609322
· DFE 520 TX
· nVidia GeForce4 MX 440
· Gore: Ultimate Soldier
· SMC2802W V2 wi-fi 54Mbps PCI card
· Wireless modem router N300
· Dell P780
· ASUS A7V8X
· BricsCAD for Linux

New Forum Topics
· shutdown link ?
by: estirwent
on: 2013-05-11 17:46
18 replies, 6449 views

· Laptop keyboard drank soda
by: Zenn
on: 2013-04-30 00:27
1 replies, 697 views

· connecting to to internet with ubuntu
by: Zenn
on: 2013-04-30 00:26
2 replies, 4567 views

· Need Linux-compatible PS/2 expansion card
by: Zenn
on: 2013-04-30 00:26
1 replies, 768 views

· irql_not_less_or_equal blue screen
by: Zenn
on: 2013-04-30 00:25
2 replies, 1145 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-2013 Esselbach Internet Solutions - All Rights Reserved. Terms and privacy policy
Powered by Contentteller® Business Edition