转至繁体中文版     | 网站首页 | 图文教程 | 资源下载 | 站长博客 | 图片素材 | 武汉seo | 武汉网站优化 | 
最新公告:     敏韬网|教学资源学习资料永久免费分享站!  [mintao  2008年9月2日]        
您现在的位置: 学习笔记 >> 图文教程 >> 数据库 >> SyBase >> 正文
安装SCO Openserver5.0.5下的Sybase11.0.3         ★★★★

安装SCO Openserver5.0.5下的Sybase11.0.3

作者:闵涛 文章来源:闵涛的学习笔记 点击数:684 更新时间:2009/4/22 22:55:05

一、建立Sybase用户及组
二、在aio及suds文件中查看组情况
三、设置共享内存
四、设置环境变量
五、授权
六、Mount CD-ROM
七、执行 sybload -D
八、unmount CD-ROM
详细介绍如下:
一、建立Sybase用户及组
   1. 建立Group
      1> 以root的身份登录;
      2> 运行scoadmin
         scoadmin     Account Manage      Group     Add new group
         Group Name: sybase
         Group ID: 100
      2. 建立User
         scoadmin     Account Manage     Users     Add New User
         Login: sybase
         UserID: 201
         Comment:
         Login Shell : sh
         Networked Via:
         Home Directory: /u/sybase
         Login Group: sybase                  Change Group Membership...
         在 Change Group Membership...下设置:
         Login Group: sybase
         Nember of:  sybase
二、在aio及suds文件中查看组情况
   aio及suds所在的目录为:/etc/conf/sdevice.d
      aio及suds的原文件可能是:
       aio    N      0    0   0   0   0    0    0    0
      suds    N      1    0   0    0   0    0    0    0  
      所做的修改是将aio 及suds后的“N”改为“Y”
       aio    Y      0    0   0   0   0    0    0    0
      suds    Y      1    0   0    0   0    0    0    0  
      保存文件。
   若在安装SCO时将安装大型数据库选为YES,次文件不动.
三、设置共享内存
   1。运行scoadmin
   2。在Kernel Manage中的Parameters设置
      Parameters--Tune Parameters 第16项Shared Data中进行设置:
      设置的共享内存数为本机内存的75%。
   3。重新链接核心。Kernel [Relink Kernel]
四、设置环境变量
    设置环境变量在 /.profile 文件中加入:
    SYBASE=/u/sybase   按配置SYBASE的选项
    DSQUERY=SYBASE
    export SYBASE
    export DSQUERY
五、导出授权
   导出授权是执行: suds_ctrl -a 100命令!
   首先是编辑文件:/etc/rc2.d/S90suds
    vi S90suds  (文件名第一个’S’大写)
       suds_ctrl -a 100  (100 表 sybase 组的ID)
    保存退出
    运行 suds_ctrl –a 100
    重新启动计算机
若安装SQL Server 过程中boot server时出现下面错误(可检查errorlog文件):
  1>   若不导出授权,在安装完毕后,用sybinit配置时会报错:
        Boot the SQL Server Waiting for
        Server ‘SYBASE8’ to boot…
        SERVER ERROR:
        Failed to boot Server ‘SYBASE1’
 2>   ulinitspinlock:allocate mutex lock failed
      则是因为在执行suds_ctrl时SYBASE用户组的组号不对,重新   执行
      suds_ctrl即可。
六、Mount CD-ROM
      运行scoadmin
      >Filesystems     Filesystem Manager     Mount     Add Mount Configuration
           Local
              Device file: /dev/cd0
              Mount point: /cdrom  //用户首先在根目录下建立需Mount的目录
              Description (optional):
           ------------------------------------
              Filesystem Type: ISO9660
              Access Mode: Read-only
              Can Users Mount :No
        下一步:
        Mount Options:     Advanced Options...
                     Convert Filenames to Lowercase: Yes  (No 改为 Yes)
                     Show Hiddenfiles: Yes
                     Show File Version Numbers:NO
七、执行 sybload -D
    1. 以sybase的身份登录;
    2.运行sybload -D
      譬如:sybload 文件在/cdrom/software/sqlsvr下:则:
         #pwd
          /usr/sybase
         # cd
         # /cdrom/software/sqlsvr/sybload -D 稍后...
                   SYBLOAD - Product Distribution Program
                                Sybase (c) 1994
Current directory is "/sybase_install".
Is this the correct directory for installation?
If so, please enter 'y' or 'Y':  y  // Sybase 安装在/usr/sybase目录下
Is this a Local or Remote installation, as defined in your Installation Guide?
Please enter L for Local or R for Remote.
> l                        // L—本地,R—远程
Please enter the full name of the disk file of the global archive:
> /cdrom/sybimage
You specified /cdrom/sybimage for the media device.  Is this correct?
please enter 'y' or 'Y' to continue:  y
Please enter your Customer Authorization String, letters only:
?; BKBYBK BKBYBK SOZKHH BYBKBY TELNGX DECO
Sybase Products available for installation:
Product No.  1:  SQL Server, IRIX 5.3, 11.01
Please enter the Product Numbers that you wish to install, one per line.
Terminate your entries with a blank line.
> 1
>
The following products were chosen for installation:
Choice No.  1:  Sybase SQL Server, IRIX 5.3, 11.01
If this list is correct as shown,
please enter 'y' or 'Y' to continue,
            'q' or 'Q' to quit,
or any other character to make another set of choices:  y
   Positioning Media For Loading - Please Wait.
x ./bin/buildmaster, 296160 bytes, 579 tape blocks
x ./bin/charset, 466109 bytes, 911 tape blocks
x ./bin/dataserver, 2413163 bytes, 4714 tape blocks
x ./bin/diagserver, 10105628 bytes, 19738 tape blocks
八、unmount CD-ROM
        安装完毕,运行scoadmin
        >Filesystems     Filesystem Manager
        选中/dev/cdrom
        Mount     Remove Mount Configuration...

 


[SyBase]安装SCO Openserver5.0.5下的Sybase11.0.3。  [SyBase]SCO,Sybase,SCO,Sybase
教程录入:mintao    责任编辑:mintao 
  • 上一篇教程:

  • 下一篇教程:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      注:本站部分文章源于互联网,版权归原作者所有!如有侵权,请原作者与本站联系,本站将立即删除! 本站文章除特别注明外均可转载,但需注明出处! [MinTao学以致用网]
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)

    同类栏目
    · Sql Server  · MySql
    · Access  · ORACLE
    · SyBase  · 其他
    更多内容
    热门推荐 更多内容
  • 没有教程
  • 赞助链接
    更多内容
    闵涛博文 更多关于武汉SEO的内容
    500 - 内部服务器错误。

    500 - 内部服务器错误。

    您查找的资源存在问题,因而无法显示。

    | 设为首页 |加入收藏 | 联系站长 | 友情链接 | 版权申明 | 广告服务
    MinTao学以致用网

    Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved.
    闵涛 投放广告、内容合作请Q我! E_mail:admin@mintao.net(欢迎提供学习资源)

    站长:MinTao ICP备案号:鄂ICP备11006601号-18

    闵涛站盟:医药大全-武穴网A打造BCD……
    咸宁网络警察报警平台