ApacheModules

Synopsis

This module facilitates to install the Apache modules. It specifies the configuration of your environment. The checking availability of modules is possible. It is comfortable in Ubuntu as well as in Cent OS.

Help command

This help command explains about the purpose of a particular module. The syntax for installation is depicted under the help command. It also lists out the alternative parameters that can be used for declaration. The help command is easy to operate by the end user. The following command guides the user about using this module.

ptconfigure apache modules help

After giving the command, the command will list the help options. The following screen shots will give visual effect for the usage of this module.

kevell@corp:/# ptconfigure ApacheModules help
******************************


 This command is part of Core and provides you  with a method by which you can configure Application Settings.
 You can configure default application settings, ie: mysql admin user, host, pass

 ApacheModules, apachemods, apache-modules, apachemodules

       - install
       Installs common apache Modules
       example: ptconfigure apache-modules install

------------------------------
End Help
******************************

Installation

Installation is not a difficult process to install this module under ptconfigure by merely using the command given below,

Install apache-modules install

After giving the command it will ask,

Install Apache module? (Y/N)

If you give an input as ‘Y’, the module will be installed successfully.
If you give an input as ‘N’, then it will come out of the installation.

The following screen shots will give visual effect for the installation of this module.

kevell@corp:/#  ptconfigure apache-modules install
Install Apache Modules? (Y/N)
y
*******************************
*        Pharaoh Tools        *
*         Apache Mods!        *
*******************************
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
 libxml2-dev
0 upgraded, 1 newly installed, 0 to remove and 229 not upgraded.
Need to get 630 kB of archives.
After this operation, 2,928 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main libxml2-dev amd64 2.9.1+dfsg1-3ubuntu4.4 [630 kB]
Fetched 630 kB in 2min 38s (3,990 B/s)
Selecting previously unselected package libxml2-dev:amd64.
(Reading database ... 181481 files and directories currently installed.)
Preparing to unpack .../libxml2-dev_2.9.1+dfsg1-3ubuntu4.4_amd64.deb ...
Unpacking libxml2-dev:amd64 (2.9.1+dfsg1-3ubuntu4.4) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up libxml2-dev:amd64 (2.9.1+dfsg1-3ubuntu4.4) ...
[Pharaoh Logging] Adding Package libxml2-dev from the Packager Apt executed correctly
Creating /tmp/ptconfigure-temp-script-11435369770.sh
chmod 755 /tmp/ptconfigure-temp-script-11435369770.sh 2>/dev/null
Changing /tmp/ptconfigure-temp-script-11435369770.sh Permissions
Executing /tmp/ptconfigure-temp-script-11435369770.sh
Enabling module rewrite.
To activate the new configuration, you need to run:
 service apache2 restart
Temp File /tmp/ptconfigure-temp-script-11435369770.sh Removed
Creating /tmp/ptconfigure-temp-script-95277456152.sh
chmod 755 /tmp/ptconfigure-temp-script-95277456152.sh 2>/dev/null
Changing /tmp/ptconfigure-temp-script-95277456152.sh Permissions
Executing /tmp/ptconfigure-temp-script-95277456152.sh
Considering dependency filter for deflate:
Module filter already enabled
Module deflate already enabled
Temp File /tmp/ptconfigure-temp-script-95277456152.sh Removed
Creating /tmp/ptconfigure-temp-script-1351048337.sh
chmod 755 /tmp/ptconfigure-temp-script-1351048337.sh 2>/dev/null
Changing /tmp/ptconfigure-temp-script-1351048337.sh Permissions
Executing /tmp/ptconfigure-temp-script-1351048337.sh
Considering dependency setenvif for ssl:
Module setenvif already enabled
Considering dependency mime for ssl:
Module mime already enabled
Considering dependency socache_shmcb for ssl:
Enabling module socache_shmcb.
Enabling module ssl.
See /usr/share/doc/apache2/README.Debian.gz on how to configure SSL and create self-signed certificates.
To activate the new configuration, you need to run:
  service apache2 restart
Temp File /tmp/ptconfigure-temp-script-1351048337.sh Removed
[Pharaoh Logging] Package libapache2-mod-php5 from the Packager Apt is already installed, so not installing
Creating /tmp/ptconfigure-temp-script-89813944614.sh
chmod 755 /tmp/ptconfigure-temp-script-89813944614.sh 2>/dev/null
Changing /tmp/ptconfigure-temp-script-89813944614.sh Permissions
Executing /tmp/ptconfigure-temp-script-89813944614.sh
Module php5 already enabled
Temp File /tmp/ptconfigure-temp-script-89813944614.sh Removed
[Pharaoh Logging] Restarting apache2 service
Output of config test was:
apache2: Syntax error on line 214 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or
directory
Action 'configtest' failed.
The Apache error log may have more information.
* Restarting web server apache2
  ...fail!
* The apache2 configtest failed.
... All done!
*******************************
Thanks for installing , visit www.pharaohtools.com for more
******************************


Single App Installer:
--------------------------------------------
ApacheModules: Success
------------------------------
Installer Finished
******************************

Option

Parameters Required Alternative Parameters Comments
Install Apache Module? (Y/N) Yes Instead of using apachemodules the user can use ApacheModules, apachemods apache-modules If the user wish to install they can input as Y.
Install Apache Module? (Y/N) No Instead of using apachemodules the user can use ApacheModules, apachemods apache-modules| If the user wish to quit uninstallation they can input as N.

Benefits

  • The module is an aid to Link with ptconfigure.
  • While installing the Apache modules, it will acquiesce the configuration files.
  • If the configuration files are not available in the system this module will automatically install it.
comments powered by Disqus