|

__________
Linux
command and other help
__________
Fedora
Core 2 installation.
(for DNS server)
__________
Fedora
Core 4 installation.
(for DNS server)
__________
Net-Qmail
Installation Powerful Linux E-mail Server
_________
Install webmin in fedora core 3
__________
INSTALLATION
OF MRTG & RRD TOOL (Fedora Core2/ Redhat 8/ 9)
__________
Squid Installation.
__________
Another
Squid installation
_________
Apache
Installation
__________
ISP
Servers IPtables firewall setup
__________
Linux
Monitoring system Setup
_________
Linux
Base POP/ POP3 and SMTP traffic Virus and Spam Scanning/ filtering
Firewall
_________
Clam
Anti Virus Installation
_________
Spam-Assassin
Installation
_________
Bonding
/ Binding Multiple interfaces into single interface
_________
Use
more than 1 DSL modems without noticing disconnectivity
_________
|
|
rrizwanahmed@gmail.com
All
configuration are working fine in live/ LAB environments
I tried many Apache installation but found this one much better than
others, this installation which I found from "Nasim Mansurov"
site ( http://megaz.arbuz.com )
covers all my needs which I want from my Apache server. This
installation working fine on my live servers. this
installation does not cover JSP/ Java Support for apache, JSP/ Java
support is listed in other installation guide in my site. Apache,
PHP, GD & Mod_perl installation Guide

This guide is for those who want to build a stable Apache compiled
with PHP, GD, mod_ssl and mod_perl for production servers. Since a lot
of people get confused with a source installation, I decided to write
this guide to help them out. It's very sad that the latest versions of
linux come with Apache2, which is not yet
ready to be built for real production servers. After checking out
Apache2, I found the following problems:
- mod_perl is unstable on
Apache2. After testing some scripts that heavily rely on mod_perl, I
came across segmentation faults and weird errors.
- PHP will not compile into
Apache2 - it can only be installed as a DSO module. PHP should never
be installed as a module - unless you don't care about the
performance. If you read here
it clearly states: "Do not use Apache 2.0 and PHP in a
production environment neither on Unix nor on Windows".
- Some apache 1.3.x modules
don't work with Apache2.
I'm sure there are more problems out there, but they are all getting
fixed day by day. Apache2 has some very neat features and I hope to see
it in production servers soon.
Apache, PHP, IMAP, MySQL,
XML, GD, mod_ssl, mod_perl Guide
1) Who should use this guide?
Anyone who wants to have a stable version of Apache in a production
environment. ISPs and companies that provide web services are highly
encouraged to use this howto to get maximum performance from their web
servers.
2) On what operating systems has this guide been tested on?
This guide was tested on various Linux flavors, including Fedora Core,
RedHat Linux, Mandrake and SuSe. People have also reported successfull
installs on FreeBSD systems. If you make it work on any other platform,
please let me know

3) What about security and performance?
Less modules, more security and better performance. That's how it works
for Apache. I tried to include a very small number of modules that are
used most. Modules like mod_ssl and mod_bandwidth are common in most
ISPs I know, but they could be removed, if necessary.
5) Stuff we'll be needing (sources)
Download the following sources to a src directory i.e. /usr/local/src
Apache and Apache modules:
- Apache
1.3.33 from http://httpd.apache.org
- mod_perl
1.29 from http://perl.apache.org
- mod_ssl
2.8.24 from http://www.modssl.org
- MySQL 4.1.14
from http://www.mysql.com
- PHP 5.0.5 from http://www.php.net
- PHP 4.4.0 from http://www.php.net
(for PHP 4 installation)
- IMAP 2004g
from http://www.washington.edu/imap
- mod_bandwidth
2.0.6 from http://www.cohprog.com
- libmcrypt
2.5.7 from http://mcrypt.hellug.gr
- mhash
0.9.2 from http://mhash.sourceforge.net
- Sablotron
1.0.1 from http://www.gingerall.com
- Expat
1.95.7 from http://sourceforge.net/projects/expat
6) Configuring, compiling and installing a database (MySQL)
The first step is to install a database. I assume that you are
installing MySQL as a database backend. If you are installing any other
database, skip this step and install the database on your own. If you
have a binary version, make sure that sources and libraries are included
as well, because we will be needing them to compile a database link into
PHP and Perl.
So, let's start with installing MySQL:
# cd /usr/local/src
# tar zxf mysql-standard-4.1.14-pc-linux-gnu-i686.tar.gz
# mv mysql-standard-4.1.14-pc-linux-gnu-i686 /usr/local/mysql
# groupadd mysql
# useradd -g mysql mysql
# cd /usr/local/mysql
# scripts/mysql_install_db
# chown -R root /usr/local/mysql
# chown -R mysql /usr/local/mysql/data
# chgrp -R mysql /usr/local/mysql
# cp /usr/local/mysql/support-files/mysql.server /etc/rc.d/init.d/mysqld
# chmod 755 /etc/rc.d/init.d/mysqld
# /etc/rc.d/init.d/mysqld start
MySQL is installed and should be up and running. Type ps
ax and look for running MySQL processes or /usr/local/mysql/bin/mysql
-p. When it asks for a password, type in the root password and
see if you get any errors. If you see a mysql>
prompt, everything went ok. Just type "exit" to get back to
shell. If there is an error saying "Can't connect to local MySQL
server", something went wrong.
Continue to next page .............
Page:
1 , 2
, 3
|
|

|