Linux安装Highgo瀚高数据库

在root用户下创建用户highgo用户。

创建目录

[[email protected] ~]# mkdir -p /highgo/database/3.0

[[email protected] ~]# chmod -R 775 /highgo/database/3.0

[[email protected] ~]# chown -R highgo:highgo /highgo/database/3.0

为用户设置环境变量

[[email protected] ~]# vim /home/highgo/.bash_profile

# .bash_profile

 

# Get the aliases and functions

if [ -f ~/.bashrc ]; then

        . ~/.bashrc

fi

 

# User specific environment and startup programs

 

PATH=$PATH:$HOME/.local/bin:$HOME/bin

 

export PATH

 

export HG_HOME=/highgo/database/3.0

export PGDATA=/highgo/database/3.0/data

export LD_LIBRARY_PATH=$HG_HOME/lib

export PATH=$HG_HOME/bin:$PATH

export

umask 022

 

HGDB安装

解压安装包

[[email protected]hgdb opt]# tar -zxvf hgdb3.1.4_installer_centos6.4_64.tar.gz

[[email protected] opt]# chown -R highgo:highgo hgdb3.1.4_installer_centos6.4_64

切换用户到HIGHGO用户安装

一直点击下一步,直到出现弹窗,一定先执行下面的语句再点击OK。

Linux安装Highgo瀚高数据库

[[email protected] ~]# /highgo/database/3.0/finish

Attempting to create directory /home/highgo/perl5

Starting HighGo Database Server:

waiting for server to start.... done

server started

HighGo Database Server started successfully