ApacheModules

Sinopsis

Este módulo facilita a instalar los módulos de Apache. En él se especifica la configuración de su entorno. Es posible comprobar la disponibilidad de los módulos. Es cómodo en Ubuntu así como en Cent OS.

comando Ayuda

Este comando ayuda explica sobre el propósito de un módulo en particular. La sintaxis para la instalación se representa bajo el comando de ayuda. También se enumeran los parámetros alternativos que se pueden utilizar para la declaración. El comando de ayuda es fácil de manejar por el usuario final. El comando siguiente guía al usuario sobre el uso de este módulo.

ptconfigure apache modules help

Después de dar el comando, el comando listará las opciones de ayuda. Las siguientes capturas de pantalla darán efecto visual para el uso de este módulo.

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
******************************

instalación

La instalación no es un proceso difícil de instalar este módulo bajo ptconfigure por la mera utilización de la orden dada a continuación,

Install apache-modules install

Después de dar la orden de que le preguntará,

Install Apache module? (Y/N)

Si le das una entrada como 'Y', se ha instalado correctamente el módulo.

Si le das una entrada como 'N', entonces saldrá de la instalación.

Las siguientes capturas de pantalla darán efecto visual para la instalación de este módulo.

kevell@corp:/# ptconfigure apache-modules install

Install Apache Modules? (Y/N)
y
*******************************
*        Pharaoh Tools        *
*         Apache Mods!        *
*******************************
[Pharaoh Logging] Package libxml2-dev from the Packager Apt is already installed, so not installing
Creating /tmp/ptconfigure-temp-script-35249017336.sh
chmod 755 /tmp/ptconfigure-temp-script-35249017336.sh 2>/dev/null
Changing /tmp/ptconfigure-temp-script-35249017336.sh Permissions
Executing /tmp/ptconfigure-temp-script-35249017336.sh
/tmp/ptconfigure-temp-script-35249017336.sh: 1: /tmp/ptconfigure-temp-script-35249017336.sh: a2enmod: not found
Temp File /tmp/ptconfigure-temp-script-35249017336.sh Removed
Creating /tmp/ptconfigure-temp-script-68493187412.sh
chmod 755 /tmp/ptconfigure-temp-script-68493187412.sh 2>/dev/null
Changing /tmp/ptconfigure-temp-script-68493187412.sh Permissions
Executing /tmp/ptconfigure-temp-script-68493187412.sh
/tmp/ptconfigure-temp-script-68493187412.sh: 1: /tmp/ptconfigure-temp-script-68493187412.sh: a2enmod: not found
Temp File /tmp/ptconfigure-temp-script-68493187412.sh Removed
Creating /tmp/ptconfigure-temp-script-47826905041.sh
chmod 755 /tmp/ptconfigure-temp-script-47826905041.sh 2>/dev/null
Changing /tmp/ptconfigure-temp-script-47826905041.sh Permissions
Executing /tmp/ptconfigure-temp-script-47826905041.sh
/tmp/ptconfigure-temp-script-47826905041.sh: 1: /tmp/ptconfigure-temp-script-47826905041.sh: a2enmod: not found
Temp File /tmp/ptconfigure-temp-script-47826905041.sh Removed
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

Creating config file /etc/php5/apache2/php.ini with new version
php5_invoke: Enable module opcache for apache2 SAPI
php5_invoke: Enable module readline for apache2 SAPI
php5_invoke: Enable module pdo for apache2 SAPI
php5_invoke: Enable module mcrypt for apache2 SAPI
php5_invoke: Enable module json for apache2 SAPI
apache2_switch_mpm Switch to prefork
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
apache2_invoke: Enable module php5
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
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  apache2
Suggested packages:
  apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils
  php-pear
The following NEW packages will be installed:
 apache2 libapache2-mod-php5
0 upgraded, 2 newly installed, 0 to remove and 70 not upgraded.
Need to get 0 B/2,295 kB of archives.
After this operation, 10.4 MB of additional disk space will be used.
Selecting previously unselected package apache2.
(Reading database ... 193229 files and directories currently installed.)
Preparing to unpack .../apache2_2.4.7-1ubuntu4.4_amd64.deb ...
Unpacking apache2 (2.4.7-1ubuntu4.4) ...
Selecting previously unselected package libapache2-mod-php5.
Preparing to unpack .../libapache2-mod-php5_5.5.9+dfsg-1ubuntu4.7_amd64.deb ...
Unpacking libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.7) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up apache2 (2.4.7-1ubuntu4.4) ...
* Restarting web server apache2
  ...done.
Setting up libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.7) ...
Module mpm_event disabled.
Enabling module mpm_prefork.
* Restarting web server apache2
  ...done.
* Restarting web server apache2
  ...done.
[Pharaoh Logging] Adding Package libapache2-mod-php5 from the Packager Apt executed correctly
Creating /tmp/ptconfigure-temp-script-70188204368.sh
chmod 755 /tmp/ptconfigure-temp-script-70188204368.sh 2>/dev/null
Changing /tmp/ptconfigure-temp-script-70188204368.sh Permissions
Executing /tmp/ptconfigure-temp-script-70188204368.sh
Module php5 already enabled
Temp File /tmp/ptconfigure-temp-script-70188204368.sh Removed
[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:
--------------------------------------------
ApacheModules: Success
------------------------------
Installer Finished
******************************

opción

Parámetros parámetros alternativos Necesario Comentario
Install Apache Module? (Y/N) En lugar de utilizar ApacheModules también podemos utilizar apachemods, apache-module, apachemodules Y(Yes) Si el usuario da entrada como sí, va a instalar el módulo.
Install Apache Module? (Y/N) En lugar de utilizar ApacheModules también podemos utilizar apachemods, apache-module, apachemodules| N(No) Si el usuario da entrada como no, se cierra.

Beneficios

  • El módulo es una ayuda a Link con ptconfigure.
  • Durante la instalación de los módulos de Apache, será aceptar los archivos de configuración.
  • Si los archivos de configuración no están disponibles en el sistema de este módulo se instalará automáticamente.
comments powered by Disqus