(1)将EC2上默认安装的Java7升级到Java8
(reference:http://serverfault.com/questions/664643/how-can-i-upgrade-to-java-1-8-on-an-amazon-linux-server):
sudo yum remove java-1.7.0-openjdk
sudo yum install java-1.8.0
(2)安装tomcat8:
(reference:http://stackoverflow.com/questions/26637550/how-to-install-tomcat-8-in-amazon-webservices-ec2)
yum install tomcat8-webapps tomcat8-admin-webapps
脑洞:关于EC2的security group的设定,今天又犯迷糊了,应该是这样的:
没有评论:
发表评论