hp_ux11.11 下安装 sybase12.5.3

安装环境:
hp_ux
sun 218
cpu 2
memory 4G

tar xvf *.tar

1. 新建组,用户

groupadd sybase
useradd -g sybase -d /export/home/sybase -m sybase
passwd sybase

2.调整共享内存,异步

kernel configuration -- parameter -- shmmax
-- maxfiles
-- maxuser
-- drivers -- asyncdisk

3.安装数据库

./setup -console
/export/home/sybase

安 装补丁

/export/home/sybase/install_sybase

/export/home/sybase/OCS-12_5/bin/isql -Usa -PTips123 -STIPS -n -i
/export/home/sybase/ASE-12_5/scripts/installmaster
-o/export/home/sybase/install_sybase/log/installmaster.log
/export/home/sybase/ASE-12_5/scripts/installcommit
-o/export/home/sybase/install_sybase/log/installcommit.log
/export/home/sybase/ASE-12_5/scripts/installsecurity
-o/export/home/sybase/install_sybase/log/installsecurity.log
/export/home/sybase/ASE-12_5/scripts/instmsgs.ebf
-o/export/home/sybase/install_sybase/log/instmsgs.log
/export/home/sybase/ASE-12_5/scripts/installmontables
-o/export/home/sybase/install_sybase/log/installmontables.log

4. 配置数据库

sp_configure "max memory",600000
sp_configure "allocate max shared mem",1
sp_cacheconfig "default data cache","300m"
sp_configure "procedure cache size",90000
sp_configure "max online engines",2
sp_configure "number of engines at startup",2
sp_configure "allocate max shared mem",0
sp_configure "number of locks",100000
sp_configure "number of user connections",50
sp_configure "number of devices",20

5.迁 移数据库
set nocount on
use tips_dev
go
select "bcp tips_dev.." + name + " out " + name + ".bcp -Utips -Ptips123 -STIPS -c "
from sysobjects where type="U"
go

6.安装可能出现的问题

netstat -a
查 看端口是否被占用

host
IP地址解析
/etc/server

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值