|
205.
|
|
|
The <application>tomcat7-examples</application> package contains two webapps that can be used to test or demonstrate Servlets and JSP features, which you can access them by default at http://yourserver:8080/examples. You can install them by entering the following command in the terminal prompt:
|
|
|
|
Le <application> tomcat7-exemples </application> contient deux webapps qui peuvent être utilisés pour tester ou démontrer servlets et JSP caractéristiques, que vous pouvez y accéder par défaut à http://yourserver:8080/examples. Vous pouvez les installer en entrant la commande suivante dans l'invite de terminal:
|
|
Translated by
Pierre Slamich
|
|
|
|
Located in
serverguide/C/web-servers.xml:1195(para)
|
|
206.
|
|
|
sudo apt-get install tomcat7-examples
|
|
|
|
sudo apt-get install tomcat7-examples
|
|
Translated by
Philip Millan
|
|
|
|
Located in
serverguide/C/web-servers.xml:1201(command)
|
|
207.
|
|
|
Using private instances
|
|
|
|
Utilisation des instances privées
|
|
Translated by
Pierre Slamich
|
|
|
|
Located in
serverguide/C/web-servers.xml:1192(title)
|
|
208.
|
|
|
Tomcat is heavily used in development and testing scenarios where using a single system-wide instance doesn't meet the requirements of multiple users on a single system. The Tomcat packages in Ubuntu come with tools to help deploy your own user-oriented instances, allowing every user on a system to run (without root rights) separate private instances while still using the system-installed libraries.
|
|
|
|
Tomcat est largement utilisé dans les scénarios de développement et de test où l'utilisation d'une seule instance échelle du système ne répond pas aux exigences de plusieurs utilisateurs sur un seul système. Les packages Tomcat dans Ubuntu sont livrés avec des outils pour aider déployer vos propres instances axés sur l'utilisateur, permettant à chaque utilisateur d'un système à fonctionner (sans les droits root) instances privées distinctes tout en utilisant les bibliothèques du système installé.
|
|
Translated by
Pierre Slamich
|
|
|
|
Located in
serverguide/C/web-servers.xml:1208(para)
|
|
209.
|
|
|
It is possible to run the system-wide instance and the private instances in parallel, as long as they do not use the same TCP ports.
|
|
|
|
Il est possible de lancer les instances système et privée en parallèle, du moment qu'elles n'utilisent pas les mêmes ports TCP.
|
|
Translated by
Pierre Slamich
|
|
|
|
Located in
serverguide/C/web-servers.xml:1200(para)
|
|
210.
|
|
|
Installing private instance support
|
|
|
|
Installation de la gestion des instances privées
|
|
Translated by
Pierre Slamich
|
|
|
|
Located in
serverguide/C/web-servers.xml:1204(title)
|
|
211.
|
|
|
You can install everything necessary to run private instances by entering the following command in the terminal prompt:
|
|
|
|
Vous pouvez installer tout ce qui est nécessaire pour lancer une instance privée en saisissant la commande suivante dans un terminal[nbsp] :
|
|
Translated by
Pierre Slamich
|
|
|
|
Located in
serverguide/C/web-servers.xml:1205(para)
|
|
212.
|
|
|
sudo apt-get install tomcat7-user
|
|
|
|
sudo apt-get install tomcat7-user
|
|
Translated by
Philip Millan
|
|
|
|
Located in
serverguide/C/web-servers.xml:1223(command)
|
|
213.
|
|
|
Creating a private instance
|
|
|
|
Création d'une instance privée
|
|
Translated by
Pierre Slamich
|
|
|
|
Located in
serverguide/C/web-servers.xml:1212(title)
|
|
214.
|
|
|
You can create a private instance directory by entering the following command in the terminal prompt:
|
|
|
|
Vous pouvez créer un répertoire d'instance privée en saisissant la commande suivant dans un terminal[nbsp] :
|
|
Translated by
Pierre Slamich
|
|
|
|
Located in
serverguide/C/web-servers.xml:1213(para)
|