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.
Imaapa1.jpg

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
Imaapa2.jpg


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

Imaapa3.jpg

Remark:

Starting the apache2

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

Imaapa4.jpg

Checking the version of the apache installed

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

Imaapa5.jpg

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

Imaapa6.jpg


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

Imaapa7.jpg


See also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox