(二)开源IT资产管理系统-->OCS(win)客户端代理安装-阿里云开发者社区

开发者社区> 技术小胖子> 正文

(二)开源IT资产管理系统-->OCS(win)客户端代理安装

简介:
+关注继续查看

 

安装windows平台代理的客户端
 
下载地址:
 
双击OCS-NG-Windows-Agent-Setup.exe,点“Next”
 

 
点“I Agree”
 

   

 
这里输入OCS服务端的ip地址,其它选项不动,直接点“Next”
 
 
代理服务这里无需设置,直接点Next
 
 
这里打勾以下两个选项,一个是支持详细日志,一个是支持标签,标签名字写上能直接辨别这台设备的别名就ok,然后直接点“Next”
 
 
 
点“Next”

  

 
 
安装结束后会在桌面右下角任务栏有个OCS标志图标
 
注意:当OCS服务端ip换掉的时候,必须在客户端用命令去更新ip地址
如:进人客户端安装目录,运行以下命令,说明把服务端的ip更改为192.168.50.96
 
C:\ProgramFiles\OCS/InventoryAgent>
OCSInventory.exe /server=http://192.168.50.96/ocsinventory
 
贴一下OCSInventory.exe 为windows命令行用法:
 
Command Line Options:
Meaning:
/work_dir:"path to directory"
Agent must use "path to directory" as working dir (this directory may included configuration file). Default is "%ALLUSERSPROFILE%\Application Data\OCS Inventory NG\Agent" or "%PROGRAMDATA%\OCS Inventory NG\Agent"
/local[="path to folder"]
Agent do not contact communication server, and store inventory in xml compressed .ocs file into folder "path to folder". If no "path to folder" provided, agent assume folder as data folder</nowiki>
/debug[=level]
Generate a very verbose log file "ocsinventory.log" into agent's install folder.
  • 0 => disable verbose logs (default)
  • 1 => enable default verbose logs (default when no level provided provided)
  • 2 => enable debuging logs
/notag
Agent must NOT prompt user for TAG in any case
/tag="my value"
Agent must set "my value" as TAG value
/xml=["path to folder"]
Agent must store inventory in uncompressed xml format into folder "path to folder". If no "path to folder" provided, agent assume folder as data folder
/force
Always send inventory, even if server do not ask for it (use only for debugging purpose !)
/ipdisc="network number"
Agent must launch IP discovery on network "network number" (use only for debugging purpose !)


 

/ipdisc_lat="number of milliseconds"
Set latency between 2 IP Discover requests to "number of milliseconds"
/fastip
Never wait for latency between 2 IP Discover requests (use only for debugging purpose !)
/hkcu
Search also for software under HKEY_CURRENT_USER registry hive (do not work with service as LocalSystem !)
/uid
Agent must generate a new unique device ID
/server=http[s]://server.domain.tld[:port]/ocsinventory
Agent try to connect to Communication Server address and port Listening on http[s]://server.domain.tld[:port]/ocsinventory
/ssl=0|1
When usng SSL connections:
  • 0 => SSL without certificate validation,
  • 1 => SSL with server certificate validation required (needs CA certificate)
/ca="path_to_cabundle.pem"
Path to CA certificate chain file in PEM format, for server certificate validation
/user=username /pwd=password
Communication Server authentication credentials
/proxy_type=0|1|2|3
Agent proxy use
  • 0 => no,
  • 1 => HTTP proxy,
  • 2 => Socks 4 proxy,
  • 3 => Socks 5 proxy)


 

/proxy=proxy_address
Proxy server address (without protocol !)
/proxy_port=port
Proxy server port
/proxy_user=username /proxy_pwd=password



Proxy authentication credentials













    本文转自viong 51CTO博客,原文链接:http://blog.51cto.com/viong/503682,如需转载请自行联系原作者

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
【转】RAC 安装维护的 Metalink 必读文档
作者:eygle | English Version 【转载时请以超链接形式标明文章出处和作者信息及本声明】 链接:http://www.eygle.com/archives/2010/03/rac_metalink_recommend_notes.html 在进行RAC安装和维护过程中,有些Metalink文档是非常重要的参考,必读。
701 0
windows客户端连接到samba服务器(如何使用samba)
首先确保你的服务端已经配置好samba并成功启动服务,方法可参考此文章http://blog.csdn.net/linglongwunv/archive/2010/01/19/5212875.aspx,我们就可以从 Windows 客户端通过Windows网络连接到Samba,这里以 Windows...
1768 0
微软放出首款开源博客内容管理系统Oxite
“开源”两个字通常和微软扯不上太多的联系,不过,今天微软却出乎意料的放出了首款开放源码的博客/CMS内容管理系统,Oxite。软件使用Microsoft Public License (MS-Pl)授权方式,源代码完全公开。
743 0
14350
文章
0
问答
文章排行榜
最热
最新
相关电子书
更多
文娱运维技术
立即下载
《SaaS模式云原生数据仓库应用场景实践》
立即下载
《看见新力量:二》电子书
立即下载