`
zhanglinw0822
  • 浏览: 18818 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论

linux随笔

阅读更多
一、crontab -e 然后配置下列内容 可以设置 tomcat 开机自动启动

@reboot /opt/heer/tomcat6020/bin/startup.sh

二、iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
可以将80端口请求转发到8080
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics