# 【DB2】If 'db2' is not a typo you can run the following command to lookup the package that ...

2018/07/07 11:29

If 'db2' is not a typo you can run the following command to lookup the package that contains the binary:
command-not-found db2

①首先编辑/etc/profile

vim /etc/profile

②然后在该文件最后一行添加

PATH=\$PATH:/opt/ibm/db2/V9.7/bin:/home/db2inst1/sqllib/bin:/home/db2inst1/sqllib/adm:/home/db2inst1/sqllib/misc
export PATH

③使用source命令让更改配置生效

source /etc/profile

0
0 收藏

0 评论
0 收藏
0