Ubuntu将tomcat7 端口改为81:
apt-get install authbind
vi /etc/default/tomcat7
AUTHBIND=yes (默认为#AUTHBIND=no)
:wq
vi /var/lib/tomcat7/conf/server.xml (默认为8080)
<Connector port="81" protocol="HTTP/1.1"
connectionTimeout="20000"
URIEncoding="UTF-8"
redirectPort="8443" />
:wq