Sybase ASE15.7静默安装教程
2012-08-20 16:59:30 来源:WEB开发网 实验环境,HP DL580下安装RHEL 5.5,Sybase version:15.7
Sybase的安装目录为/opt/Sybase
Sybase的软件位置为/home/setup
Sybase属组用户都是新建sybase
下面我们开始使用响应文件来创建Sybase数据库
[root@sybase ~]# useradd sybase
[root@sybase ~]# cd /home/
[root@sybase home]# mkdir setup
[root@sybase /]# cd opt/
[root@sybase opt]# mkdir sybase
[root@sybase opt]# cd ..
[root@sybase /]# chown -R sybase:sybase opt/
[root@sybase /]# cd /home/
[root@sybase home]# chown -R sybase:sybase setup/
[root@sybase home]# chmod -R 777 setup/
[root@sybase opt]# cd /home/setup/
[root@sybase setup]# su - sybase
[sybase@sybase ~]$ cd /home/setup/
[sybase@sybase setup]$ rz
Transferring ase1570_linx8664_64.tgz...
100% 813562 KB 5572 KB/s 00:02:26 0 Errors
Transferring ase157_responsefile.txt...
100% 1 KB 1 KB/s 00:00:01 0 Errors
Transferring sybase.rs...
100% 1 KB 1 KB/s 00:00:01 0 Errors
Transferring sybase_bk.rs...
100% 543 bytes 543 bytes/s 00:00:01 0 Errors
[sybase@sybase setup]$ tar -xvf ase157*.tgz
[sybase@sybase setup]$ ll
total 54756
drwxrwxrwx 33 sybase sybase 4096 Sep 17 2011 archives
-rwxrwxrwx 1 sybase sybase 1414 Aug 8 02:34 ase157_responsefile.txt
-rwxrwxrwx 1 sybase sybase 92209 Sep 19 2011 ASE-FDT-List.pdf
-rwxrwxrwx 1 sybase sybase 17850 Sep 19 2011 sample_response.txt
-rwxrwxrwx 1 sybase sybase 54463434 Sep 19 2011 setup.bin
-rwxrwxrwx 1 sybase sybase 543 Aug 8 10:46 sybase_bk.rs
-rwxrwxrwx 1 sybase sybase 1399011 Sep 19 2011 Sybase-FDT-Master.pdf
-rwxrwxrwx 1 sybase sybase 1532 Aug 8 10:45 sybase.rs
drwxrwxrwx 3 sybase sybase 4096 Sep 17 2011 sysam_setup
drwxrwxrwx 4 sybase sybase 4096 Sep 17 2011 sysam_utilities
[sybase@sybase setup]$ ./setup.bin -f /home/setup/ase157_responsefile.txt -i silent -DAGREE_TO_SYBASE_LICENSE=true -DRUN_SILENT=true
如果此处报错:
[sybase@sybase sybase]$ ./setup.bin -f ase157_responsefile.txt -i silent
-DAGREE_TO_SYBASE_LICENSE=true -DRUN_SILENT=true
RadioButtonInputAction.install(): '$ASEP_REMEMBER_PASSWORD$' property has invalid '' value. The value must be one of the following: TRUE, FALSE,
我们以下会给出解决方法:
安装完成后我们将环境变量添加到sybase用户下
[sybase@sybase sybase]$ cat SYBASE.sh >> /home/sybase/.bash_profile
然后我们到15.7的ASE-15_0/bin目录下进行安装Adaptive Server和backup server
[sybase@sybase sybase]$ cd ASE-15_0/bin/
[sybase@sybase bin]$ ls
asecfg dataserver diagoptd diagsybtsmpasswd langinstall sqldbgr sqlupgrade srvbuildres sybhelp sybtsmpasswd
backupserver diagbs diagserver diagxps optase.sh sqlloc sqlupgraderes sybdiag sybmigrate xpserver
charset diagjsag diagsmb jsagent optdiag sqllocres srvbuild sybha sybmultbuf
更多精彩
赞助商链接