安装:
在centOs4.8下,如果要启动图形安装界面,必须安装compat-db-4.2.52-5.1.i386.rpm这个包,才能启动图形界面;
在安装时,使用如下命令:
[sybase@SYBASE install]$ ./setup -is:javahome /media/cdrom/JVM 启动图形安装界面;
[sybase@SYBASE install]$ ./setup -console -is:javahome /media/cdrom/JVM 启动文字安装界面
简单配置并验证安装:
在配置完毕后,进行创建设置,设置完毕后,执行:
[sybase@SYBASE install]$ cat SYBASE.sh >>./.bash_profile
将SYBASE的环境变量放入到sybase用户的bash配置文件中;
然后,reboot,重启让设置生效;
重启后,使用sybase用户登录;
登陆后,执行:
[sybase@SYBASE install]$ cd $SYBASE/$SYBASE_ASE
[sybase@SYBASE install]$ cd install/
[sybase@SYBASE install]$ startserver
启动ASE server;
然后,使用sa用户登录
[sybase@SYBASE install]$ isql -Usa -P -S SYBASE
登录成功后,执行语句查询当前的数据库版本:
[sybase@SYBASE install]$ isql -Usa -P -S SYBASE
Msg 2401, Level 11, State 2:
Server 'SYBASE':
Character set conversion is not available between client character set 'utf8'
and server character set 'iso_1'.
No conversions will be done.
1> select @@version
2> go
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Adaptive Server Enterprise/12.5.4/EBF 13388/P/Linux Intel/Enterprise Linux/ase1
254/2006/32-bit/OPT/Fri May 19 23:17:01 2006
到此为止,安装成功。
阅读(1691) | 评论(0) | 转发(0) |