东方通 TongWeb安装(安装截图懒得放了)
东方通tongweb linux安装
第一步、把安装的bin文件和license.dat文件上传到/home/tongweb(此目录自建)目录下。
第二步、运行sh Install_TW7.0.4.2_Enterprise_Linux.bin -i console进行命令行安装
Preparing to install
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
===============================================================================
TongWeb7.0 Enterprise (created with InstallAnywhere)
-------------------------------------------------------------------------------
Preparing CONSOLE Mode Installation...
===============================================================================
License Agreement
-----------------
Installation and Use of TongWeb7.0 Enterprise Requires Acceptance of the
Following License Agreement:
End user license agreement for Tongtech co., LTD software
The End user license agreement will be accompanied with the products and
related documents of Tongtech co., LTD. Please read it carefully. You will
be asked to accept this license and continue the installation. If you do
not accept this license, you should refuse it and quit the installation.
Grant of license:
Tongtech co., LTD grants you the license to use the software program, but
you must make such assurance as following to our company: Do not use, copy,
modify,rent or convey this system besides the terms listed in this license and
the formal contact signed with Tongtech co., LTD.
You guarantee:
1. Using this software only on a single computer;
2. For the purpose of backup or archival management for the use on one
computer, making copy of this system by machine-reading format.
You guarantee not:
1. Transfer license of this system again.
2. Getting source codes of this system by altering, modifying, translating,
reversing, anti-editing, anti-compiling or any other methods.
PRESS <ENTER> TO CONTINUE:
按下回车进入下一步(同意协议)
3. Copy or transfer this software in whole or in part.
When you transfer this software in part or in whole to any third part, your
right to use the software shall terminate immediately and without notice.
The copyright and ownership of this software:
The copyright of this software is owned by Tongtech co., LTD. The
structures, tissues and codes are the most valuable commercial secrets of
Tongtech co., LTD. This software and documents are protected by national
copyright laws and international treaty provisions. You are not allowed to
delete the copyright notice from this software. You must agree to prohibit any
kind of illegal copy of this software and documents.
Limited warranty:
In the largest permitting area of the law, In no situation shall Tongtech
co., LTD be liable for any special, unexpected, direct or indirect damages
(including, without limitation, damages for loss of business profits, business
interruption, loss of business information, or any other pecuniary loss)
arising out of the use of or inability to use this product and the providing
or inability to provide supporting services, even if Tongtech co., LTD has
been advised of the possibility of such damages.
PRESS <ENTER> TO CONTINUE:
按下回车进入下一步
Termination:
Tongtech co., LTD may terminate the license at any time if you violate any
term or condition of the license. When the license is terminated, you must
destroy all copies of the software and all of its documents immediately, or
return them to Tongtech co., LTD.
Law:
"Intelligent Property Protection Regulation", "Copyright Law", "Exclusive Law"
Now, you must have already carefully read and understand this license, and
agreed to obey all the terms and conditions strictly.
DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT? (Y/N):Y
输入Y后按下回车
===============================================================================
Choose Java Virtual Machine
---------------------------
Please Choose a Java VM for Use by the Installed Application
->1- /usr/bin/java
2- /home/jdk1.8.0_271/bin/java
3- Choose a Java VM already installed on this system
ENTER THE NUMBER FOR THE JAVA VM, OR PRESS <ENTER> TO ACCEPT THE
CURRENT SELECTION: 2
选择一个按下回车
===============================================================================
Choose Install Folder
---------------------
Where would you like to install?
Default Install Folder: /root/TongWeb7.0
ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
:/home/tongweb
输入安装目录按下回车
===============================================================================
Choose Link Location
--------------------
Where would you like to create links?
->1- Default: /root
2- In your home folder
3- Choose another location...
4- Don't create links
ENTER THE NUMBER OF AN OPTION ABOVE, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
: 4
输入4不创建链接,回车
===============================================================================
Pre-Installation Summary
------------------------
Please Review the Following Before Continuing:
Product Name:
TongWeb7.0 Enterprise
Install Folder:
/home/tongweb
Link Folder:
DO NOT INSTALL
Disk Space Information (for Installation Target):
Required: 435,277,084 Bytes
Available: 95,098,306,560 Bytes
PRESS <ENTER> TO CONTINUE:
按下回车
===============================================================================
Installing...
-------------
[==================|==================|==================|==================]
[------------------|------------------|------------------|------------------]
===============================================================================
Set Ports
---------
Enter requested information
tong-http-listener (Default: 8088): 按下回车
system-http-listener (Default: 9060): 按下回车
ejb-server-listener (Default: 5100): 按下回车
jmx-service (Default: 7200): 按下回车
shutdown-port (Default: 8005): 按下回车
===============================================================================
Installation Complete
---------------------
Congratulations. TongWeb7 has been successfully installed to:
/home/tongweb
PRESS <ENTER> TO EXIT THE INSTALLER: 按下回车退出安装程序
启动命令:bin目录下执行
./startservernohup.sh
停止命令:
./stopserver.sh
注意点总结:
1、license.dat需要放到安装目录根目录下。<br>例如 XXX/TongWeb7.0/license.dat
2、若启动系统报错如下:
java.lang.IllegalArgumentException: An invalid character [32] was present in the Cookie value
需添加参数:
启动参数配置---->服务器启动参数
-DuseLegacyCookieProcessor=true
3、杀死进程
查看进程号,用kill命令杀死TongWeb进程。
ps -ef|grep tongweb
kill -9 XXX
4、删除已部署内容
cd /root/TongWeb7.0/deployment
rm -rf fastcms/
5、配置JVM占用内存
根据实际内存配置,比如系统2G
建议最大:1024M
建议最小:512M