主頁(yè) > 知識(shí)庫(kù) > solaris8+apache2+weblogic813+db2_82客戶端+128 安裝過(guò)程

solaris8+apache2+weblogic813+db2_82客戶端+128 安裝過(guò)程

熱門(mén)標(biāo)簽:地圖標(biāo)注怎么上交呢 模型地圖標(biāo)注 臨沂ai電銷機(jī)器人價(jià)格 鳳城市地圖標(biāo)注app 揭陽(yáng)外呼系統(tǒng)收費(fèi) 菏澤監(jiān)獄親情電話機(jī)器人 黃石外呼saas系統(tǒng) 濟(jì)南呼叫中心外呼系統(tǒng)如何 怎樣使用奧維地圖標(biāo)注位置

作者:SOLARIS小兵 
MAIL:solarisxb@hotmail.com 
FROM:WWW.CHINAUNIX.NET 

一、系統(tǒng)信息:
1、安裝solaris8 
solaris8 02/4(三張盤(pán))
# uname -a
SunOS BJ-APP1 5.8 Generic_117350-15 sun4u sparc SUNW,Sun-Blade-1000

2、打補(bǔ)丁:
8_Recommended(149MB)

3、系統(tǒng)tcp優(yōu)化:
修改系統(tǒng)參數(shù)/etc/system
set rlim_fd_cur=81920
set rlim_fd_max=81920

/usr/sbin/ndd -set /dev/tcp tcp_conn_req_max_q 2048
/usr/sbin/ndd -set /dev/tcp tcp_conn_req_max_q0 8192

二、安裝apache2軟件:
1、安裝系統(tǒng)軟件:運(yùn)行apache2軟件需要如下軟件包:
apache-2.0.52-sol8-sparc-local      
libiconv-1.8-sol8-sparc-local
db-4.2.52.NC-sol8-sparc-local       
libtool-1.5-sol8-sparc-local
expat-1.95.5-sol8-sparc-local       
gcc-3.4.2-sol8-sparc-local          
openssl-0.9.7e-sol8-sparc-local
gdb-6.0-sol8-sparc-local            
gdbm-1.8.3-sol8-sparc-local         
glib-2.2.3-sol8-sparc-local         
libghttp-1.0.6-sol8-sparc-local

2、安裝管理軟件包:
top-3.5beta12-sol8-sparc3264-local
nmap-2.54BETA28-sol8-sparc-local
ssh-3.2.5.tar.gz

3、安裝ssl臨時(shí)證書(shū):
ssl.ca-0.1.tar.gz
生成臨時(shí)ssl的key。可以參考:http://dev.csdn.net/develop/article/33/33020.shtm

現(xiàn)在沒(méi)有這個(gè)工具了,只能自己動(dòng)手生成了,對(duì)證書(shū)不熟悉的人,有一個(gè)工具可以使用:http://www.openssl.org/contrib/ssl.ca-

0.1.tar.gz
# cd /usr/local/apache2/conf
# tar zxvf ssl.ca-0.1.tar.gz
# cd ssl.ca-0.1
# ./new-root-ca.sh                         (生成根證書(shū))
No Root CA key round. Generating one
Generating RSA private key, 1024 bit long modulus
...........................++++++
....++++++
e is 65537 (0x10001)
Enter pass phrase for ca.key:              (輸入一個(gè)密碼)
Verifying - Enter pass phrase for ca.key:  (再輸入一次密碼)
......
Self-sign the root CA...                   (簽署根證書(shū))
Enter pass phrase for ca.key:              (輸入剛剛設(shè)置的密碼)
........
........                                   (下面開(kāi)始簽署)
Country Name (2 letter code) [MY]:CN
State or Province Name (full name) [Perak]:JiangSu
Locality Name (eg, city) [Sitiawan]:NanJing
Organization Name (eg, company) [My Directory Sdn Bhd]:Wiscom System Co.,Ltd
Organizational Unit Name (eg, section) [Certification Services Division]:ACSTAR
Common Name (eg, MD Root CA) []:WISCOM CA
Email Address []:acmail@wiscom.com.cn

這樣就生成了ca.key和ca.crt兩個(gè)文件,下面還要為我們的服務(wù)器生成一個(gè)證書(shū):
# ./new-server-cert.sh server              (這個(gè)證書(shū)的名字是server)
......
......
Country Name (2 letter code) [MY]:CN
State or Province Name (full name) [Perak]:JiangSu
Locality Name (eg, city) [Sitiawan]:NanJing
Organization Name (eg, company) [My Directory Sdn Bhd]:Wiscom System Co.,Ltd
Organizational Unit Name (eg, section) [Secure Web Server]:ACSTAR
Common Name (eg, www.domain.com) []:acmail.wiscom.com.cn
Email Address []:acmail@wiscom.com.cn

這樣就生成了server.csr和server.key這兩個(gè)文件。
還需要簽署一下才能使用的:
# ./sign-server-cert.sh server
CA signing: server.csr -> server.crt:
Using configuration from ca.config
Enter pass phrase for ./ca.key:             (輸入上面設(shè)置的根證書(shū)密碼)
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName           :PRINTABLE:'CN'
stateOrProvinceName   :PRINTABLE:'JiangSu'
localityName          :PRINTABLE:'NanJing'
organizationName      :PRINTABLE:'Wiscom System Co.,Ltd'
organizationalUnitName:PRINTABLE:'ACSTAR'
commonName            :PRINTABLE:'acmail.wiscom.com.cn'
emailAddress          :IA5STRING:'acmail@wiscom.com.cn'
Certificate is to be certified until Jul 16 12:55:34 2005 GMT (365 days)
Sign the certificate? [y/n]:y
1 out of 1 certificate requests certified, commit? [y/n]y
Write out database with 1 new entries
Data Base Updated
CA verifying: server.crt -> CA cert
server.crt: OK
 (如果這里出現(xiàn)錯(cuò)誤,最好重新來(lái)過(guò),刪除ssl.ca-0.1這個(gè)目錄,從解壓縮處重新開(kāi)始。)

下面要按照ssl.conf里面的設(shè)置,將證書(shū)放在適當(dāng)?shù)奈恢谩?
# chmod 400 server.key
# cd ..
# mkdir ssl.key
# mv ssl.ca-0.1/server.key ssl.key
# mkdir ssl.crt
# mv ssl.ca-0.1/server.crt ssl.crt

然后就可以啟動(dòng)啦!
# cd /usr/local/apache2
# ./bin/apachectl startssl


4、安裝weblogic 軟件:weblogic 813
重要聲明:weblogic 812以前的版本不支持ssl 128位加密,只有weblogic 813以后的版本支持ssl 128位加密

安裝bea軟件:server813_solaris32.bin

創(chuàng)建server:
/export/home/bea/weblogic81/common/bin/config.sh

三、整合apache2和weblogic813

1、修改apache2配置文件httpd.conf
修改啟動(dòng)組:Group nobody
ServerName 192.0.0.188

2、拷貝so文件:
cd /usr/local/apache2/modules 
cp /export/home/bea/weblogic81/server/lib/solaris/mod_wl128_20.so .
vi httpd.conf
LoadModule weblogic_module modules/mod_wl128_20.so
#IfDefine SSL>
LoadModule ssl_module modules/mod_ssl.so
#/IfDefine>

3、添加weblogic連接文件:
Location />
  SetHandler weblogic-handler
/Location>

IfModule mod_weblogic.c>
        WebLogicHost 127.0.0.1
        WebLogicPort 7001
        MatchExpression *.jsp
        ConnectTimeoutSecs 60
/IfModule>
4、配置域名解析
vi /etc/resolv.conf
nameserver 211.94.69.34
vi /etc/nsswitch.conf
hosts:      files dns
備注:
報(bào)錯(cuò)信息:start: .[Tue Mar 01 21:15:30 2005] [crit] [Tue Mar 01 21:15:30 2005] file vhost.c, line 189, assertion "rv == 

APR_SUCCESS" failed 
解決方法:把/etc/resolv.conf和/etc/nsswitch.conf做了相應(yīng)的改動(dòng)后,就ok了

5、添加證書(shū):配置ssl證書(shū):我們買(mǎi)的是verisign的128位ssl證書(shū)。
vi ssl.conf
#SSLCertificateFile /usr/local/apache2/public.crt
#SSLCertificateKeyFile /usr/local/apache2/private.key
#SSLCertificateChainFile /usr/local/apache2/intermediate.crt

四、DB2數(shù)據(jù)庫(kù)客戶端安裝:
1、安裝db2數(shù)據(jù)庫(kù)for solaris 64為客戶端:
修改系統(tǒng)參數(shù)/etc/system
set msgsys:msginfo_msgmax = 65535
set msgsys:msginfo_msgmnb = 65535
set msgsys:msginfo_msgssz = 32
set msgsys:msginfo_msgseg = 32767
set msgsys:msginfo_msgmap = 2562
set msgsys:msginfo_msgmni = 2560
set msgsys:msginfo_msgtql = 2560
set semsys:seminfo_semmap = 3074
set semsys:seminfo_semmni = 3072
set semsys:seminfo_semmns = 6452
set semsys:seminfo_semmnu = 3072
set semsys:seminfo_semume = 600
set shmsys:shminfo_shmmax = 2134020096
set shmsys:shminfo_shmmni = 3072
set shmsys:shminfo_shmseg = 600

2、數(shù)據(jù)庫(kù)客戶端安裝:
/soft/076_ADCL_SUN_3264_NLV/adcl/db2setup
注意:選擇32位的客戶端就可以!

1、db2 catalog tcpip node dbnode remote 192.0.0.160 server 50001
db2 terminate
db2 catalog database mbidb2 as mbidb2 at node dbnode
db2 terminate
2、 db2連接
db2 connect to mbidb21 user db2inst1 using password
3、db2客戶端問(wèn)題解決:

db2set DB2CODEPAGE=1383
報(bào)錯(cuò)問(wèn)題解決:
$ db2 connect to mbidb26 user db2inst1 using password
SQL0 2N  There is no available conversion for the source code page "1383" to 
the target code page "819".  Reason Code "1".  SQLSTATE=57017

解決方法:
db2set DB2CODEPAGE=1383

備注:有錯(cuò)之處希望大家指正!
 

標(biāo)簽:邵陽(yáng) 漳州 企業(yè)管理 撫順 甘孜 泰安 十堰 人事邀約

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《solaris8+apache2+weblogic813+db2_82客戶端+128 安裝過(guò)程》,本文關(guān)鍵詞  solaris8+apache2+weblogic813+db2,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《solaris8+apache2+weblogic813+db2_82客戶端+128 安裝過(guò)程》相關(guān)的同類信息!
  • 本頁(yè)收集關(guān)于solaris8+apache2+weblogic813+db2_82客戶端+128 安裝過(guò)程的相關(guān)信息資訊供網(wǎng)民參考!
  • 企业400电话

    智能AI客服机器人
    15000

    在线订购

    合计11份范本:公司章程+合伙协议+出资协议+合作协议+股权转让协议+增资扩股协议+股权激励+股东会决议+董事会决议

    推薦文章