获取linux
可执行安装包 如: Install_TWx.x.x.x_Enterprise_Linux.bin
创建安装所需配置文件 install.properties
内容如下
[root@node5 tongweb]# cat install.properties
INSTALL_UI=silent
USER_INSTALL_DIR=/home/tongweb
SILENT_JDK_HOME=/jdk/jre1.8.0_181
# "tong-http-listener","system-http-listener","ejb-server-listener","jmsservice","
shutdown-port"
USER_INPUT_PORTS_RESULTS="8081","9061","5101","7201","8006"
silent:静默模式
进行安装
sh Install_TWx.x.x.x_Enterprise_Linux.bin -i silent -f install.properties
证书放到指定的安装目录下 /home/tongweb
名称必须为 license.dat
启动TongWeb
cd /home/tongweb/bin
sh startservernohup.sh
获取 linux
绿色安装包 如: TongWeb7.0.4.9_M1_Enterprise_Linux.tar.gz
解压 TongWeb7.0.4.9_M1_Enterprise_Linux.tar.gz
tar -zxvf TongWeb7.0.4.9_M1_Enterprise_Linux.tar.gz
设置 JAVA
证书放到 TongWeb7.0.4.9_M1_Enterprise_Linux
下 名称必须为 license.dat
启动TongWeb
cd TongWeb7.0.4.9_M1_Enterprise_Linux/bin/
sh startservernohup.sh
TongWeb7.0.4.9_M1_Enterprise_Linux/bin/external.vmoptions
# 进入 TongWeb7.0.4.9_M1_Enterprise_Linux/bin
[liqiao@hostnamehost144x174 see]$ cd TongWeb7.0.4.9_M1_Enterprise_Linux/bin/
[liqiao@hostnamehost144x174 bin]$ cat external.vmoptions
#jvm_options
-Xms2048m
-Xmx2048m
-XX:CICompilerCount=6
-XX:MaxPermSize=512m
-server
-XX:+UnlockDiagnosticVMOptions
-XX:+LogVMOutput
-Djava.io.tmpdir=${TongWeb_Base}/temp
-Duser.dir=${TongWeb_Base}/bin
-Djava.security.egd=file:/dev/./urandom
-XX:LogFile=${TongWeb_Base}/logs/jvm.log
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=${TongWeb_Base}/logs/heap${sysdate}.hprof
-Djava.security.policy=${TongWeb_Base}/conf/tongweb.policy
-Djava.endorsed.dirs=${JAVA_ENDORSED_DIRS}
-Djava.util.logging.manager=com.tongweb.log.TongwebLogManager
-javaagent:${TongWeb_Home}/lib/ejb-agent.jar
-Djava.awt.headless=true
-Dibm.stream.nio=true
-Djava.net.preferIPv4Stack=false
#server_options
-Dcom.tongweb.commons.logging.Log=com.tongweb.commons.logging.impl.Jdk14Logger
-Dtongweb.restart.interval=1
-Dtongweb.java=${JAVA_HOME}
-Dtongweb.upload=${TongWeb_Base}/temp/upload
-Dtongweb.app=${TongWeb_Base}/deployment
-Dtongweb.sys