ApacheModules

synopsis

Ce module facilite pour installer les modules Apache. Il spécifie la configuration de votre environnement. Vérifier la disponibilité de modules est possible. Il est à l’aise dans Ubuntu ainsi que dans Cent OS.

Commande Aide

Cette commande d’aide explique sur le but d’un module particulier. La syntaxe pour l’installation est représentée sous le commandement de l’aide. Il indique également les autres paramètres qui peuvent être utilisés pour la déclaration. La commande d’aide est facile à utiliser par l’utilisateur final. La commande suivante guide l’utilisateur sur l’utilisation de ce module.

ptconfigure apache modules help

Après avoir donné la commande, la commande affiche la liste des options d’aide. Les captures d’écran suivantes donneront effet visuel pour l’utilisation de ce 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 ne est pas un processus difficile à installer ce module sous ptconfigure en utilisant simplement la commande ci-dessous,

Install apache-modules install

Après avoir donné la commande, il vous demandera,

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.

Les captures d’écran suivantes donneront effet visuel pour l’installation de ce module.

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

Option

paramètres option paramètre alternatif Commentaires
Install Apache module?(Y/N) Yes Au lieu d’utiliser apachemodules the utilisateur peut utiliser ApacheModules,apachemods, apache-modules Il va installer le module Apache sous ptconfigure
Install Apache module?(Y/N) No Au lieu d’utiliser apachemodules the utilisateur peut utiliser ApacheModules,apachemods, apache-modules| L’utilisateur doit quitter l’installation.

avantages

  • Le module est une aide à Link avec ptconfigure.
  • Lors de l’installation des modules Apache, il sera accepter les fichiers de configuration.
  • Si les fichiers de configuration ne sont pas disponibles dans le système ce module sera automatiquement installer.
comments powered by Disqus