一。抓包
ftp> get linux26_DCE_OVOA.tar
local: linux26_DCE_OVOA.tar remote: linux26_DCE_OVOA.tar
227 Entering Passive Mode (16,157,129,7,217,247)
150 Opening BINARY mode data connection for linux26_DCE_OVOA.tar (9052160 bytes).
226 Transfer complete.
9052160 bytes received in 11 seconds (8.2e+02 Kbytes/s)
ftp> bye
221 Goodbye.
二。解包
sh-3.2# ls
linux26_DCE_OVOA.tar
sh-3.2# tar -xvf linux26_DCE_OVOA.tar
RPC_DCE_TCP/
RPC_DCE_TCP/actions/
RPC_DCE_TCP/actions/st_syslogd.sh.Z
RPC_DCE_TCP/cmds/
RPC_DCE_TCP/cmds/opc_sec_v.sh.Z
RPC_DCE_TCP/comm_pkg.Z
RPC_DCE_TCP/comm_version
RPC_DCE_TCP/install/
RPC_DCE_TCP/install/opcnsl
RPC_DCE_TCP/install/opcrclchk
RPC_DCE_TCP/install/opcrdschk
RPC_DCE_TCP/install/opcrinst
RPC_DCE_TCP/install/opcrndchk
RPC_DCE_TCP/install/opcroschk
RPC_DCE_TCP/install/opcrverchk
RPC_DCE_TCP/monitor/
RPC_DCE_TCP/monitor/cpu_mon.sh.Z
RPC_DCE_TCP/monitor/disk_mon.sh.Z
RPC_DCE_TCP/monitor/mailq_l.sh.Z
RPC_DCE_TCP/monitor/opcfwtmp.Z
RPC_DCE_TCP/opc_inst
RPC_DCE_TCP/opc_pkg.Z
RPC_DCE_TCP/opc_version
RPC_DCE_TCP/perf_pkg.Z
RPC_DCE_TCP/perf_version
sh-3.2# ls
linux26_DCE_OVOA.tar RPC_DCE_TCP
sh-3.2# cd RPC_DCE_TCP
sh-3.2# ls
actions comm_pkg.Z install opc_inst opc_version perf_version
cmds comm_version monitor opc_pkg.Z perf_pkg.Z
三。加權限
sh-3.2# chmod +x opc_inst
四。執行安裝腳本
sh-3.2# ./opc_inst -srv sgdsy206.chn.hp.com -cert_srv sgdsy206.chn.hp.com
Unpackaging:
opc_pkg … OK
comm_pkg … OK
perf_pkg … OK
Installing:
dce … OK
OPC … OK
OPCCOMM … OK
OPCPERF … OK
USAGE: opcactivate -h | <mgmtsv> [ -cn chset_agent ] [ -cs chset_server ] [ -l local_name ]
[ -mode standalone ] [ -s ] [ -sv ]
Options:
-h displays this help
-cn <cs> agent internal codeset to use
-cs <cs> server internal codeset to use
-l <loc> locale name for agent start
-s integrate the agent into the system startup/shutdown
-sv register the Service Discovery subagent
-mode standalone activates agent on standalone system (default value)
第五。收尾工作
Would you like to remove the installation files ? [n|y=default]: n
sh-3.2#