0岁的产品经理

更改客户行为数字化开放平台IP地址的方法

2019-05-06  本文已影响10人  scarlett_888

具体步骤如下:

1、查找服务器的IP地址

包括Dashboard的IP地址(记为ip1.0.0.0)、Jenkins与C++的IP地址(记为ip2.0.0.0)。

方法:
Linux系统用命令行 ifconfig
windows系统用命令行 ipconfig

2、Jenkin配置

包括RootURL和SSH Senven的配置。

方法:
首先点击Manage Jenling,再点击Configure System,在出现的页面中完成下面两种修改。

(1) RootURL

找到jenlins url板块,更改为ip2.0.0.0 + ":8000/",如图1所示。


图1

(2) SSH Senven

找到SSH Senven板块,更改账号密码,如图2所示。
Name:PingAnNetDashboard
Hostname为ip1.0.0.0


图2

3、Freeforward_build

在Manage Jenkins模块中找到freeforward build ,再点击configuration,找到buid模块中的execute shell,修改api_server中的ip地址,此地址为1.0.0.0。

4、在Dashboard Seven中找文件

打开Desktop,找到gamma_insight下的Gamma Insight Server,点击src ,再找到main的application-prod.properties 在其中更改IP地址,此IP地址为更新后的ip1.0.0.0,记为1.0.0.1。

最后在gitlab中提交代码。

此步用以完成Dashboard的ip更新。

5、在Jenkins中新建

在Jenkins 中Build Executor Status ,在Gamma Insight_Seven中点击Build Now,此IP地址为更新后的ip2.0.0.0。

此步用以完成Jenkins的ip更新。

6、重新访问

重新访问Dashboard,即可访问最新页面。

上一篇下一篇

猜你喜欢

热点阅读