Tmax-Jeus-Webtob

[Tmaxsoft] WebtoB 5.0 웹서버 구축하기

IT-PAPA 2023. 2. 6. 06:30
728x90
반응형

Tmaxsoft 제품 중 웹서버 제품인 Webtob 구축하는 과정을 소개하고자 한다.
아래는 간단하게 WebtoB 설치 과정이니, 관심 있는 유저는 따라 해보길 바란다.

 

JEUS 설치

[TmaxSoft] JEUS 8.5 설치 (tistory.com)

 

[TmaxSoft] JEUS 8.5 설치

오늘은 Jeus 설치를 위한 과정을 소개하고자 한다. 개인이 사용하기에 무료라이선스를 사용할 수 있기 때문에 쉽게 접근할 수 있고, 설치도 어렵지 않다. JEUS 8.5 플랫폼 다운로드 페이지 TmaxSoft Tec

betwe.tistory.com

 

TMAX 설치

[Tmaxsoft] 미들웨어 TMAX 5.0 구축 하기 (tistory.com)

 

WebtoB 메인 화면

 

TmaxSoft Technical Network [technet-02]

데모라이선스 신청 데모라이선스는 제품구입 전 테스트 및 검토를 위하여 제한 된 기간 동안 발급받아 사용가능한 라이선스 입니다.

technet.tmaxsoft.com

webtob 메인 화면
webtob 메인 화면

 

WebtoB 다운로드 페이지

WebtoB 다운로드 페이지
WebtoB 다운로드 페이지

 

WebtoB 5.0 플랫폼 선택 for Linux (x86) 64-bit (사용자 환경에 따라 선택)

WebtoB 5.0 플랫폼 선택
WebtoB 5.0 플랫폼 선택

 

WebtoB 파일 업로드

WebtoB 파일 업로드
WebtoB 파일 업로드

 

 

WEBTOB5_0_SP0_Fix0_LinuxK2_6_x64.bin 파일 실행권한 부여

chmod 750 WEBTOB5_0_SP0_Fix0_LinuxK2_6_x64.bin
master@master:~/install$ chmod 750 WEBTOB5_0_SP0_Fix0_LinuxK2_6_x64.bin
master@master:~/install$ ll
합계 791864
drwxrwxr-x  2 master master      4096  2월  4 20:47 .
drwxr-xr-x 23 master master      4096  2월  2 23:49 ..
-rwxr-x---  1 master master 318828113  2월  4 20:47 WEBTOB5_0_SP0_Fix0_LinuxK2_6_x64.bin

 

WEBTOB5_0_SP0_Fix0_LinuxK2_6_x64.bin 파일 실행

./WEBTOB5_0_SP0_Fix0_LinuxK2_6_x64.bin
master@master:~/install$ sudo ./WEBTOB5_0_SP0_Fix0_LinuxK2_6_x64.bin
Preparing to install...

Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
strings: '/lib/libc.so.6': No such file

Launching installer...

Preparing CONSOLE Mode Installation...

===============================================================================
WEBTOB5.0_SP0_Fix#0               (created with InstallAnywhere by Macrovision)
-------------------------------------------------------------------------------




===============================================================================
Introduction
------------

InstallAnywhere will guide you through the installation of WEBTOB5.0_SP0_Fix#0.

It is strongly recommended that you quit all programs before continuing with 
this installation.

Respond to each prompt to proceed to the next step in the installation.  If you
want to change something on a previous step, type 'back'.

You may cancel this installation at any time by typing 'quit'.

PRESS <ENTER> TO CONTINUE: 


===============================================================================
License Agreement
-----------------

Installation and use of WEBTOB5.0_SP0_Fix#0 requires acceptance of the 
following License Agreement:

WebtoB Release
Tmax Soft Co., Ltd. (hereafter, Tmax Soft) End-User License Agreement

Product : WebtoB

This is a legal agreement between you (either an individual or an company) and 
Tmax Soft, Incorporated.  By opening the sealed software package and/or by 
using the software, you agree to be bound by the terms of this agreement.

Tmax Soft License
1.  Grant of License:  This Tmax Soft License Agreement ("License") permits you
to use one copy of the Tmax Soft product Tmax, on any single computer, provided
the software is in use on only one computer at any one time.  If this package 
is a license pack, you may make and use additional copies of the software up to
the number of licensed copies authorized.  If you have multiple licenses for 
the software, then at any time you may have as many copies of the software in 
use as you have licenses.
  The software is "in use" on a computer when it is loaded into the temporary 
memory (i.e., RAM) or installed into the permanent memory (e.g., hard disk, 
CD-ROM, or other storage devices) of that computer, except that a copy 
installed on a network server for the sole purpose of distribution to other 
computers is not "in use".  If the anticipated number of users of the software 
will exceed the number of applicable licenses, then you must have a reasonable 

PRESS <ENTER> TO CONTINUE:

 

PRESS <ENTER> TO CONTINUE: 화면에서 ENTER 키 입력

DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT? (Y/N): Y 입력

Tmax Soft License
1.  Grant of License:  This Tmax Soft License Agreement ("License") permits you
to use one copy of the Tmax Soft product Tmax, on any single computer, provided
the software is in use on only one computer at any one time.  If this package 
is a license pack, you may make and use additional copies of the software up to
the number of licensed copies authorized.  If you have multiple licenses for 
the software, then at any time you may have as many copies of the software in 
use as you have licenses.
  The software is "in use" on a computer when it is loaded into the temporary 
memory (i.e., RAM) or installed into the permanent memory (e.g., hard disk, 
CD-ROM, or other storage devices) of that computer, except that a copy 
installed on a network server for the sole purpose of distribution to other 
computers is not "in use".  If the anticipated number of users of the software 
will exceed the number of applicable licenses, then you must have a reasonable 

PRESS <ENTER> TO CONTINUE: 

mechanism or process in place to ensure that the number of persons using the 
software concurrently does not exceed the number of licenses.

2.  Copyright:  The software (including any images, "applets," photographs, 
animations, video, audio, music and text incorporated into the software) is 
owned by Tmax Soft or its suppliers and international treaty provisions. 
Therefore, you must treat the software like any other copyrighted materials 
(e.g., a book or musical recording) except that you may either (a) make one 
copy of the software solely for backup or archival purposes, or (b) transfer 
the software to a single hard disk provided you keep the original solely for 
backup or archival purposes.  You may not copy the printed materials 
accompanying the software, nor print copies of any user documentation provided 
in "online" or electronic form.

3.  Other restrictions: This license is your proof of license to exercise the 
rights granted herein and must be retained by you. You may not rent, lease, or 
transfer your rights under this license on a permanent basis provided you 
transfer this license, the software, and all accompanying printed materials, 
retain no copies, and the recipient agrees to the terms of this license. You 
may not reverse engine, decompile, or disassemble the software, except to the 
extent that the foregoing restriction is expressly prohibited by applicable 
law.

PRESS <ENTER> TO CONTINUE: 



DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT? (Y/N):

 

설치 유형 선택 : WebtoB

===============================================================================
Choose Install Set
------------------

Please choose the Install Set to be installed by this installer.

  ->1- WebtoB
    2- Servlet + WebtoB

ENTER THE NUMBER FOR THE INSTALL SET, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
   :

 

설치폴더 선택 : ENTER 입력

===============================================================================
Choose Install Folder
---------------------

Where would you like to install?

  Default Install Folder: /root/webtob

ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
      :

 

설치 전 요약 화면 : ENTER 입력

===============================================================================
Pre-Installation Summary
------------------------

Please Review the Following Before Continuing:

Product Name:
    WEBTOB5.0_SP0_Fix#0

Install Folder:
    /home/master/webtob

Install Set
    WebtoB

Disk Space Information (for Installation Target): 
    Required:  126,431,751 bytes
    Available: 34,402,402,304 bytes

PRESS <ENTER> TO CONTINUE:

 

설치 준비 화면 : ENTER 입력

===============================================================================
Ready To Install
----------------

Ready to install WEBTOB5.0_SP0_Fix#0 onto your system at the following 
location:

   /home/master/webtob

PRESS <ENTER> TO INSTALL:

 

설치 진행 후 완료 화면 : ENTER 입력

===============================================================================
Installing...
-------------

 [==================|==================|==================|==================]
 [------------------|------------------|------------------|------------------]



===============================================================================
Information
-----------

The administrator can set the maximum number of file descriptors as follows.
The machine needs a reboot in order for the configuration change to take
effect.

Linux 2.4 and later
-------------------
To check the current maximum number of file descriptors:
- Run "ulimit -Hn" on the command line.
This shows the hard limit.

To permanently change the maximum number of file descriptors:
- Open "/etc/security/limits.conf" with a text editor.
- Add a new line "*       hard      nofile     65536".
  65536 is the new maximum.  Change it as necessary.

PRESS <ENTER> TO CONTINUE:

 

설치 완료 화면 : ENTER 입력

===============================================================================
Install Complete
----------------

The installation of WEBTOB5.0_SP0_Fix#0 is complete, but some errors occurred 
during the install.
   Please see the installation log for details.  Press "Done" to quit the 
installer.

PRESS <ENTER> TO EXIT THE INSTALLER:

 

반응형

 

WebtoB 설치 후 디렉토리 구조

WebtoB 설치 후 디렉토리 구조

 

OS 재기동

sudo reboot

 

환경변수 .profile 또는. bash_profile에 입

# New environment setting added by WEBTOB5.0_SP0_Fix#0 on Wed Mar 30 14:52:54 KST
# The unmodified version of this file is saved in /home/webtob1/.bash_profile625190227.
# Do NOT modify these lines; they are used to uninstall.
WEBTOBDIR=/home/master/webtob
export WEBTOBDIR
# End comments by InstallAnywhere on Wed Mar 30 14:52:54 KST 2016 1.
# New environment setting added by WEBTOB5.0_SP0_Fix#0 on Wed Mar 30 14:52:54 KST
# The unmodified version of this file is saved in /home/webtob1/.bash_profile625190227.
# Do NOT modify these lines; they are used to uninstall.
PATH="${WEBTOBDIR}/bin:${PATH}"
export PATH
# End comments by InstallAnywhere on Wed Mar 30 14:52:54 KST 2016 2.
# New environment setting added by WEBTOB5.0_SP0_Fix#0 on Wed Mar 30 14:52:54 KST
# The unmodified version of this file is saved in /home/webtob1/.bash_profile625190227.
# Do NOT modify these lines; they are used to uninstall.
LD_LIBRARY_PATH="${WEBTOBDIR}/lib:${LD_LIBRARY_PATH}"
export LD_LIBRARY_PATH
# End comments by InstallAnywhere on Wed Mar 30 14:52:54 KST 2016 3.

 

데모라인선스 신청

데모라인선스 신청
데모라인선스 신청

 

데모라인선스 메일 확인

 

데모 라이선스 업로드 경로

${WEBTOBDIR}/license

라이선스 업로드
라이선스 업로드

 

http.m 설정 화면

${WEBTOBDIR}/config/http.m
*DOMAIN
webtob1

*NODE
master  WEBTOBDIR="/home/master/webtob",
                SHMKEY = 54000,
                DOCROOT="/home/master/webtob/docs",
                PORT = "8080",
                HTH = 1,
                #Group = "nobody",
                #User = "nobody",
                NODENAME = "$(NODENAME)",
                ERRORDOCUMENT = "503",
                #Options="IgnoreExpect100Continue",
                #JSVPORT = 9900,
                LOGGING = "log1",
                ERRORLOG = "log2",
                SYSLOG = "syslog"

*HTH_THREAD
hth_worker
                  SendfileThreads = 4,
                  AccessLogThread = Y,
                  #ReadBufSize=1048576, #1M
                  #HtmlsCompression="text/html",
                  #SendfileThreshold=32768,
                  WorkerThreads=8

*SVRGROUP
htmlg           NODENAME = "master", SVRTYPE = HTML
cgig            NODENAME = "master", SVRTYPE = CGI
ssig            NODENAME = "master", SVRTYPE = SSI

*SERVER
cgi             SVGNAME = cgig, MinProc = 2, MaxProc = 10, ASQCount = 1
ssi             SVGNAME = ssig, MinProc = 2, MaxProc = 10, ASQCount = 1

*URI
uri1            Uri = "/cgi-bin/",   Svrtype = CGI

*ALIAS
alias1          URI = "/cgi-bin/", RealPath = "/home/master/webtob/cgi-bin/"

*LOGGING
syslog          Format = "SYSLOG", FileName = "/home/master/webtob/log/system.log_%M%%D%%Y%",
                        Option = "sync"
log1            Format = "DEFAULT", FileName = "/home/master/webtob/log/access.log_%M%%D%%Y%",
                        Option = "sync"
log2            Format = "ERROR", FileName = "/home/master/webtob/log/error.log_%M%%D%%Y%",
                        Option = "sync"

*ERRORDOCUMENT
503                     status = 503,
                        url = "/503.html"

 

다음은 http.m 파일의 수정이 필요한 항목에 대한 설명

항목 설명
SHMKEY 다른 프로그램과 충돌이 발생하는 경우 WebtoB를 기동시킬 때 에러 메시지가 발생하 므로 수정한다.
PORT 이미 사용 중인 포트 번호일 경우 WebtoB가 정상적으로 동작하지 않으므로 중복되지 않는 번호로 설정한다.
JSVPORT 이미 사용 중인 포트 번호일 경우 내장 Servlet이 정상적으로 동작하지 않으므로 중복 되지 않는 번호로 설정한다

 

 

환경 파일 컴파일

wscfl –i http.m
master@master:~/webtob/config$ wscfl -i http.m
[CFL-00446] SVRGROUP NodeName is no longer necessary. Can be removed. line=30 

Current configuration:
        Number of client handler(HTH) = 1
        Supported maximum user per node = 16339
        Supported maximum user per handler = 16339

Successfully created the configuration file (/home/master/webtob/config/wsconfig) for node master.
The host name of the running machine is master

 

WebtoB 실행

wsboot
master@master:~/webtob/config$ wsboot

Booting WebtoB on node (master)
Welcome to WebtoB Demo system. It will expire on 2023-04-04
Today is 2023-02-04
Starting WSM at Sat Feb  4 21:53:52 2023
Starting HTL at Sat Feb  4 21:53:52 2023
Starting HTH at Sat Feb  4 21:53:52 2023
         Current WebtoB Configuration:
                Number of client handlers (HTH) = 1
                Supported maximum user per node = 8153
                Supported maximum user per handler = 8153
Starting SVR(cgis) at Sat Feb  4 21:53:52 2023
Starting SVR(cgis) at Sat Feb  4 21:53:52 2023
Starting SVR(ssis) at Sat Feb  4 21:53:52 2023
Starting SVR(ssis) at Sat Feb  4 21:53:52 2023

License expires on 2023-04-04 (59 days remaining)

 

WebtoB 기동 후 서비스 요청 URL

http://[서버IP]:8080

Webtob 기본 페이지
Webtob 기본 페이지

 

WebtoB 종료

wsdown
master@master:~/webtob/config$ wsdown
Do you really want to shut down WebtoB? (y : n): y

WSDOWN for node(master) is starting: 
        WSDOWN: SERVER(cgi:0) downed: Sat Feb  4 21:58:07 2023
        WSDOWN: SERVER(ssi:10) downed: Sat Feb  4 21:58:07 2023
        WSDOWN: SERVER(ssi:11) downed: Sat Feb  4 21:58:07 2023
        WSDOWN: SERVER(cgi:1) downed: Sat Feb  4 21:58:07 2023
        WSDOWN: HTL downed: Sat Feb  4 21:58:07 2023
        WSDOWN: HTH downed: Sat Feb  4 21:58:07 2023
        WSDOWN: WSM downed: Sat Feb  4 21:58:07 2023
        WSDOWN: WebtoB is down

 

WebtoB 제거 : Uninstaller를 실행

$WEBTOBDIR/UninstallerData/Uninstall

 

Jeus 8.5 설치 방법

 

[TmaxSoft] JEUS 8.5 설치

오늘은 Jeus 설치를 위한 과정을 소개하고자 한다. 개인이 사용하기에 무료라이선스를 사용할 수 있기 때문에 쉽게 접근할 수 있고, 설치도 어렵지 않다. JEUS 8.5 플랫폼 다운로드 페이지 TmaxSoft Tec

betwe.tistory.com

728x90
반응형
LIST

'Tmax-Jeus-Webtob' 카테고리의 다른 글

[Tmaxsoft] tibero 자주 사용되는 명령어  (1) 2023.03.29
[Tmaxsoft] JEUS 명령어 정리  (1) 2023.03.27
[TmaxSoft] JEUS 8.5 설치  (0) 2023.01.27
[Tmaxsoft] Tibero Studio 설치  (2) 2023.01.22
[Tmaxsoft] Tibero DB 설치 과정  (6) 2023.01.20