码迷,mamicode.com
首页 > 其他好文 > 详细

centos7安装配置jetty

时间:2015-11-04 19:45:53      阅读:154      评论:0      收藏:0      [点我收藏+]

标签:jetty

yum -y install java-1.7.0-openjdk

wget http://download.eclipse.org/jetty/stable-9/dist/jetty-distribution-9.2.5.v20141112.tar.gz

tar zxvf jetty-distribution-9.2.5.v20141112.tar.gz -C /opt/

mv /opt/jetty-distribution-9.2.5.v20141112/ /opt/jetty

cd /opt/jetty/bin

sh ./jetty.sh start

浏览器http://IP:8080/即可



ln -s /opt/jetty/bin/jetty.sh /etc/init.d/jetty

chkconfig --add jetty

chkconfig --level 345 jetty on

vi /etc/default/jetty

JETTY_HOME=/opt/jetty

JETTY_USER=jetty

JETTY_PORT=8080

JETTY_HOST=50.116.24.78

JETTY_LOGS=/opt/jetty/logs/

service jetty start


http://os.51cto.com/art/201502/464740.htm


centos7安装配置jetty

标签:jetty

原文地址:http://guowang327.blog.51cto.com/6513732/1709673

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!