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。

[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

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值