About us Privacy Disclaimer Contact us
FAQ Help Advertising Feedback
Home Sitemap Search Donate us

  Home > Computer & I'net > Linux - Step by Step Instal...

   Browse by title articles:
   What is hot:

Linux - Step by Step Install o...

Linux - Step by Step Install o...

Module mod_rewrite Tutorial (P...

Module mod_rewrite Tutorial (P...

Module mod_rewrite Tutorial (P...

Module mod_rewrite Tutorial (P...

Graphics for the web: JPG and PNG Files
Picking the Right Font Face for your Document
Clickbank Security Using PHP
When to Develop a Wireless Website
Prev articles1 2 3Next articles



Linux - Step by Step Install of Apache PHP SSL and more





Overview

A step by step installation guide on how to install Apache on Linux box. As well along PHP, SSL and few other options.

Download

Visit the individual websites and download the latest tarball.

Build and Install

The following instructions is what I've installed in the past on several machines you may want to leave out certain components or add in more. For example, I did not include Perl in the build this is something you might want to add. First step configure apache install directory

cd apache.x.x.x

./configure

--prefix=/usr/local/apachex.x.x

cd ..

Now you can configure the other components you want to build with Apache.

 

zLib

 

./configure --prefix=/usr/local/zlib

 

make

 

make install

 

mysql

 

Please see Linux - Step By Step Install of mySQL

 

pspell (must be installed before aspell )

 

./configure --prefix=/usr/local

 

make

 

make install

 

aspell

 

./configure --prefix=/usr/local

 

make

 

make install

 

gd (http://www.boutell.com)

 

./configure --prefix=/usr/local/gd

 

make

 

make install

 

jpeg

 

./configure --prefix=/usr/local --enabled-shared

 

make

 

make install

 

expat

 

./configure --prefix=/usr/local

 

make

 

make install

 

sablotron (http://www.gingerall.com)

 

./configure --prefix=/usr/local

 

make

 

make install

 

PHP

 

./configure --prefix=/usr/local/php \

 

--with-mysql=/usr/local/mysql \

 

--with-xml \

 

--with-apache=../apachex.x.x \

 

--with-zlib=/usr/local/zlib

 

--with-java=/usr/local \

 

--with-pspell=/usr/local \

 

--with-gd=/usr/local/gd \

 

--enable-track-vars \

 

--enable-trans-sid \

 

--enable-xslt \

 

--with-xslt-sablot \

 

--with-expat

 

make

 

make install

 

cp php.ini-dist /usr/local/lib/php.ini

 

OpenSSL

 

./configure --prefix=/usr/local/ssl

 

make

 

make test

 

make install

 

Mod SSL

 

./configure --with-apache=../apachex.x.x

 

Apache

 

SSL_BASE=../openssl-x.x.x

 

./configure \

 

--enable-module=ssl \

 

--activate-module=src/modules/php4/libphp4.a \

 

--enable-module=php4 \

 

--prefix=/usr/local/apache \

 

--enable-shared=ssl \

 

--enable-shared=max \

 

--enable-module=most \

 

make

 

make certificate TYPE=custom

 

Now enter your SSL Infomation, you will be prompted with several questions

 

make install

You are now done, start apache by typing in /usr/local/apache/bin/apachectl startssl. You might prompt for th SSL password. Point you browser to your server's ip and you should see the apache default screen.


-----------------
Jason Lam , http://www.jasonlam604.com/




Articles

Auto & Trucks

Business

Computer & I'net

  ·General

  ·Apache

  ·CSS

  ·Database

  ·Hardware

  ·HTML

  ·Javascript&DHTML

Linux

  ·MySQL

  ·Operating System

  ·Perl / CGI

  ·PHP

  ·Programming

  ·Publishing

  ·Search Engines

  ·Software Problems

  ·SSI

  ·Tips & Tricks

  ·Utilities

  ·Web Design

Family

Food & Drink

Gardening

Health

Other

Pets

Psychology

Spiritual

Travel

Women

 Calculators

Amortization




  Disclaimer | Privacy | Terms of useCopyright © 2004 Nice2know.com