[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
[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
一直点击下一步,直到出现弹窗,一定先执行下面的语句再点击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