{"blog_url":"https://hasen.hatenablog.com/","type":"rich","width":"100%","height":"190","categories":["AWS","Tomcat"],"provider_url":"https://hatena.blog","published":"2018-02-24 10:56:19","version":"1.0","image_url":null,"url":"https://hasen.hatenablog.com/entry/2018/02/24/105619","title":"EC2\u306bTomcat\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff0e","blog_title":"hasen's tech life","description":"# EC2\u306bTomcat\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff0e $ sudo yum -y install java-1.7.0-openjdk-devel $ sudo yum install tomcat7 tomcat7-webapps $ sudo service tomcat7 start $ sudo chkconfig tomcat7 on $ sudo iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080 $ sudo vi /etc/tomcat7/server.xml ++ proxyPort=\u2026","author_url":"https://blog.hatena.ne.jp/hasen-fus/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhasen.hatenablog.com%2Fentry%2F2018%2F02%2F24%2F105619\" title=\"EC2\u306bTomcat\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff0e - hasen&#39;s tech life\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"hasen-fus","provider_name":"Hatena Blog"}