Apache Module

Recap

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

Installation

Installation is not a difficult process to install this module under Cleopatra 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 usage of this module.

kevells@corp:/#  cleopatra 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/cleopatra-temp-script-11435369770.sh
chmod 755 /tmp/cleopatra-temp-script-11435369770.sh 2>/dev/null
Changing /tmp/cleopatra-temp-script-11435369770.sh Permissions
Executing /tmp/cleopatra-temp-script-11435369770.sh
Enabling module rewrite.
To activate the new configuration, you need to run:
 service apache2 restart
Temp File /tmp/cleopatra-temp-script-11435369770.sh Removed
Creating /tmp/cleopatra-temp-script-95277456152.sh
chmod 755 /tmp/cleopatra-temp-script-95277456152.sh 2>/dev/null
Changing /tmp/cleopatra-temp-script-95277456152.sh Permissions
Executing /tmp/cleopatra-temp-script-95277456152.sh
Considering dependency filter for deflate:
Module filter already enabled
Module deflate already enabled
Temp File /tmp/cleopatra-temp-script-95277456152.sh Removed
Creating /tmp/cleopatra-temp-script-1351048337.sh
chmod 755 /tmp/cleopatra-temp-script-1351048337.sh 2>/dev/null
Changing /tmp/cleopatra-temp-script-1351048337.sh Permissions
Executing /tmp/cleopatra-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/cleopatra-temp-script-1351048337.sh Removed
[Pharaoh Logging] Package libapache2-mod-php5 from the Packager Apt is already installed, so not installing
Creating /tmp/cleopatra-temp-script-89813944614.sh
chmod 755 /tmp/cleopatra-temp-script-89813944614.sh 2>/dev/null
Changing /tmp/cleopatra-temp-script-89813944614.sh Permissions
Executing /tmp/cleopatra-temp-script-89813944614.sh
Module php5 already enabled
Temp File /tmp/cleopatra-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
******************************

In Cent Os

It will be installed as configuration. Cleopatra apache modules install It will ask install Apache module Y/N? If you give the command “Y” It will check the dependencies and install it. If you give the command “N” It will return to the existing place.

Benefits to the users

The module is an aid to Link with Cleopatra. 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. Separate Modules are available.

Options

Parameters Required Comments
Install Yes It will install the apache module under Cleopatra
Install Apache Module? (Y/N) Yes If the user gives input as yes, it will install the module.
Install Apache Module? (Y/N) No If the user gives input as no, it will be exited.|

Help command

This help command explains about the installation of a particular module. The help command is easy to operate by the end user. The following command guided the user about the installation.

cleopatra 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.

kevells@corp:/# cleopatra 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: cleopatra apache-modules install

------------------------------
End Help
******************************
comments powered by Disqus

Edit this document!

This file can be edited directly through the Web. Anyone can update and fix errors in this document with few clicks -- no downloads needed.

  1. Go to Apache Module on GitHub.
  2. Edit files using GitHub's text editor in your web browser (see the 'Edit' tab on the top right of the file)
  3. Fill in the Commit message text box at the bottom of the page describing why you made the changes. Press the Propose file change button next to it when done.
  4. Then click Send a pull request.
  5. Your changes are now queued for review under the project's Pull requests tab on GitHub!

For an introduction to the documentation format please see the reST primer.