[root]
#> echo 512 32000 512 512 > /proc/sys/kernel/sem
#> echo 872415232 > /proc/sys/kernel/shmall
#> groupadd dba
#> useradd -g dba altibase
#> passwd altibase
[altibase]
$> ./altibase-HDB-server-6.3.1.0.2-LINUX-X86-64bit-release.run
----------------------------------------------------------------------------
Welcome to the ALTIBASE HDB Server 6.3.1.0.2 setup wizard.
----------------------------------------------------------------------------
Installation Directory
Please specify the installation directory for ALTIBASE HDB Server 6.3.1.0.2
Installation directory [/altibase/altibase-HDB-server-6.3.1]:
Please select the installation type.
Installation type
[1] Patch: patch package install
[2] Full installation: full package install
Please choose an option [1] : 2
----------------------------------------------------------------------------
Pre-Installation Requirements for ALTIBASE HDB
It is first necessary to set your system environment to ensure that ALTIBASE HDB
will run properly. Before installing ALTIBASE HDB, the kernel parameter values
must be set using the root user account. The kernel parameter values may be
modified after installation; however, they must be set prior to starting
ALTIBASE HDB.
Please refer to the installation manual and pre_install.sh script file.
(pre_install.sh: '$Altibase_install_dir'/install/pre_install.sh)
================ LINUX ================
[ How to modify kernel parameter values ]
echo 512 32000 512 512 > /proc/sys/kernel/sem
echo 872415232 > /proc/sys/kernel/shmall
# shmall
If it is desired to use ALTIBASE HDB in shared memory mode, the value of
'shmall' must be set. This value determines the maximum size of an Altibase
database.
Press [Enter] to continue :
These values must be set in order for ALTIBASE HDB to operate properly.
They must be set such that they are suitable for the system configuration.
=====================================
Press [Enter] to continue :
----------------------------------------------------------------------------
ALTIBASE HDB Property Settings
Step 1: Basic Database Operation Properties
Database name [mydb]:
ALTIBASE HDB connection port number (1024-65535) [20300]:
Maximum size of memory database
- MIN value: 16M (K = kB, M = MB, G = GB) [2G]:
Buffer area size for caching disk-based database pages
- MIN value: 1M (K = kB, M = MB, G = GB) [128M]:
Do you want to create a database after the installation process is complete?
[1] YES
[2] NO
Please choose an option [1] :
----------------------------------------------------------------------------
ALTIBASE HDB Property Settings
Step 2: Database Creation Properties
Initial database size
- 4M-2G (K = kB,M = MB,G = GB) [10M]:
Database archive logging mode
[1] No archivelog
[2] Archivelog
Please choose an option [1] :
Database character set
[1] MS949
[2] US7ASCII
[3] KO16KSC5601
[4] BIG5
[5] GB231280
[6] UTF-8
[7] SHIFT-JIS
[8] EUC-JP
Please choose an option [1] :
National character set
[1] UTF-16
[2] UTF-8
Please choose an option [1] :
----------------------------------------------------------------------------
ALTIBASE HDB Property Settings
Step 3: Set Database Directories
Default disk database directory [/altibase/altibase-HDB-server-6.3.1/dbs]:
Memory database directory [/altibase/altibase-HDB-server-6.3.1/dbs]:
Archive log directory [/altibase/altibase-HDB-server-6.3.1/arch_logs]:
Transaction log directory [/altibase/altibase-HDB-server-6.3.1/logs]:
[Log Anchor file directories ]
ALTIBASE HDB maintains three sets of log anchor files. These files contain
important information
about the database. By default, they are located in the "logs" folder.
The location can be changed here or by modifying the contents of the ALTIBASE
HDB properties file,
which is named "altibase.properties".
Directory 1. [/altibase/altibase-HDB-server-6.3.1/logs]:
Directory 2. [/altibase/altibase-HDB-server-6.3.1/logs]:
Directory 3. [/altibase/altibase-HDB-server-6.3.1/logs]:
----------------------------------------------------------------------------
Property Review
Please check your property settings.
To change these properties after installation is complete,
please modify the following file:
/altibase/altibase-HDB-server-6.3.1/conf/altibase.properties.
1. ALTIBASE HDB Property Settings:
Step 1: Basic Database Operation Properties
1) Database name:
[mydb]
2) ALTIBASE HDB connection port number (1024-65535):
[20300]
3) Maximum size of memory database:
[2G]
4) Buffer area size for caching disk-based database pages:
[128M]
2. ALTIBASE HDB Property Settings:
Press [Enter] to continue :
Step 2: Database Creation Properties
1) Initial database size
[10M]
2) Database archive logging mode
[noarchivelog]
3) Database character set
[MS949]
4) National character set
[UTF16]
3. ALTIBASE HDB Property Settings:
Step 3: Set Database Directories
The database will not operate properly if any of these directories are
removed.
1) Disk database directory:
[/altibase/altibase-HDB-server-6.3.1/dbs]
Press [Enter] to continue :
2) Memory database directory:
[/altibase/altibase-HDB-server-6.3.1/dbs]
3) Archive log directory:
[/altibase/altibase-HDB-server-6.3.1/arch_logs]
4) Transaction log directory:
[/altibase/altibase-HDB-server-6.3.1/logs]
5) Log Anchor file directories:
Directory 1:
[/altibase/altibase-HDB-server-6.3.1/logs]
Directory 2:
[/altibase/altibase-HDB-server-6.3.1/logs]
Directory 3:
[/altibase/altibase-HDB-server-6.3.1/logs]
Press [Enter] to continue :
----------------------------------------------------------------------------
Setup is now ready to install ALTIBASE HDB Server 6.3.1.0.2.
Do you want to continue? [Y/n]:
----------------------------------------------------------------------------
Please wait until the setup wizard finishes installing ALTIBASE HDB Server
6.3.1.0.2.
Installing
0% ______________ 50% ______________ 100%
#########################################
----------------------------------------------------------------------------
ALTIBASE HDB License
If a license has not been issued or if it has expired,
ALTIBASE HDB services will not start.
If this is the case, Please visit http://support.altibase.com
Choose an option for ALTIBASE HDB license registration.
[1] I will input a license key.
[2] I will select a license file.
[3] I want to register an ALTIBASE HDB license later.
Please choose an option [1] : 3
Info: After you have obtained an ALTIBASE HDB license,
please move the license file to
/altibase/altibase-HDB-server-6.3.1/conf/
Press [Enter] to continue :
----------------------------------------------------------------------------
ALTIBASE HDB Quick Setting Guide
[ Installation complete ]
Please refer to the file listed below to verify the ALTIBASE HDB version.
/altibase/altibase-HDB-server-6.3.1/APatch/patchinfo
[ Quick Guide to Making Settings in ALTIBASE HDB ]
1. Set kernel variables using the root user account.
run the '/altibase/altibase-HDB-server-6.3.1/install/pre_install.sh' file
- This script helps you make kernel parameter settings.
================ LINUX ================
[ How to modify kernel parameter values ]
echo 512 32000 512 512 > /proc/sys/kernel/sem
echo 872415232 > /proc/sys/kernel/shmall
# shmall
If it is desired to use ALTIBASE HDB in shared memory mode, the value of
'shmall' must be set. This value determines the maximum size of an Altibase
database.
Press [Enter] to continue :
These values must be set in order for ALTIBASE HDB to operate properly.
They must be set such that they are suitable for the system configuration.
=====================================
2. Provide a license.
Please rename and locate the license file as shown below.
/altibase/altibase-HDB-server-6.3.1/conf/license
If no license file has been issued or if the license file has expired,
ALTIBASE HDB services will not start.
In this case, please visit http://support.altibase.com
3. Configure user environment variables (using the user account with which
ALTIBASE HDB was installed).
Run the '/altibase/altibase-HDB-server-6.3.1/install/post_install.sh' file
under the account with which ALTIBASE HDB was installed.
Press [Enter] to continue :
This script performs necessary post-installation configuration.
1) Create the ALTIBASE HDB user environment file and apply it to the user
profile.
(/altibase/altibase-HDB-server-6.3.1/conf/altibase_user.env)
2) Create a database.
If you selected 'YES' in response to the question about whether to
create
a database after installation, at "ALTIBASE HDB Property setting step
1",
a database will be automatically created.
If you selected 'NO' in response to this question,
you need to create a database manually.
shell> server create [DB Character Set] [National Character Set]
4. Start up and shut down the server
shell> server start
shell> server stop
Press [Enter] to continue :
5. Connect to the database using iSQL
shell> isql -s 127.0.0.1 -u SYS -p MANAGER
Press [Enter] to continue :
----------------------------------------------------------------------------
Setup has finished installing the ALTIBASE HDB Server 6.3.1.0.2 on your host.
Info: [Linux Env.]
Target : /altibase/altibase-HDB-server-6.3.1/conf/altibase_user.env
created ----------------------- Altibase environment setup file.
added ----------------------- ALTIBASE_HOME
added ----------------------- PATH
added ----------------------- LD_LIBRARY_PATH
added ----------------------- CLASSPATH
export ----------------------- 'altibase_user.env'
into '/home/altibase/.bash_profile'
==============================================
Please perform [re-login]
or [source /home/altibase/.bash_profile]
or [. /home/altibase/.bash_profile]
==============================================
Press [Enter] to continue :
[license]
$> touch $ALTIBASE_HOME/conf/license
$> echo 1E1C3D746F18C44D92742EB203E9E100 > $ALTIBASE_HOME/conf/license
'데이터베이스 > ALTIBASE' 카테고리의 다른 글
iSQL 사용법 (0) | 2014.01.25 |
---|---|
ALTIBASE HDB 구동 & 종료 (0) | 2014.01.25 |