Wednesday, January 2, 2008

Humorous Wedding Koozies

Apache 1.3 - Installation



NOTE:
Apache 1.3 + Debian 4.1





- Introduction -



"Apache is the most widely used HTTP server on the Internet. In May 2006, its share among servers accounted for nearly 65%. In combination with an interpreter for the PHP scripting language and MySQL database, Apache is one of the most common environments in companies that offer a place on network servers. Netcraft, a company specializing in monitoring the Internet, in July 2007 examined more than 100 million Web sites. It turned out that the share Apache'aw Web server market now amounts to 48.42% and the share of Microsoft's IIS - 36.21. Similar studies in November 2005 showed that the Apache has a 71% market share and Microsoft less than 20%.
Apache / PHP is a competitive platform for Microsoft's ASP.NET technology, based on the commercial IIS server. Along with PHP and MySQL database engine on Linux, Apache is called. LAMP platform (Linux, Apache, MySQL, PHP). "

[Source:

http://pl.wikipedia.org/wiki/Apache_ (server)
1). Install using apt-get

After installing Debian, we have typically entered

source file / etc / apt / sources.list . In this case, type in console:

$ apt-get update

$ apt-get ugrade
$ apt-get install apache
And it's basically the whole philosophy. Of course, if you want to install additional modules for Apache to enter:
$ apt-get install libapache-mod-[module name]

In order to check what modules are available from our sources type:
$ apt-cache search libapache-mod

And if we know what we are looking for something such as:
$ apt-cache search libapache-mod
And yet another way to install, this time with sources. After downloading the file from the source (eg apache_1.3.39.tar.gz) must be decompressed. After entering the appropriate command will extract the source of the current directory:

Extracting. "Tar.gz"

$ tar zxvf package.tar.gz

Extracting ". Tar.bz"

$ tar package xvjf . tar.bz

Extracting. "bz"
$ bunzip2 file.bz


Extracting. "gz" gunzip $ file.gz


Then we need to configure the source (as regards the detailed description of the options available to invite you to read the file README.configure in the source directory).

To see the available options, we can also write: $. / Configure - help

So to configure the source type:
$. / Configure

then build a package with Apache using the command:

$ make


Please be patient as this may take a while. This time depends on the number of modules which załączymy.

final step is to install - type in console:
$ make install


- Complete -

Now just make sure that everything works as it should. For this purpose, we use the script located in the directory / etc / init.d. It is used as follows:
$ / etc / init.d / httpd {start own needs, but it will be part of the next post.


NOTE:
read the messages carefully especially if the installation fails!


For installations with dpkg it may be a lack of other packages. Deb, which requires apache, then I recommend going on:
http://packages.debian.org/stable/web/apache
If Install from sources mostly by typing
. / configure
turns out that we are missing some libraries or simply do not have installed the compiler (eg gcc

.) Then when you set up the communications to be przyjżeć and robin doinstalowywać required libraries or programs. May prove useful *. log file from the source directory. Writes in it all the installation steps and showing the errors.



Jaromir Świechowski



0 comments:

Post a Comment