This modules aims at installing the Apache server. Without any request it will automatically install the current version of the apache server while installation.
The help command describes about the purpose and the commands available under this modules. It also explains the command to install the particular module.
ptconfigure ApacheServer help
The screen shot as shown below, visually represent the usage of the help command under this module.
kevell@corp:/# ptconfigure ApacheServer help
******************************
This command is part of Core and provides you with a method by which you can install Apache HTTP Server
ApacheServer, apache-server, apacheserver
- install
Installs Apache HTTP Server
example: ptconfigure apacheserver install
------------------------------
End Help
******************************
It is easier to install this particular tool under ptconfigure by simply using the command given below,
ptconfigure ApacheServer install
After giving the command above, the tool will ask as
Install Apache Server? (Y/N)
if you give an input as Y, the module will get installed successfully.
The screen shot given below explains visually about the steps and commands involves in installation.
kevell@corp:/# ptconfigure apacheserver install
Install Apache Server? (Y/N)
Y
*******************************
* Pharaoh Tools *
* Apache Server! *
*******************************
[Pharaoh Logging] Package apache2 from the Packager Apt is already installed, so not installing
[Pharaoh Logging] Restarting apache2 service
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
* Restarting web server apache2
...done.
... All done!
*******************************
Thanks for installing , visit www.pharaohtools.com for more
******************************
Single App Installer:
--------------------------------------------
ApacheServer: Success
------------------------------
Installer Finished
******************************
| Parameters | Alternative Parameters | Required | Comments |
|---|---|---|---|
| Install Apache Server? (Y/N) | Instead of ApacheServer, we can use apache-server, apacheserver also. | Yes | If the user gives input as yes, it will proceed installation |
| Install Apache Server? (Y/N) | Instead of ApacheServer, we can use apache-server, apacheserver also. | No | If the user gives input as no, it will quit the installation process| |
While the tool is processing it will automatically grabs the most-recent updated version and makes it to get ready for installation.