Install Apache 2.2.11

From OpenFSG

Jump to: navigation, search

Contents

Install Apache 2.2.11

This “how to” has been based upon firmware 4.4.5 beta. The author doesn’t take any responsibility for this “how to”, it is provided as is and for reference purposes only. The publisher is not responsible for any damage, loss of data, security risk or dysfunction that might arise from using this “how to”. Be informed that you use this “how to” at your own risk.

Procedure to identify the current installed version of Apache


Install Apache 2

Install the apache packages

Log in to the FSG via SSH (see procedure “Connect to the FSG via the SSH server.pdf” ) and su to root.

At the / type the command ipkg list | more
This command allows to verify if the linux installer ipkg works.
With the “| more” suffix one get a page per page view.

If you receive and error with the IPKG installer please consult the www.openfsg.org forum – use the search functionality.

To install the apache packages type: Ipkg install apache
The IPKG installer gets the package from the download location and installs it in /opt


Go to the /opt/etc directory, there you will find the apache2 directory.

Remark:

  • the .org files ar copies I make of the original files when I need to make modifications.

Starting the apache2

To start the apache2 execute the following command: /opt/sbin/apachectl f /opt/etc/apache2/httpd.conf

Checking the version of the apache installed

Go to the /opt/sbin directory and type ./httpd –v

One can see that the installed version is 2.2.11

Examining the apachectl file

When one examines the apachectl file in /opt/sbin Type the command: vi apachectl


Now enter the following url in your browser: http://ip_of_your_lan_interface:8000 and you should get:


See also

Personal tools