I have created instance in amazon web services and i have connected to server using putty through ssh.
我已经在亚马逊网络服务中创建了实例,并且我已经通过ssh使用putty连接到服务器。
but i do not know how to install tomcat 8 in amazon ec2. please help me on this.
但我不知道如何在亚马逊ec2中安装tomcat 8。请帮帮我。
3 个解决方案
#1
30
You can use yum tool to install the tomcat8 packer from amazon default repository.
您可以使用yum工具从amazon默认存储库安装tomcat8打包程序。
The command is: yum install tomcat8-webapps tomcat8-admin-webapps
命令是:yum install tomcat8-webapps tomcat8-admin-webapps
#2
6
If you also want to know the help documentation, the command is: sudo yum install tomcat8-webapps tomcat8-docs-webapp tomcat8-admin-webapps
如果您还想了解帮助文档,则命令为:sudo yum install tomcat8-webapps tomcat8-docs-webapp tomcat8-admin-webapps
#3
2
The below Link works well for EC2 / Linux or Mac
以下链接适用于EC2 / Linux或Mac
sudo yum install tomcat8-webapps tomcat8-docs-webapp tomcat8-admin-webapps
This will install:
这将安装:
- WebApps Folder
- WebApps文件夹
- Tomcat documentation (Gives local documentation for qucik reference)
- Tomcat文档(提供qucik参考的本地文档)
- Admin App : through which you can install / export / start /stop / reload an application (without having to login)
- 管理员应用程序:您可以通过它安装/导出/启动/停止/重新加载应用程序(无需登录)
Note: When a Manager App is installed - be sure to change the default roles and permissions etc and Password too. Otherwise you are very vulnerable. Its best to disable the admin module for better security.
注意:安装Manager应用程序时 - 请务必更改默认角色和权限等以及密码。否则你很脆弱。最好禁用管理模块以提高安全性。
#1
30
You can use yum tool to install the tomcat8 packer from amazon default repository.
您可以使用yum工具从amazon默认存储库安装tomcat8打包程序。
The command is: yum install tomcat8-webapps tomcat8-admin-webapps
命令是:yum install tomcat8-webapps tomcat8-admin-webapps
#2
6
If you also want to know the help documentation, the command is: sudo yum install tomcat8-webapps tomcat8-docs-webapp tomcat8-admin-webapps
如果您还想了解帮助文档,则命令为:sudo yum install tomcat8-webapps tomcat8-docs-webapp tomcat8-admin-webapps
#3
2
The below Link works well for EC2 / Linux or Mac
以下链接适用于EC2 / Linux或Mac
sudo yum install tomcat8-webapps tomcat8-docs-webapp tomcat8-admin-webapps
This will install:
这将安装:
- WebApps Folder
- WebApps文件夹
- Tomcat documentation (Gives local documentation for qucik reference)
- Tomcat文档(提供qucik参考的本地文档)
- Admin App : through which you can install / export / start /stop / reload an application (without having to login)
- 管理员应用程序:您可以通过它安装/导出/启动/停止/重新加载应用程序(无需登录)
Note: When a Manager App is installed - be sure to change the default roles and permissions etc and Password too. Otherwise you are very vulnerable. Its best to disable the admin module for better security.
注意:安装Manager应用程序时 - 请务必更改默认角色和权限等以及密码。否则你很脆弱。最好禁用管理模块以提高安全性。