作者:薛启康 来源:赛迪网
三、下载软件及解压
到sybase的站点下载最新的sybase-ase-11.0.3.3更新包。sybase对这一版本进行了多次改进,目前推出了专为freebsd准备的一个软件包,其中包括以下三个文件:
sybase-ase-11_0_3_3-freebsd-6_i386.tgz
sybase-doc-11_0_3_3-freebsd-6_i386.tgz
sybase-ocsd-10_0_4-freebsd-6_i386.tgz
可以看出这已是该版本的第6次更新了。
以root登录freebsd主机,增加用户sybase
#adduser
根据提示增加一个sybase用户,同时增加一个sybase组用户。
将下载的软件包拷贝到/opt/sybase目录中
# cd sybase
以sybase用户登录,解压以上三个压缩文件:
$ gunzip -c sybase-ase-11_0_3_3-freebsd-6_i386.tgztar vxpf -
$ gunzip -c sybase-doc-11_0_3_3-freebsd-6_i386.tgztar vxpf -
$ gunzip -c sybase-oscd-10_0_4-freebsd-6_i386.tgztar vxpf -
解压完成,以下开始配置sql服务器。
配置数据库服务器
以sybase用户登录freebsd主机
$ cd sybase
$ cd install
$ ./sysinit
屏幕显示以下画面选单项:
sybinit
1. release directory: /opt/sybase
2. edit / view interfaces file
3. configure a server product
4. configure an open client/server product
ctrl-a accept and continue, ctrl-x exit screen, ? help.
enter the number of your choice and press return:3
选择3后:出现以下提示:
configure server products
products:
product date installed date configured
1. sql server mar 22 2000 21:22
2. backup server mar 22 2000 21:22
ctrl-a accept and continue, ctrl-x exit screen, ? help.
enter the number of your choice and press return: 1
选择1后,出现以下提示:
existing sybase server
1. configure a new adaptive server
2. configure an existing sybase server
3. upgrade an existing sybase server
ctrl-a accept and continue, ctrl-x exit screen, ? help.
enter the number of your choice and press return: 1
再选择1
add new adaptive server
1. adaptive server name: sybase
ctrl-a accept and continue, ctrl-x exit screen, ? help.
enter the number of your choice and press return: 1
如果你要更改adaptive server 的名称,选择1,键入你想用的名称,完成后使用ctrl-a接受目前配置,出现以下提示,开始对服务器进行具体配置。
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器