Non-root install DB2 V9.7 on Linux
来源:互联网 发布:淘宝 apple官方旗舰店 编辑:程序博客网 时间:2024/06/06 15:04
Steps on install DB2 V9.7 as non-root user.
Limitation:
1. Only one DB2 instance can be created for non-root user installation.
2. User cannot change installation target, it must be ${HOME}/sqllib
3. Since non-root user cannot create DB2 instance, so the default instance is created during DB2 installation process, there is no explicit step to create a DB2 instance.
$ tar -zxvf DB2_Connect_Svr_97_Linux_x86-64.tar.gz
$ cd consv
$ ./db2_install
DBI1244I Directory for non-root installation of DB2 - /home/${UID}/sqllib
Specify one of the following keywords to install DB2 products.
CONSV
CLIENT
RTCL
Enter "help" to redisplay product names.
Enter "quit" to exit.
***********************************************************
CONSV
Notice:
1. The directory of non-root installation is ~/sqllib, seems we cannot use '-b' to set user-defined directory. for example: ./db2_install -b /opt/ibm/db2/V9.7, the '-b' value is ignored.
2. CONSV: connect server edition
CLIENT:
RTCL: runtime client
$ . $HOME/sqllib/db2profile # set environment variables
$ db2start # start DB2 instance
$ db2stop # stop DB2 instance
$ To create a DB2 database
db2 => create database test # create test database
DB20000I The CREATE DATABASE command completed successfully.
db2 => connect to test # connect to a database
Database Connection Information
Database server = DB2/LINUXX8664 9.7.0
SQL authorization ID = ${UID}
Local database alias = TEST
Notice: DB2 related environment
DB2DIR=/home/${UID}/sqllib
DB2INSTANCE=${UID}
DB2BASE=test
Configure Network Connection
$ db2 update dbm cfg using SVCENAME 50000 # default 50000 port
$ db2set DB2COMM=TCPIP
$ db2stop
$ db2start
== install license file ==
- Non-root install DB2 V9.7 on Linux
- DB2 install on linux
- Install DB2 on linux
- Manually install DB2 on Linux
- Manually install DB2 on Linux
- DB2 V9.7 Installation on RHEL5
- [DB2]linux下安装db2 v9.7
- [DB2]Linux下安装db2 v9.7
- DB2 install on Linux (基础)
- Install Python on Linux without Root Permission
- 在Linux下安装DB2 V9.7
- How to install Jboss + DB2 on CentOS Linux 4.5 ?
- 轉載:Install DB2 10.5 on Redhat Linux 6.5 for x86_64
- DB2 v9.7安装
- Db2 V9 on linux 上的安装以及设置windows客户段的远程访问
- 64位Linux安装db2 v9.7的问题
- Redhat Linux 5.3环境实施DB2 V9.7 HADR
- DB2 V9.7 HADR总结
- 22.下拉刷新,上拉加载的封装(没有去完成)
- 线程的创建:实现Runnable接口和继承Thread类,(倒计时的实现)
- Android 蓝牙开发中的问题
- c语言之判断BMI是否正常
- 9. javascript对象 核心对象 Array
- Non-root install DB2 V9.7 on Linux
- 计算机网络(一)数据链路层
- Gradle 奇技淫巧
- [leetcode]405. Convert a Number to Hexadecimal
- MVP下扫描蓝牙得到列表实例
- tomcat启动正常,但是访问项目时,404. Eclipse没有正确部署工程项目
- 10.javascript对象 核心对象 String
- 祝你幸福
- NSURLSession简介与入门