CentOS6下面vigro tomcat 步骤分享

1,Downloading the ZIP file
http://www.eclipse.org/virgo/download/

2,Installing
Linux

To install Virgo Server for Apache Tomcat on Linux, unzip the distribution package to the desired installation directory. For example, to install into /opt:

prompt$ unzip virgo-web-server-3.5.0.RELEASE.zip -d /opt

This creates a directory called virgo-web-server-3.5.0.RELEASE under /opt.
3,Set environment variable variables
Edit the /etc/profile file to add the SERVER_HOME and JAVA_HOME environment variables. For example, if you installed into /opt:

export SERVER_HOME=/opt/virgo-web-server-3.5.0.RELEASE/
export JAVA_HOME=/user/java/jdk1.6.0_17
export PATH=$JAVA_HOME/bin:$PATH

To verify the setting of JAVA_HOME, issue the command $JAVA_HOME/bin/java -version from a new terminal window and ensure that the command completes successfully and reports a Java version 1.6.x (denoting Java 6) or greater.
4,Starting Virgo Server for Apache Tomcat
prompt$ cd $SERVER_HOME
prompt$ bin/startup.sh
=====此时,我机子上报错:Exception by agent,host name unknown ist......
但我用prompt$ hostname又能找的到hostname:ist
最后,修改了hosts问题得解决。改后hosts如下:
# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
[b]127.0.0.1 ist[/b]
注意加粗这行,就是因为加了这行问题才得已解决的。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值