部署環(huán)境:
在成都網(wǎng)站建設(shè)、網(wǎng)站設(shè)計(jì)過(guò)程中,需要針對(duì)客戶的行業(yè)特點(diǎn)、產(chǎn)品特性、目標(biāo)受眾和市場(chǎng)情況進(jìn)行定位分析,以確定網(wǎng)站的風(fēng)格、色彩、版式、交互等方面的設(shè)計(jì)方向。成都創(chuàng)新互聯(lián)公司還需要根據(jù)客戶的需求進(jìn)行功能模塊的開(kāi)發(fā)和設(shè)計(jì),包括內(nèi)容管理、前臺(tái)展示、用戶權(quán)限管理、數(shù)據(jù)統(tǒng)計(jì)和安全保護(hù)等功能。
32位SUSE10.2 linuex(IP地址192.168.117.120),ASE12.5.3
步驟
1.創(chuàng)建服務(wù)賬戶
groupadd sybase
useradd -g sybase sybase
2.創(chuàng)建安裝目錄
mkdir /opt/sybase
chown sybase.sybase /opt/sybase
接下來(lái)所有的操作都是在sybase用戶下進(jìn)行
這里我們用圖形化方式做配置,所有設(shè)置下環(huán)境變量DISPLAY
export DISPLAY=192.168.117.1:0.0 本機(jī)的IP地址
3.開(kāi)始安裝ASE
./setup -options-record /tmp/silentinstall.txt (加上這個(gè)參數(shù)可以得到靜默安裝的參數(shù)文件)
這里先不選任何配置項(xiàng),后面手動(dòng)配置,因?yàn)橛袇?shù)和環(huán)境變量需要修改
至此,ASE的安裝完成,接下來(lái)我們開(kāi)始創(chuàng)建server
4.修改相應(yīng)參數(shù)
配置共享內(nèi)存大小
echo "kernel.shmmax=671088640" >> /etc/sysctl.conf
用root執(zhí)行/sbin/sysctl -p使配置生效
配置環(huán)境變量LD_POINTER_GUARD
echo "LD_POINTER_GUARD=1" >> /home/sybase/.bashrc
cat /opt/sybase/SYBASE.sh >> /home/sybase/.bashrc
echo "DSQUERY=SYBASE" >> /home/sybase/.bashrc
echo "DSLISTEN=SYBASE" >> /home/sybase/.bashrc
source /home/sybase/.bashrc
export LANG=C
編輯服務(wù)器配置文件
vi sqlsrv.rs
sybinit.release_directory: /opt/sybase
sybinit.product: sqlsrv
sqlsrv.server_name: SYBASE
sqlsrv.new_config: yes
sqlsrv.do_add_server: yes
sqlsrv.sa_login: sa
sqlsrv.sa_password:
sqlsrv.default_language: us_english
sqlsrv.default_characterset: utf8
sqlsrv.sort_order: binary
sqlsrv.network_protocol_list: tcp
sqlsrv.network_hostname_list: sybase
sqlsrv.network_port_list: 5000
sqlsrv.server_page_size: 2k
sqlsrv.force_buildmaster: yes
sqlsrv.master_device_physical_name: /opt/sybase/data/master.dat
sqlsrv.master_device_size: 500
sqlsrv.master_database_size: 120
sqlsrv.errorlog: /opt/sybase/ASE-12_5/install/SYBASE.log
sqlsrv.do_upgrade: no
sqlsrv.sybsystemprocs_device_physical_name: /opt/sybase/data/sybsystemprocs.dat
sqlsrv.sybsystemprocs_device_size: 500
sqlsrv.sybsystemprocs_database_size: 120
sqlsrv.sybsystemdb_device_physical_name: /opt/sybase/data/sybsystemdb.dat
sqlsrv.sybsystemdb_device_size: 500
sqlsrv.sybsystemdb_database_size: 200
sqlsrv.default_backup_server: SYBASE_BS
vi bsrv.rs
sybinit.boot_directory: /opt/sybase
sybinit.release_directory: /opt/sybase
sybinit.product: bsrv
bsrv.do_add_backup_server: yes
bsrv.server_name: SYBASE_BS
bsrv.errorlog: /opt/sybase/ASE-12_5/install/SYBASE_BS.log
bsrv.network_port_list: 5001
bsrv.network_hostname_list: sybase
bsrv.network_protocol_list: tcp
bsrv.character_set: utf8
bsrv.language: us_english
bsrv.tape_config_file: USE_DEFAULT
bsrv.network_name_alias_list:
bsrv.notes:
bsrv.connect_retry_delay_time: 5
bsrv.connect_retry_count: 5
bsrv.addl_cmdline_parameters:
bsrv.new_config: yes
bsrv.do_upgrade: no
sqlsrv.sa_login: sa
sqlsrv.sa_password:
vi xp.rs
sybinit.release_directory: /opt/sybase
sybinit.product: xp
xp.server_name: SYBASE_XP
xp.new_config: yes
xp.do_add_xp_server: yes
xp.do_upgrade: no
xp.network_protocol_list: tcp
xp.network_hostname_list: sybase
xp.network_port_list: 5002
xp.related_sqlsrvr: SYBASE
sqlsrv.sa_login: sa
sqlsrv.sa_password:
vi msrv.rs
sybinit.release_directory: /opt/sybase
sybinit.product: msrv
msrv.server_name: SYBASE_MS
msrv.new_config: yes
msrv.do_add_monitor_server: yes
msrv.do_upgrade: no
msrv.network_protocol_list: tcp
msrv.network_hostname_list: sybase
msrv.network_port_list: 5003
msrv.errorlog: /opt/sybase/ASE-12_5/install/SYBASE_MS.log
sqlsrv.related_sqlsrvr: SYBASE
sqlsrv.sa_login: sa
sqlsrv.sa_password:
5.通過(guò)執(zhí)行程序srvbuild創(chuàng)建相應(yīng)服務(wù)
./srvbuild -r sqlsrv.rs
./srvbuild -r bsrv.rs
./srvbuild -r xp.rs
./srvbuild -r msrv.rs
網(wǎng)頁(yè)名稱:sybase部署
瀏覽路徑:http://jinyejixie.com/article24/ppidje.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供云服務(wù)器、網(wǎng)站營(yíng)銷(xiāo)、商城網(wǎng)站、域名注冊(cè)、網(wǎng)站設(shè)計(jì)、微信小程序
聲明:本網(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)