TongWeb的安装

本帖最后由 lqph3387 于 2011-1-6 08:41 编辑

一,安装TongWeb5.0应用程序
TongWeb5.0需要在操作系统hosts文件中定义本机IP地址,并以本机的IP优先。如下所示:
192.168.12.1            localhost
127.0.0.1                  localhost
[tongweb@app9 ~]$useradd tongweb && su - tongweb
[tongweb@app9 ~]$sh Install_TW5.0.0.0_Linux.bin -i console
在Linux平台上安装TongWeb5.0,出现如下信息:
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
Preparing CONSOLE Mode Installation...
===================================================================TongWeb5.0 (created with InstallAnywhere)
-------------------------------------------------------------------------------
===================================================================License Agreement
-----------------
Installation and Use of TongWeb5.0 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:
2. 出现如上信息后,按回车键继续安装。
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:
3. 出现如上信息后,按回车键继续安装。
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
4. 出现如上信息后,请选择是否接受许可条款,若接受请输入y。
===============================================================================
Choose Install Folder
---------------------
Where would you like to install?
Default Install Folder: /home/tongweb/TongWeb5.0
ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
: /usr/local/TongWeb5.0
5. 出现如上信息后,请输入安装路径,若同意使用给出的默认安装路径,请按回车键继续安装。
===================================================================
Pre-Installation Summary
------------------------
Please Review the Following Before Continuing:
Product Name:
TongWeb5.0
Install Folder:
/usr/local/TongWeb5.0
Link Folder:
/usr/local/TongWeb5.0
Disk Space Information (for Installation Target):
Required: 139,934,247 bytes
Available: 40,788,152,320 bytes
PRESS <ENTER> TO CONTINUE:
6. 出现如上信息后,请确认预安装信息是否正确,若正确请按回车键继续安装。
===============================================================================
Installing...
-------------
[==================|==================|==================|==================]
[------------------|------------------|------------------|------------------]
===============================================================================
Installation Complete
---------------------
Congratulations. TongWeb5.0 has been successfully installed to:
/usr/local/TongWeb5.0
PRESS <ENTER> TO EXIT THE INSTALLER:
7. 出现如上信息后,表示成功安装产品,按回车键结束安装。

二,安装License
在TongWeb5.0产品光盘中提供有license文件。TongWeb5.0 license文件目前包含如下控制:
1. 版本
2. 有效期
安装方法:将TongWeb5.0产品光盘中的license.dat文件复制到安装完成的TongWeb5.0根目录下。

三,启动TongWeb服务器
TongWeb5.0安装成功后,使用TongWeb5.0_HOME/bin目录下的startserver.sh启动TongWeb5.0应用服务器
[tongweb@app9 ~]$sh /usr/local/TongWeb5.0/bin/startserver.sh &

四,登陆控制台测试
http://IP:9060/twns/ 默认用户名和密码均为twns

五,加入开机自动启动
[tongweb@app9 ~]$echo '/bin/su -c "/usr/local/TongWeb5.0/bin/startserver.sh &"  tongweb' >> /etc/rc.local

添加新评论 »