DCSM后台软件安装
1.后台软件安装
1、向DCN客服索要DCSM后台软件版本(本例以3.02.06.02版本为例),并通过ftp或sftp
上载至DCSM服务器。
2、解压后台软件tar zxvf trustview-3.02.06.,得到trustview-3.02.06.02目录夹
3、进入trustview-3.02.06.02目录夹,执行./install安装脚本,即开始DCSM后台软件的安装
[root@DCSM-Master ~]#ls
anaconda-ks.cfg install.log.syslog trustview-3.02.06.02
Desktop mysql_5.0.22 trustview-3.02.06.
install.log mysql_5.0.22.tar
[root@DCSM-Master ~]# cd trustview-3.02.06.02
[root@DCSM-Master trustview-3.02.06.02]#ls
bin dbscript dcsm_ha etc gui include install install_oracle_db.sh lib man mysql oracle sbin share sock var
[root@DCSM-Master trustview-3.02.06.02]#./install
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++
+ trustview installer,Version 1.0
+ Installer is scanning
+
+ which kind of database you chose to install (0 mysql ,1 oracle), (0/1)?0
+ Copy file
.............................................................................................................................................
.....................................................................................................................................................
....................................................
+ copy file accourding to dbtype
+ copy mysql file accourding to dbtype
+ finish copy file accourding to dbtype
+
+ Choose the net interface which one will be used by trustview server:
1) eth0 (IPv4: 192.168.1.21, IPv6: 2001:1:1::1/64;fe80::20c:29ff:fefb:d552/64)
#? 1(如果部署HA,需先确认Eth0、Eth1 为up,且安装DCSM时必须选择Eth0-即Eth0为通信接口)
+ Choose the interface IPv6 address which one will be servered by trustview server:
1) no support
2) 2001:1:1::1/64
3) fe80::20c:29ff:fefb:d552/64
#?2(如果没有或不使用IPv6地址,请选择1-no support)
192.168.1.21
2001:1:1::1
停止MySQL:[确定]
启动MySQL:[确定]
+ please input db ip(default ip is 127.0.0.1)(直接回车)
+ please input db user(default user is root)(直接回车)
+ please input db password(default password is empty)(输入之前定义的mysql密码) + Installing
+ Running
+ Finished installing database
+
/root
+ Set
+ Set JAVA environment variable
++++++++++++++++ initial dbus env for java +++++++++++++++++++++++++++
install -d /usr/local/lib/jni
install libcgi-java.so /usr/local/lib/jni
install libunix-java.so /usr/local/lib/jni
install -d /usr/local/share/java
install -m 644 debug-enable-1.1.jar /usr/local/share/java
install -m 644 debug-disable-1.1.jar /usr/local/share/java
install -m 644 unix-0.5.jar /usr/local/share/java
install -m 644 cgi-0.5.jar /usr/local/share/java
install -m 644 io-0.1.jar /usr/local/share/java
install -m 644 hexdump-0.2.jar /usr/local/share/java
ln -sf debug-disable-1.1.jar /usr/local/share/java/debug-disable.jar
ln -sf debug-enable-1.1.jar /usr/local/share/java/debug-enable.jar
ln -sf unix-0.5.jar /usr/local/share/java/unix.jar
ln -sf io-0.1.jar /usr/local/share/java/io.jar
ln -sf cgi-0.5.jar /usr/local/share/java/cgi.jar
ln -sf hexdump-0.2.jar /usr/local/share/java/hexdump.jar
++++++++++++++++ end initial dbus env +++++++++++++++++++++++++++
+
+ Configure trustview server,creat
+ Modify the ipaddree:200.101.0.179 to :192.168.1.21 in configure file
+
+ success in registing trustview service
+ Configure
+ Configure
+ Modify confige file,regist
+ Setting
+ Modify rc.local
+ rc.local has been set
+
+ Configure WebPortal ActiveX Plugin.Using Plugin for collecting terminal information
+ Are you sure deploy plugin in WebPortal? (Y/N)
y
install dcsm-ha ......
< >>>>>>>>### [100%]
1:heartbeat >>>>>>>>### [100%]
install
please input database type(0:mysql / 1:oracle), (0/1)?:0
install dcsm_
configure init para of mysql
configure init para of mysql success
install dcsm_ha success
could not find ParserDetails.ini in /usr/lib/perl5/vendor_perl/5.8.8/XML/SAX
mode is off iii
192.168.1.21dos2unix: converting file /usr/local/dcsm/gui/WebAuth/WEB-INF/dcweb portal.cfg to UNIX format ...
dos2unix: converting file /usr/local/dcsm/gui/WebAuth/WEB-INF/dcwebportal.cfg to UNIX format ...
dos2unixopenactiveccdcsm iphostnameopen dcsm_conf_filedbus machine-id has already create.
dbus 2916 0.0 0.1 2740 928 ? Ss 17:19 0:00 dbus-daemon --system
root 4841 0.0 0.0 5188 708 pts/2 S+ 19:28 0:00 grep dbus no deamon launch
launch new dbus deamon(DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-
MrmwcfLKUL,guid=c0362ca20034a086c710a9004e54e078';
export DBUS_SESSION_BUS_ADDRESS;
DBUS_SESSION_BUS_PID=4847;)
4847
dbus 2916 0.0 0.1 2740 928 ? Ss 17:19 0:00 dbus-daemon --system
root 4847 0.0 0.0 2740 508 ? Ss 19:28 0:00 /bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
root 4864 0.0 0.0 5188 708 pts/2 S+ 19:28 0:00 grep dbus 启动crond:cardmgr 已经在运行[失败]
启动MySQL:[确定]
================000001f4
==ffffffff
bootstrap 软件
1314185338,0
last login 0!
First run, check!
verifyLicence success!
success
failure
failure
success
================000001f4
==ffffffff
1314185339,1316777338
last login 1314185338!
check last login!
verifyLicence success!
Wed Aug 24 19:28:59 2011 : Info: check license success !
000C29FBD552
2905181209812442189021815092
Wed Aug 24 19:28:59 2011 : Info: getid : 20090-0C518-21920-9F8B1-24D42-18950-52181-52092.
================000001f4
==ffffffff
Wed Aug 24 19:28:59 2011 : Info: Radius Accounting Module has been enable!
================000001f4
==ffffffff
Wed Aug 24 19:28:592011 : Info: Starting -reading configuration files ...
success
starting success
success
success
================000001f4
==ffffffff

发表评论