欢迎来到天天文库
浏览记录
ID:39468619
大小:57.00 KB
页数:7页
时间:2019-07-04
《sybase安装说明》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、0.安装说明安装sybase12.5forlinux8.0到机器名称dbserver/ip:192.168.1.100linux系统已装好,用rpm-aq
2、greplibstdc*看系统中是否用了以下lib,如没有安装。libstdc++-devel-3.2-7Libstdc++-3.2-7compat-libstdc++-7.3-2.96.110sybase软件已准备好,文件包释放的目录名为/home/sybase/ase1251dev_linux1.设置账号sybase:Sybase用root登录/usr/sbin/groupaddsyb
3、ase/usr/sbin/useradd-d/home/sybase-gsybase-Groot-s/bin/bashsybasePasswdsybase密码改为sybase*以后任何sybase安装配置操作,使用此帐号完成2.基本配置su安装目录mkdir/optchown–Rsybase:sybase/optchmod775–R/opt共享内存设为96M#echo'96*1024*1024'
4、bc>/proc/sys/kernel/shmmaxvi/etc/rc.d/rc.local加入行echo'96*1024*1024'
5、bc>/pr
6、oc/sys/kernel/shmmax配网络vi/etc/hosts在第一行插入192.168.1.100dbserver127.0.0.1localhost.localdomainlocalhost3.开始安装使用sybase用户登入系统执行以下操作:./setup-console确认创建/opt/sybase,作为主安装目录选custom安装选上3.+[x]LanguageModules下面的1.[x]ChineseLanguageModule一会就显示Theinstallationwassuccessful.4.开始配置参数如下[X]
7、1-CustomconfigurenewAdaptiveServerAdaptiveServerName[DBSERVER]PortNumber[5000]ErrorLog[/opt/sybase/ASE-12_5/install/DBSERVER.log]PageSize1.2k2.4k3.8k4.16kSelectapagesize:[1]1MasterDevice[/opt/sybase/data/master.dat]MasterDeviceSize(MB)[30]400MasterDatabaseSize(MB)[6]300Syst
8、emProcedureDevice[/opt/sybase/data/sysprocs.dat]SystemProcedureDeviceSize(MB)[120]SystemProcedureDatabaseSize(MB)[120]AdaptiveServerAdaptiveServerNameDBSERVERPortNumber5000PageSize2kErrorLog/opt/sybase/ASE-12_5/install/LINUX.logMasterDevice/opt/sybase/data/master.datMasterD
9、eviceSize(MB)400MasterDatabaseSize(MB)300SystemProcedureDevice/opt/sybase/data/sysprocs.datSystemProcedureDeviceSize(MB)120SystemProcedureDatabaseSize(MB)120BackupServerBackupServerNameDBSERVER_BSPortNumber5001ErrorLog/opt/sybase/ASE-12_5/install/DBSERVER_BS.logMonitorServe
10、rMonitorServerNameDBSERVER_MSPortNumber5002ErrorLog/opt/sybase/ASE-12_5/install/DBSERVER_MS.log配完后,服务器已启动5.设置环境在linux下的/etc/rc.d/rc.local中加入数据库自动启动语句vi/etc/rc.d/rc.localsusybase-c"source/opt/sybase/SYBASE.sh>/dev/null;source/opt/sybase/ASE-12_5/install/RUN_DBSERVER>/dev/nul
11、l"&5.1字符集可能有问题,可如下检查echo$LANG如为en_US.UTF-8,则需要设一下vi/opt/sybase/locales/locales.dat
此文档下载收益归作者所有