- TIB_mftis_8.4.1_all.zip 다운
- jdk-8u351-linux-x64.tar.gz 다운
zip파일 이동은 https://epozenresearchcenter.atlassian.net/wiki/spaces/TIB/pages/1818656769 환경설정 페이지 참고
압축해제 후 ./database-lib/ojdbc8.jar 추가
install.sh 실행
chmod -R 775 ../mftis (또든 chmod 775 ../mftis/* )
JVM이 필요합니다. JDK를 다운 하여 압축해제
tar -vxf jdk-8u351-linux-x64.tar.gz
압축 해제 이후 아래의 환경변수값을 등록합니다.
export JAVA_HOME=/home/admin/jdk1.8.0_351
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=$JAVA_HOME/jre/lib:$JAVA_HOME/lib/tools.jar
export JAVA_HOME PATH CLASSPATH
export HOME=/home/admin
export JREPath=/home/admin/jdk1.8.0_351/jre
java -version
위 커맨드로 버전 확인 되면 완료
라이센스 관련 내용이므로 'S' 키 input 하여 스킵 (설치는 총 10step, 각 step 최종확인질문 N 선택시에 현재step으로 return )
Press enter to continue or S to skip to the end of the agreement S
Do you accept the license agreement? Enter yes or no YES
Press enter to continue enter
non-root user. Do you wish to continue? y/n [n] Y
Do you want to Install and Configure the Connection Manager Agent (CMA) for
this Internet Server? (CMA)...[n] N
Press <ENTER> to continue with the MFT Internet Server installation enter
Use /home/admin/tibco/mftis/cfcc.jar as the distribution? y/n [y]: Y
DB설정
Step 2 Verifying database connection
Select database server type:
Enter 1 for MSSQL
Enter 2 for MySQL Enterprise Server or Community Server
Enter 3 for Oracle
Enter 4 for DB2
Enter 5 for PostgreSQL
: 3
Enter the DNS name or IP Address of the database server...[localhost]:192.168.10.193
*본인 window로컬에 DB설치 해서 입력해주세요
Enter the database port number.................................[1521]:1521
Will you connect to the Oracle DB Server via an SID or a Service Name?
- SID
- Service Name
Please enter 1 for SID or 2 for Service Name. [1]: 1
Enter the SID........................................[cfcc]:ORCL
Enter the database UserID......................................[cfcc]:system
Enter the database Password....................................[cfcc]:*****
Please confirm the password:*****
**주의
UserID 는 DBA 계정을 사용해야 권한없음이 뜨지 않습니다.
→ DBA계정 - sys, system 중 사용 하시면 됩니다. (일반계정을 DBA계정으로 승격하여 사용은 실패했습니다)
Use database URL: [jdbc:oracle:thin:@192.168.10.193:1521:ORCL]? y/n [y] : Y
Select database pooling settings. Enter y to use database pooling, and n for no pooling. [y]:N
Please backup database before proceeding. Do you wish to continue? y/n [y] Y
입력후 대기
Evaluating the application server installation for HTTPS connectors
Do you have a pre-existing Java Keystore to be used as a server key for SSL communication? y/n/? [n]: N
Enter the keystore path and filename..[/home/admin/tibco/mftis/keystore/keystore.jks]: /home/admin/tibco/mftis/keystore/keystore.jks
Directory /home/admin/tibco/mftis/keystore does not exist! Create? y/n [y]:Y
Enter the keystore password (at least 6 characters)..[changeit]: (입력X, enter)
Enter the alias of your private key......................[cfcc]: (입력X, enter)
Enter the DNS Name or IP Address of your server............(현재linux_IP): 192.168.10.108
Select the signature and key algorithms you wish to use........:
- SHA256 with RSA
- SHA384 with RSA
- SHA512 with RSA
Please enter your selection. [1]:1
Enter your Company Name..............................[Optional]:(옵션값 입력X, enter)
Enter your Organizational Unit Name..................[Optional]:(옵션값 입력X, enter)
Enter the City where your company is located.........[Optional]:(옵션값 입력X, enter)
Enter the State where your company is located........[Optional]:(옵션값 입력X, enter)
Enter the two-letter country code for this unit......[Optional]:(옵션값 입력X, enter)
Create a keystore with the above information? y/n [y]:Y
Enter the HTTPS Port to listen for connections.... [7443] : 47443
Accept these parameters? y/n [y] : Y
Select the SSL ciphers you wish to the server to support.
- Most Secure ciphers (excludes CBC ciphers)
- All Secure ciphers (includes CBC ciphers)
- All ciphers
Please enter your selection or v to view secure ciphers. [1]:1
Enter the HTTP port to listen for connections... [7080] :47080
Enter the port to listen for shutdown requests... [7005] : 47005
Enter the context root for this installation ........[cfcc]: (입력X, enter… /home/admin/tibco/mftis/server/conf/Catalina/localhost/cfcc.xml 생성됨)
Use /home/admin/tibco/mftis/server/webapps/cfcc as the installation directory? y/n/? [y]:Y
Add a new context with the above parameters? y/n/? [y]: Y
Enter the name of the host on which the application will run. [localhost.localdomain]: 192.168.10.108 (서버 IP)
Administrator service … Install this service? y/n? [n]: y
Enter a directory to store log files.......[/home/admin/tibco/mftis/logs]:/home/admin/tibco/mftis/logs
Configure web.xml with the above parameters? y/n [y] y
완료 후 …[OK] 까지 대기
mftis/server/bin/shutdown.sh
vi mftis/server/webapps/cfcc/WEB-INF/web.xml
UnsecuredHTTPSupport 태그>YES (vi편집기에서 /Unsec …검색 하여 NO->YES수정)
mftis/server/bin/startup.sh
*참고) web.xml 수정하지 않으면 다음과 같은 상태로 오픈됩니다.
방화벽 포트 지정해제
firewall-cmd --permanent --zone=public --add-port=47080/tcp
firewall-cmd --permanent --zone=public --add-port=47005/tcp
firewall-cmd --permanent --zone=public --add-port=47443/tcp
방화벽 리로딩
firewall-cmd --reload
해제방화벽 포트확인
firewall-cmd --zone=public --list-ports
(admin/changeit)
http://192.168.10.108:47080/admin 요청 후 화면
도메인에 admin을 붙이지 않으면 다음과 같이 client로 연결됩니다.(default)
로그아웃 진행후에 다음 화면에서 선택해주세요
어드민으로 정상진입 되었습니다