1

海康iVMS换IP

 1 year ago
source link: http://abcdxyzk.github.io/blog/2022/09/09/system-hik-ip/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

https://baijiahao.baidu.com/s?id=1727631184465497447&wfr=spider&for=pc

https://www.jimay.com/support/42842.html

http://www.yater.cn/cjwtjd/3293.html

基础应用 -> 系统配置 -> 网域设置

子系统网域

基础应用 -> 系统配置 -> 子系统配置 -> 编辑 -> 默认网域 设置

服务器管理

基础应用 -> 资源管理 -> 服务器管理 -> 编辑 -> 默认网域 设置

门禁 -> 基础配置 -> 服务器管理 -> 编辑 -> 默认网域 设置

门禁 -> 硬件设备管理 -> … -> 所属网域 设置

事件中心 -> 基础配置 -> 服务器管理 -> … -> 默认网域 设置

csm配置

运行
桌面上的 CMS配置工具
或
D:\Program Files (x86)\SurveillanceSystem\CMS\tools\ConfigTool\BirdPrco.exe

修改 MQ服务器地址 和 基础应用地址

数据库 postgres Hik12345 , ivms8700 密码 ABC1616abc

平台数据库、MQ和基础应用的 IP地址更换, 需要使用部署安装工具,重新配置

如果启动 CMS配置工具 需要输密码,可以输入原始密码 hik12345+ 这个会做为web的admin帐号的密码

开发者密码是 ivms8700 的密码, 但是需要在修改一遍, 也就是原密码新密码都输入 ABC1616abc

不然会连不上数据库, web页面报404错误, sql报

ERROR [Prototyper] org.logicalcobwebs.proxool.pgsql_eps.sweep Prototype
java.sql.Exception: No suitable driver found for jdbc:postgresql://127.0.0.1:5432/cmsdb
...

web 配置

D:\Program Files (x86)\SurveillanceSystem\CMS*\webserver\Tomcat\conf

vim server.xml

192.168.10.100 => 192.168.10.200
D:\Program Files (x86)\SurveillanceSystem\Servers\BEDS

vim beds.xml

192.168.10.100 => 192.168.10.200
D:\Program Files (x86)\SurveillanceSystem\Servers\BLG

vim BlgConfig.xml

192.168.10.100 => 192.168.10.200

前端查看照片

D:\Program Files (x86)\SurveillanceSystem\CMS\webserver\Tomcat\webapps\acs\views\accessDoorInfoQuery
show_pic.jsp

$("#event-pic").attr("src", $("#dialog-show-pic").data("picUrl");
改成
$("#event-pic").attr("src", $("#dialog-show-pic").data("picUrl").replace("192.168.10.100", "192.168.100.200"));

以下不需要

D:\Program Files (x86)\SurveillanceSystem\CMS_V2.9.1\COMS\DAG

DAGConfig.xml
DC.xml
dp.xml

check

grep -r '192.168.10.100' CMS/
CMS/webserver/Tomcat/webapps/openapi/WEB-INF/classes/constants.properties:app.fas.url=http://192.168.10.100:80
CMS/webserver/Tomcat/webapps/openapi/WEB-INF/classes/constants.properties:app.ccs.url=http://192.168.10.100:80
CMS/webserver/Tomcat/webapps/openapi/WEB-INF/classes/constants.properties:app.ems.url=http://192.168.10.100:81


CMS_V2.8.3/webserver/Tomcat/webapps/acs/WEB-INF/classes/constants.properties
CMS_V2.8.3/webserver/Tomcat/webapps/att/WEB-INF/classes/constants.properties
CMS_V2.8.3/webserver/Tomcat/webapps/ems/WEB-INF/classes/constants.properties
CMS_V2.8.3/webserver/Tomcat/webapps/eps/WEB-INF/classes/constants.properties
CMS_V2.8.3/webserver/Tomcat/webapps/fas/WEB-INF/classes/constants.properties
CMS_V2.8.3/webserver/Tomcat/webapps/gisplatform/WEB-INF/classes/geoserver.properties
CMS_V2.8.3/webserver/Tomcat/webapps/ias/WEB-INF/classes/constants.properties
CMS_V2.8.3/webserver/Tomcat/webapps/license-watchdog/WEB-INF/classes/constants.properties
CMS_V2.8.3/webserver/Tomcat/webapps/msp/WEB-INF/classes/constants.properties
CMS_V2.8.3/webserver/Tomcat/webapps/openapi/WEB-INF/classes/constants.properties
CMS_V2.8.3/webserver/Tomcat/webapps/ROOT/WEB-INF/classes/constants.properties
CMS_V2.8.3/webserver/Tomcat/webapps/rvs/WEB-INF/classes/constants.properties
CMS_V2.8.3/webserver/Tomcat/webapps/vss/WEB-INF/classes/constants.properties
CMS_V2.8.3/webserver/Tomcat/webapps/webapi/WEB-INF/classes/constants.properties


CMS_V2.9.1/webserver/Tomcat/webapps/acs/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/att/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/ccs/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/cis/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/coms/WEB-INF/classes/config.properties
CMS_V2.9.1/webserver/Tomcat/webapps/ecs/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/ems/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/eps/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/fas/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/gisplatform/WEB-INF/classes/geoserver.properties
CMS_V2.9.1/webserver/Tomcat/webapps/ias/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/license-watchdog/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/msp/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/openapi/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/ops/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/pems/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/pms/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/ROOT/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/rvs/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/vis/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/vss/WEB-INF/classes/constants.properties
CMS_V2.9.1/webserver/Tomcat/webapps/webapi/WEB-INF/classes/constants.properties

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK