Linux安装Highgo瀚高数据库

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

创建目录

[root@hgdb ~]# mkdir -p /highgo/database/3.0

[root@hgdb ~]# chmod -R 775 /highgo/database/3.0

[root@hgdb ~]# chown -R highgo:highgo /highgo/database/3.0

为用户设置环境变量

[root@hgdb ~]# 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安装

解压安装包

[root@hgdb opt]# tar -zxvf hgdb3.1.4_installer_centos6.4_64.tar.gz

[root@hgdb opt]# chown -R highgo:highgo hgdb3.1.4_installer_centos6.4_64

切换用户到HIGHGO用户安装

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

Linux安装Highgo瀚高数据库_第1张图片

[root@hgdb ~]# /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

 

你可能感兴趣的:(国产化,瀚高数据库)