Skip to content

Commit

Permalink
客户端安装包报错问题处理
Browse files Browse the repository at this point in the history
  • Loading branch information
guohongze committed Jun 23, 2017
1 parent 52dd7e4 commit 825e1d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ adminset/install/server_install.sh<br>
客户端脚本在centos上开发,目前支持6和7,在ubuntu等其它平台可能会需要做部分兼容性修定<br>
说明:为保证注册IP是管理IP(后续会被ansible等调用),客户端的IP抓取目前使用主机名解析,否则报错。 如:主机名为cn-bj-web01 请在/etc/hosts中加入相应的解析 192.168.x.x cn-bj-web01,这样再执行adminset_agent.py 可以保证正常运行。 centos7不进行解析也可获取主机IP.
#### step1:
yum install -y smartmontools dmidecode python-pip
yum install -y smartmontools dmidecode python-pip python-devel python
#### step2:
拷贝client/adminset_agent.py 到客户机上并执行,自动上报主机信息.
后台运行请参考:
Expand Down
2 changes: 1 addition & 1 deletion docs/Manual.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
客户端安装
说明:为保证注册IP是管理IP(后续会被ansible等调用),客户端的IP抓取目前使用主机名解析,否则报错。 如:主机名为cn-bj-web01 请在/etc/hosts中加入相应的解析 192.168.x.x cn-bj-web01,这样再执行adminset_agent.py 可以保证正常运行。 centos7不进行解析也可获取主机IP.
step1:
yum install -y smartmontools dmidecode python-pip
yum install -y smartmontools dmidecode python-pip python-devel python
step2:
拷贝client/adminset_aent.py 到客户机上并执行,自动上报主机信息.
后台运行请参考:
Expand Down

0 comments on commit 825e1d0

Please sign in to comment.