Installing the ADS-B Package in Linux
Linux is based on Unix and Apache
distribution. Each Linux distro uses
its own Apache distribution. The
difference among distributions is the
file format that they use. That makes
the process of installing an apache
server dependent on the Linux
distro.
Linux has a package manager
known as APT (Advanced Package
Tool) that allows you to download
and install software using command
line. Apt handles all the details
for you. In the following example,
we are installing the Apache
software using the package
manager.
To install Apache, use the
following command:
# apt-get install apache2
After it is installed, it can be
configured and started.
Configure the Apache
After the software has been
installed, you must configure it. You
do this using command-line
options, the file /etc/httpd/conf.d/
and command line options, or by
editing the file directly.
Edit the file
The file /etc/httpd/conf.d/
must be edited and is named
httpd.conf in Debian
based distros and httpd.conf.d in
Ubuntu. You must edit this file,
unless you have installed the
option of using the command line
options for configuring the server.
The configuration file
contains the information for
httpd to behave. If you know what
you want, there is a good chance
that this will satisfy your needs.
However, it is not uncommon to have
several sites on a single server and
this will not meet your needs.
As an example, you may want
different httpd to behave for
different sites on your server.
Here is a sample configuration
file:
#
# This is the main Apache server
# config file. It contains the
# configuration directives that
# serve to guide the server. You
# can find out more about
# configuration at
# /usr/share/doc/apache2/README.Debian.
#
# This is the configuration file for
# level 2 (common). It is used for
# most of the common features.
#
Listen 8888
NameVirtualHost 8888
# This is the configuration file for be359ba680
Related links:
Comments