HGDB4.1.1在RHEL6.x中安裝和解除安裝指導手冊
[[email protected] ~]$ cd /upload/hgdb4.1.1_installer_redhat6.x_Standard_64
[[email protected] hgdb4.1.1_installer_redhat6.x_Standard_64]$ ./runinstall
Welcome to the installation of HighGo Database 4.1.1 Standard Edition !
press 1 to continue, 2 to quit, 3 to redisplay
1 ##歡迎提示,選擇1,enter
HIGHGO DATABASE END-USER SOFTWARE LICENSE AGREEMENT
THANKS FOR YOUR SELECTION OF HIGHGO DATABASE.
Copyright (c) 2017, HighGo Co., Ltd.
All Rights Reserved.
IMPORTANT: THIS SOFTWARE END USER LICENSE AGREEMENT("EULA") IS A LEGAL AGREEMENT BETWEEN YOU AND HighGo Co., Ltd. READ IT CAREFULLY BEFORE COMPLETING THE INSTALLATION PROCESS AND USING THE SOFTWARE. IT PROVIDES A LICENSE TO USE THE SOFTWARE AND CONTAINS WARRANTY INFORMATION AND LIABILITY DISCLAIMERS. BY INSTALLING AND USING THE SOFTWARE, YOU ARE CONFIRMING YOUR ACCEPTANCE OF THE SOFTWARE AND AGREEING TO BECOME BOUND BY THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO BE BOUND BY THESE TERMS, PLEASE DO NOT INSTALL OR USE THE SOFTWARE. YOU MUST ASSUME THE ENTIRE RISK OF USING THIS PROGRAM. ANY LIABILITY OF HighGo WILL BE LIMITED EXCLUSIVELY TO PRODUCT REPLACEMENT OR REFUND OF PURCHASE PRICE BEFORE FIRST INSTALLATION.
Definitions
1. "the Software" means "HighGo DataBase".
2. "HighGo" is responsible for HighGo Co., Ltd.
License Grants
1. You may use the Software for free for non-commercial use under the License Restrictions.
2. You may use the Software for commercial use after purchasing the commercial license. Moreover, according to the license you purchased you may get specified term, manner and content of technical support from HighGo.
License Restrictions
1. You may not use the Software for commercial use or profit use, unless you have been licensed to. To purchase the license , please visit http://www.highgo.com for more information.
2. You may not rent, lease, sublicense, sell, assign, pledge the Software and its services.
3. You may not modify the Software to create derivative works for redistribution based upon the Software.
4. In the event that you fail to comply with this agreement, your license will be terminated.
LIMITED WARRANTY AND DISCLAIMER
1. THE SOFTWARE AND THE ACCOMPANYING FILES ARE SOLD "AS IS" AND WITHOUT WARRANTIES AS TO PERFORMANCE OF MERCHANTABILITY OR ANY OTHER WARRANTIED WHETHER EXPRESSED OR IMPLIED.
2. You must assume the entire risk of using the Software. ANY LIABILITY OF HIGHGO WILL BE LIMITED EXCLUSIVELY TO PRODUCT REPLACEMENT, REFUND OF PURCHASE PRICE BEFORE YOUR FIRST INSTALLATION.
press 1 to accept, 2 to reject, 3 to redisplay
1 ##許可協議,選擇1,enter
Select target path [/data/highgo/4.1.1]
##設定安裝路徑,enter
press 1 to continue, 2 to quit, 3 to redisplay
1 ##選擇1,enter
TreePacksPanel
[JDK_JRE] [required]
[DataBase Server] [Y/n] ##選擇安裝元件,enter
[User interfaces] [Y/n] ##選擇安裝元件,enter
psql [Y/n] ##選擇安裝元件,enter
hgdbAdmin [Y/n] ##選擇安裝元件,enter
[Development] [Y/n] ##選擇安裝元件,enter
[install database] [required]
init and configure database [required]
uninstalldata [required]
[tempExecutableFiles] [required]
...pack selection done.
press 1 to continue, 2 to quit, 3 to redisplay
1 ##選擇1,enter
To check the dependent packs.
press 1 to check, 2 to skip, 3 to exit
1 ##檢查依賴包,選擇1檢查,enter
Checks Status Fixable
fs.file-max Failed Yes
vm.mmap_min_addr Failed Yes
net.core.somaxconn Failed Yes
net.core.wmem_max Failed Yes
net.ipv4.tcp_tw_reuse Failed Yes
net.ipv4.ip_local_port_range Failed Yes
net.netfilter.nf_conntrack_max Failed Yes
net.ipv4.tcp_rmem Failed Yes
fs.nr_open Failed Yes
net.ipv4.tcp_wmem Failed Yes
vm.dirty_writeback_centisecs Failed Yes
vm.dirty_ratio Failed Yes
kernel.shmmax Failed Yes
kernel.shmmni Failed Yes
net.ipv4.tcp_timestamps Failed Yes
vm.swappiness Failed Yes
vm.overcommit_memory Failed Yes
net.ipv4.tcp_mem Failed Yes
vm.dirty_background_bytes Failed Yes
net.nf_conntrack_max Failed Yes
net.ipv4.tcp_tw_recycle Failed Yes
net.ipv4.tcp_max_tw_buckets Failed Yes
Use the root user to execute the following script to modify the system parameters.
/tmp/hgdb_2655776018/kernelParameterSets.sh ##使用root使用者執行修復指令碼進行修復
press 1 to ignore, 2 to reject, 3 to recheck
3 ##指令碼執行完畢後,選擇3重新檢查,enter
To check the dependent packs.
press 1 to check, 2 to skip, 3 to exit
1 ##選擇1,enter
Checks Status Fixable
Data directory [/data/highgo/4.1.1/data]
##設定data目錄,enter
Port number [5866]
##設定埠號,enter
Superuser name [highgo]
##設定資料庫超級使用者,預設highgo,enter
Password []
##設定使用者密碼,enter
Password(again) []
##再次輸入使用者密碼,enter
[x] Whether to start automatically.
input 1 to select, 0 to deselect:
1 ##是否設定自動啟動,選擇1,enter
datatype
0 [x] OLTP
1 [ ] OLAP
2 [ ] HTAP
3 [ ] Web
4 [ ] Desktop
input selection: ##設定資料庫型別,enter
Total Memory (GB) [1] ##設定作業系統總記憶體大小,enter
connectionNumber [300] ##設定資料庫最大連線數,enter
Locale
0 [ ] aa_DJ
1 [ ] aa_DJ.iso88591
2 [ ] aa_DJ.utf8
3 [ ] aa_ER
4 [ ] [email protected]
5 [ ] aa_ER.utf8
6 [ ] [email protected]
7 [ ] aa_ET
8 [ ] aa_ET.utf8
9 [ ] af_ZA
10 [ ] af_ZA.iso88591
...
...
...
721 [ ] zh_HK
722 [ ] zh_HK.big5hkscs
723 [ ] zh_HK.utf8
724 [ ] zh_SG
725 [ ] zh_SG.gb2312
726 [ ] zh_SG.gbk
727 [ ] zh_SG.utf8
728 [ ] zh_TW
729 [ ] zh_TW.big5
730 [ ] zh_TW.euctw
731 [ ] zh_TW.utf8
732 [ ] zu_ZA
733 [ ] zu_ZA.iso88591
734 [ ] zu_ZA.utf8
input selection:
##設定Locale,enter
Encoding
0 [ ] EUC_JP
1 [ ] EUC_KR
2 [ ] ISO_8859_5
3 [ ] ISO_8859_6
4 [ ] ISO_8859_7
5 [ ] ISO_8859_8
6 [ ] JOHAB
7 [ ] KOI8-R
8 [ ] LATIN1
9 [ ] LATIN2
10 [ ] LATIN3
11 [ ] LATIN4
12 [ ] LATIN5
13 [ ] LATIN9
14 [ ] MULE_INTERNAL
15 [ ] SQL_ASCII
16 [ ] WIN866
17 [ ] WIN874
18 [ ] WIN1250
19 [ ] WIN1251
20 [ ] WIN1252
21 [ ] WIN1256
22 [ ] WIN1258
23 [x] UTF8
input selection: ##設定Encoding,預設UTF8,enter
[ ] Whether encrypted storage.
input 1 to select, 0 to deselect:
0 ##是否加密儲存,選擇0不加密,enter
press 1 to continue, 2 to quit, 3 to redisplay
1 ##選擇1,enter
Installation path: /data/highgo/4.1.1. ##安裝選項概覽
Data directory: /data/highgo/4.1.1/data.
Database port: 5866.
Database Locale: zh_CN.utf8.
Server Encoding: UTF8.
Super User: highgo.
Database Type: oltp
Total Memory: 1
Connections: 300
press 1 to continue, 2 to quit, 3 to redisplay
1 ##選擇1,enter
[ Starting to unpack ] ##安裝過程
[ Processing package: Jre (1/8) ]
[ Processing package: Database Server (2/8) ]
[ Processing package: User interfaces (3/8) ]
[ Processing package: psql (4/8) ]
[ Processing package: hgdbAdmin (5/8) ]
[ Processing package: Development (6/8) ]
[ Processing package: Install database (7/8) ]
[ Processing package: Initial the database (8/8) ]
To finish the database install, please follow the below steps:
1. execute following script with root user to complete the database self-starting configuration
/data/highgo/4.1.1/hginstall.sh
2. Press enter to continue, after hginstall.sh execute successfully .
[Press enter to continue!]
##root使用者執行hginstall.sh指令碼,執行完成後enter
[ Unpacking finished ]
Begin create shorcut:
[x]Create additional shortcuts on the desktop
input 1 to select, 0 to deselect:
1 ##桌面建立快捷方式,選擇1,enter
[x]Create shortcuts in the StartMenu
input 1 to select, 0 to deselect:
1 ##桌面開始選單快捷方式,選擇1,enter
Select which user the program will create shortcut for:
##哪個使用者建立快捷方式
0 [ ] current user ##當前使用者
1 [x] all users ##所有使用者
input selection:
##enter
Name of programgroup [HighgoDB V4.1.1]
##程式組名
press 1 to continue, 2 to quit, 3 to redisplay
1 ##選擇1,enter
Install was successful
application installed on /data/highgo/4.1.1
[ Console installation done ] ##安裝完畢