|
195.
|
|
|
The <application>tomcat7-admin</application> package contains two webapps that can be used to administer the Tomcat server using a web interface. You can install them by entering the following command in the terminal prompt:
|
|
|
|
Le paquet <application>tomcat7-admin</application> contient deux applications web qui peuvent être utilisées pour administrer le serveur Tomcat à l'aide d'une interface web. Vous pouvez installer ces applications web en saisissant la commande suivante dans un terminal[nbsp] :
|
|
Translated by
Philip Millan
|
|
|
|
Located in
serverguide/C/web-servers.xml:1158(para)
|
|
196.
|
|
|
sudo apt-get install tomcat7-admin
|
|
|
|
sudo apt-get install tomcat7-admin
|
|
Translated by
Philip Millan
|
|
|
|
Located in
serverguide/C/web-servers.xml:1163(command)
|
|
197.
|
|
|
The first one is the <emphasis>manager</emphasis> webapp, which you can access by default at http://yourserver:8080/manager/html. It is primarily used to get server status and restart webapps.
|
|
|
|
La première application Web est <emphasis>manager</emphasis>. Vous pouvez y accéder par défaut sur http://yourserver:8080/manager/html. Elle est principalement utilisée pour obtenir les statuts du serveur et redémarrer les applications Web.
|
|
Translated by
Pierre Slamich
|
|
|
|
Located in
serverguide/C/web-servers.xml:1150(para)
|
|
198.
|
|
|
Access to the <emphasis>manager</emphasis> application is protected by default: you need to define a user with the role "manager-gui" in <filename>/etc/tomcat7/tomcat-users.xml</filename> before you can access it.
|
|
|
|
L'accès au gestionnaire <emphasis> </emphasis> application est protégée par défaut: vous devez définir un utilisateur avec le rôle "manager-gui " dans <filename> /etc/tomcat7/tomcat-users.xml </filename > avant que vous puissiez y accéder.
|
|
Translated by
Pierre Slamich
|
|
|
|
Located in
serverguide/C/web-servers.xml:1168(para)
|
|
199.
|
|
|
The second one is the <emphasis>host-manager</emphasis> webapp, which you can access by default at http://yourserver:8080/host-manager/html. It can be used to create virtual hosts dynamically.
|
|
|
|
La seconde application Web <emphasis>host-manager</emphasis>. Vous pouvez y accéder par défaut sur http://yourserver:8080/host-manager/html. Elle peut être utilisée pour créer dynamiquement des hôtes virtuels.
|
|
Translated by
Pierre Slamich
|
|
|
|
Located in
serverguide/C/web-servers.xml:1157(para)
|
|
200.
|
|
|
Access to the <emphasis>host-manager</emphasis> application is also protected by default: you need to define a user with the role "admin-gui" in <filename>/etc/tomcat7/tomcat-users.xml</filename> before you can access it.
|
|
|
|
L'accès à la <emphasis> hôte-manager </emphasis> application est également protégée par défaut: vous devez définir un utilisateur avec le rôle "admin-gui " dans <filename> /etc/tomcat7/tomcat-users.xml </filename> pour que vous puissiez y accéder.
|
|
Translated by
Pierre Slamich
|
|
|
|
Located in
serverguide/C/web-servers.xml:1176(para)
|
|
201.
|
|
|
For security reasons, the tomcat7 user cannot write to the <filename>/etc/tomcat7</filename> directory by default. Some features in these admin webapps (application deployment, virtual host creation) need write access to that directory. If you want to use these features execute the following, to give users in the tomcat7 group the necessary rights:
|
|
|
|
Pour des raisons de sécurité, l'utilisateur tomcat7 peut pas écrire sur le <filename> /etc/tomcat7 </filename> par défaut. Certaines fonctionnalités de ces webapps administration (déploiement d'applications, la création d'un hôte virtuel) ont besoin d'un accès en écriture à ce répertoire. Si vous souhaitez utiliser ces fonctions exécutez la commande suivante, pour donner aux utilisateurs dans le groupe tomcat7 les droits nécessaires:
|
|
Translated by
Pierre Slamich
|
|
|
|
Located in
serverguide/C/web-servers.xml:1181(para)
|
|
202.
|
|
|
sudo chgrp -R tomcat7 /etc/tomcat7
|
|
|
|
sudo chgrp -R tomcat7 /etc/tomcat7
|
|
Translated by
Philip Millan
|
|
|
|
Located in
serverguide/C/web-servers.xml:1188(command)
|
|
203.
|
|
|
sudo chmod -R g+w /etc/tomcat7
|
|
|
|
sudo chmod -R g+w /etc/tomcat7
|
|
Translated by
Philip Millan
|
|
|
|
Located in
serverguide/C/web-servers.xml:1189(command)
|
|
204.
|
|
|
Tomcat examples webapps
|
|
|
|
Exemples d'applications Web Tomcat
|
|
Translated by
Pierre Slamich
|
|
|
|
Located in
serverguide/C/web-servers.xml:1179(title)
|