Sybase ASE 15.7使用響應(yīng)文件靜默安裝
成都創(chuàng)新互聯(lián)公司是一家以網(wǎng)絡(luò)技術(shù)公司,為中小企業(yè)提供網(wǎng)站維護(hù)、網(wǎng)站設(shè)計(jì)、成都做網(wǎng)站、網(wǎng)站備案、服務(wù)器租用、申請(qǐng)域名、軟件開(kāi)發(fā)、重慶小程序開(kāi)發(fā)等企業(yè)互聯(lián)網(wǎng)相關(guān)業(yè)務(wù),是一家有著豐富的互聯(lián)網(wǎng)運(yùn)營(yíng)推廣經(jīng)驗(yàn)的科技公司,有著多年的網(wǎng)站建站經(jīng)驗(yàn),致力于幫助中小企業(yè)在互聯(lián)網(wǎng)讓打出自已的品牌和口碑,讓企業(yè)在互聯(lián)網(wǎng)上打開(kāi)一個(gè)面向全國(guó)乃至全球的業(yè)務(wù)窗口:建站溝通電話:18980820575
交代一下實(shí)驗(yàn)環(huán)境,HP DL580下安裝RHEL 5.5,Sybase version:15.7
Sybase的安裝目錄為/opt/Sybase
Sybase的軟件位置為/home/setup
Sybase屬組用戶都是新建sybase
下面我們開(kāi)始使用響應(yīng)文件來(lái)創(chuàng)建Sybase數(shù)據(jù)庫(kù)
[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
如果此處報(bào)錯(cuò):
[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,
我們以下會(huì)給出解決方法:
安裝完成后我們將環(huán)境變量添加到sybase用戶下
[sybase@sybase sybase]$ cat SYBASE.sh >> /home/sybase/.bash_profile
然后我們到15.7的ASE-15_0/bin目錄下進(jìn)行安裝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
[sybase@sybase bin]$ ./srvbuildres -r /home/setup/sybase.rs
Warning: You have selected '4K' as the logical page size for the Adaptive
Server. If you plan to load dump from another database, make sure this logical
page size matches the size of the source database. The default logical page
size in previous Adaptive Server versions was 2KB.
Building Adaptive Server 'sybase':
Writing entry into directory services...
Directory services entry complete.
Building master device...
Master device complete.
Writing RUN_sybase file...
RUN_sybase file complete.
Starting server...
Server started.
Building sysprocs device and sybsystemprocs database...
sysprocs device and sybsystemprocs database created.
Running installmaster script to install system stored procedures...
installmaster: 10% complete.
installmaster: 20% complete.
installmaster: 30% complete.
installmaster: 40% complete.
installmaster: 50% complete.
installmaster: 60% complete.
installmaster: 70% complete.
installmaster: 80% complete.
installmaster: 90% complete.
installmaster: 100% complete.
installmaster script complete.
Creating two-phase commit database...
Two phase commit database complete.
Installing common character sets (Code Page 437, Code Page 850, ISO Latin-1,
Macintosh and HP Roman-8)...
Character sets installed.
Setting server name in Adaptive Server...
Server name added.
Server 'sybase' was successfully created.
[sybase@sybase bin]$ ./srvbuildres -r /home/setup/sybase_bk.rs
Building Backup Server 'sybase_BK':
Writing entry into directory services...
Directory services entry complete.
Writing RUN_sybase_BK file...
RUN_sybase_BK file complete.
Starting server...
Server started.
Server 'sybase_BK' was successfully created.
提示ASE Server安裝完成,那么我們來(lái)啟動(dòng)服務(wù)器
[sybase@sybase install]$ ./startserver -f RUN_sybase
啟動(dòng)完成后,我們可以查看一下我們安裝的Sybase軟件版本、使用isql登陸時(shí)候,盡量別使用-P參數(shù),那樣SA的密碼會(huì)明文顯示出來(lái),-S就是跟服務(wù)器名
[sybase@sybase install]$ isql -Usa -Ssybase
Password:
1> select @@version
2> go
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Adaptive Server Enterprise/15.7.0/EBF 19495 SMP /P/x86_64/Enterprise Linux/ase1
57/2820/64-bit/FBO/Fri Sep 16 00:54:35 2011
(1 row affected)
響應(yīng)文件、以及創(chuàng)建Server備注腳本:
[sybase@sybase setup]$ ls
archives ase157_responsefile.txt ASE-FDT-List.pdf sample_response.txt setup.bin sybase_bk.rs Sybase-FDT-Master.pdf sybase.rs sysam_setup sysam_utilities
[sybase@sybase setup]$ more sybase.rs
sybinit.release_directory: USE_DEFAULT
sybinit.product: sqlsrv
sqlsrv.server_name: sybase
sqlsrv.sa_password: sybase
sqlsrv.new_config: yes
sqlsrv.do_add_server: yes
sqlsrv.network_protocol_list: tcp
sqlsrv.network_hostname_list: 192.168.111.20
sqlsrv.network_port_list: 6000
sqlsrv.application_type: MIXED
sqlsrv.server_page_size: 4K
sqlsrv.force_buildmaster: yes
sqlsrv.master_device_physical_name: /opt/sybase/data/tpch/master_dev.dat
sqlsrv.master_device_size: 150
sqlsrv.master_database_size: 60
sqlsrv.errorlog: USE_DEFAULT
sqlsrv.do_upgrade: no
sqlsrv.sybsystemprocs_device_physical_name: /opt/sybase/data/tpch/systemprocs_dev.dat
sqlsrv.sybsystemprocs_device_size: 160
sqlsrv.sybsystemprocs_database_size: 160
sqlsrv.sybsystemdb_device_physical_name: /opt/sybase/data/tpch/systemdb_dev.dat
sqlsrv.sybsystemdb_device_size: USE_DEFAULT
sqlsrv.sybsystemdb_database_size: USE_DEFAULT
sqlsrv.tempdb_device_physical_name: USE_DEFAULT
sqlsrv.tempdb_device_size: 500
sqlsrv.tempdb_database_size: 500
sqlsrv.default_backup_server: sybase_BK
#sqlsrv.addl_cmdline_parameters: PUT_ANY_ADDITIONAL_COMMAND_LINE_PARAMETERS_HERE
sqlsrv.do_configure_pci: no
sqlsrv.sybpcidb_device_physical_name: PUT_THE_PATH_OF_YOUR_SYBPCIDB_DATA_DEVICE_HERE
sqlsrv.sybpcidb_device_size: USE_DEFAULT
sqlsrv.sybpcidb_database_size: USE_DEFAULT
# If sqlsrv.do_optimize_config is set to yes, both sqlsrv.avail_physical_memory and sqlsrv.avail_cpu_num need to be set.
#sqlsrv.do_optimize_config: yes
#sqlsrv.avail_physical_memory: 2048
#sqlsrv.avail_cpu_num: 4
[sybase@sybase setup]$ more sybase_bk.rs
sybinit.release_directory: USE_DEFAULT
sybinit.product: bsrv
bsrv.server_name: sybase_BK
bsrv.new_config: yes
bsrv.do_add_backup_server: yes
bsrv.do_upgrade: no
bsrv.network_protocol_list: tcp
bsrv.network_hostname_list: 192.168.111.20
bsrv.network_port_list: 6001
bsrv.language: USE_DEFAULT
bsrv.character_set: USE_DEFAULT
bsrv.tape_config_file: USE_DEFAULT
bsrv.errorlog: USE_DEFAULT
sqlsrv.related_sqlsrvr: sybase
sqlsrv.sa_login: sa
sqlsrv.sa_password: sybase
#bsrv.addl_cmdline_parameters: PUT_ANY_ADDITIONAL_COMMAND_LINE_PARAMETERS_HERE
[sybase@sybase setup]$ more ase157_responsefile.txt
# Mon Aug 06 15:04:27 CST 2012
# Replay feature output
# ---------------------
# This file was built by the Replay feature of InstallAnywhere.
# It contains variables that were set by Panels, Consoles or Custom Code.
#Validate Response File
#----------------------
RUN_SILENT=true
AGREE_TO_SYBASE_LICENSE=true
#Choose Install Folder
#---------------------
USER_INSTALL_DIR=/opt/sybase
#Install older version
#---------------------
INSTALL_OLDER_VERSION=false
#Choose Update Install Option
#----------------------------
DO_UPDATE_INSTALL=false
#Choose Install Set
#------------------
CHOSEN_INSTALL_SET=Full
#Choose Product License Type
#---------------------------
SYBASE_PRODUCT_LICENSE_TYPE=evaluate
SYSAM_LICENSE_SOURCE=proceed_without_license
SYSAM_LICENSE_FILE_PATHNAME=
SYSAM_EXISTING_LICENSE_SERVER_HOSTNAME=
SYSAM_EXISTING_LICENSE_SERVER_PORTNUMBER=
SYSAM_PRODUCT_EDITION=Enterprise Edition
SYSAM_LICENSE_TYPE=EV : Evaluation License
#Configure New Servers
#---------------------
SY_CONFIG_ASE_SERVER=false
SY_CONFIG_BS_SERVER=false
SY_CONFIG_XP_SERVER=false
SY_CONFIG_JS_SERVER=false
SY_CONFIG_SM_SERVER=false
SY_CONFIG_WS_SERVER=false
SY_CONFIG_SCC_SERVER=false
SY_CONFIG_TXT_SERVER=false
#Remember ASE Password
#---------------------
ASEP_REMEMBER_PASSWORD=FALSE
ASEP_REMEMBER_PASSWORD_1=
ASEP_REMEMBER_PASSWORD_2=Disable
ASEP_REMEMBER_PASSWORD_BOOLEAN_1=0
ASEP_REMEMBER_PASSWORD_BOOLEAN_2=1
加粗部分為RadioButtonInputAction.install(): '$ASEP_REMEMBER_PASSWORD$' property has invalid '' value. The value must be one of the following: TRUE, FALSE解決方法。
網(wǎng)站標(biāo)題:SybaseASE15.7靜默安裝
網(wǎng)頁(yè)網(wǎng)址:http://vcdvsql.cn/article0/jhjhio.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供營(yíng)銷型網(wǎng)站建設(shè)、標(biāo)簽優(yōu)化、網(wǎng)站制作、網(wǎng)站設(shè)計(jì)公司、網(wǎng)站內(nèi)鏈、手機(jī)網(wǎng)站建設(shè)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)