목차
Pre Installation 정의
[root@filingbox FBOX]# cd box_enterprise_install [root@filingbox box_enterprise_install]# |
제품 설치를 하기 전 필수 유틸리티를 설치하는 과정이다.
위에서 압축을 해제한 폴더로 이동한다. (cd box_enterprise_install)
pre_install.sh 실행 및 설치 과정 정리
- 설치 shell script 실행
[root@filingbox box_enterprise_install]# ./pre_install.sh pre install shell 을 실행시킨다.
- 필수 유틸리티 설치
┌──────────────────────────────────────────────┐
│ ➤ FilingBox Enterprise Installation
│
│ ➤ Purpose : S/W Common Install
│ ➤ File Name : (Step1) pre_install.sh
│ ➤ Version : v1.0
└──────────────────────────────────────────────┘
OS type : CentOS Linux release 7.9.2009 (Core)
OS Version : 3.10.0-1160.88.1.el7.x86_64
IP : 192.168.200.73
==========================================================
[Service User Verification]
==========================================================
>> Enter Service User [(When not entered) Set to 'namustorm'] :
[Account Info] Set the user account to 'namustorm'...
namustorm 사용자의 비밀 번호 변경 중
새 암호:
새 암호 재입력:
passwd: 모든 인증 토큰이 성공적으로 업데이트 되었습니다.
OS type : CentOS Linux release 7.9.2009 (Core)
OS Version : 3.10.0-1160.88.1.el7.x86_64
IP : 192.168.200.73
설치 시작화면이 출력되고, OS 기본정보 및 IP정보가 표시된다.
제품을 설치 후 시스템을 구동할 user를 입력한다. Enter를 입력하면 namustorm 이란 계정이 등록되며, 타 계정 사용을 원할 시 원하는 계정명을 입력한다.
입력한 계정의 비밀번호를 2차례 입력하면, 서비스 계정 등록이 완료된다.
- 인터넷 가능여부 확인
=============================================================
[Check the Installation Environment]
=============================================================
>> Is the server connected to the internet? [y/n]:
인터넷에 연결되어 있는 경우 “y” , 연결되어 있지 않은 경우 “n” 을 선택한다.
인터넷에 연결되어 있지 않은 경우에는 Linux Local Repository 설정이 추가로 진행된다.
- 유틸리티 설치 진행 (온라인 설치 시)
==============================================================
[Online Repository Configuration]
==============================================================
==============================================================
[SELINUX Setting]
--> enforcing => diabled
==============================================================
==============================================================
[Install essential utilities - 1st]
--> yum update / ntp
==============================================================
Created symlink from /etc/systemd/system/multi-user.target.wants/ntpd.service to /usr/lib/systemd/system/ntpd.service.
==============================================================
[Install essential utilities - 2nd]
--> net-tools/psmisc/bc/tar/unixODBC/libuuid/openssl/java-1.8.0
==============================================================
==============================================================
[Install essential utilities - 3rd]
--> epel-release/setuptool/sysstat
==============================================================
==============================================================
[Install essential utilities - 4th]
--> MariaDB/MySQL
==============================================================
Installing MariaDB...
Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service.
위와 같이 selinux 설정은 disabled 로 바꾸고 주요 Package 들이 yum으로 자동설치된다.
제품 운영에 필수 요소들(java, mariadb 등)이 설치된다.
mariadb는 압축된 파일이 자동으로 해제되고, 내부의 rpm들이 localinstall 로 진행된다.