修改前:
vi .bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-
paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
export GSDB_HOME="/opt/gaussdb/app1"
export PATH="/opt/gaussdb/app1/bin":$PATH
export LD_LIBRARY_PATH="/opt/gaussdb/app1/lib":"/opt/gaussdb/app1/add-
ons":$LD_LIBRARY_PATH
export GSDB_DATA="/opt/gaussdb/data1"
修改后:
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-
paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
python install.py -U omm:dbgrp -R /opt/gaussdb/app2 -D
/opt/gaussdb/data2 -C INSTANCE_NAME=GSDB2 -C
LSNR_ADDR=127.0.0.1,192.168.22.99 -C LSNR_PORT=2020
Checking runner.
Checking parameters.
End check parameters.
Checking user.
1
2
3
4
5
评论