glpi有办公用品管理软件模块么?

Runtime Error
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a &customErrors& tag within a &web.config& configuration file located in the root directory of the current web application. This &customErrors& tag should then have its &mode& attribute set to &Off&.
&!-- Web.Config Configuration File --&
&configuration&
&system.web&
&customErrors mode=&Off&/&
&/system.web&
&/configuration&
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the &defaultRedirect& attribute of the application's &customErrors& configuration tag to point to a custom error page URL.
&!-- Web.Config Configuration File --&
&configuration&
&system.web&
&customErrors mode=&RemoteOnly& defaultRedirect=&mycustompage.htm&/&
&/system.web&
&/configuration&温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!&&|&&
I konw i can !
LOFTER精选
网易考拉推荐
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
原创作品,允许转载,转载时请务必以超链接形式标明文章
、作者信息和本声明。否则将追究法律责任。
OCSNG+GLPI 系统安装配置UTF-8版 支持中文 感谢Chris Woo 系统环境: CentOS5.5 64bit (32bit 测试通过) & 一,OCS和GLPI安装包准备 Server端:OCS1.3.2UTF8版 (linvinus 版) && #这个是关键。utf8.支持中文。而非乱码。 Windows客户端:
(linvinus 版) &&& #这个是关键。utf8.支持中文。而非乱码。 & GLPI安装包 0.78 RC2 & & 其他要准备的包:(手动下载) Apache-DBI-1.06.tar.gz(Apache 模块) & SOAP-Lite-0.69.tar.gz&& (prel 模块)
XML-Entities-0.0307.tar.gz(Prel 模块)
& 二,配置系统环境 1,配置LAMP环境 #yum install -y httpd mysql mysql-server php-mysql Apache需要手动装的模块:Apache-DBI #tar -zxvf Apache-DBI-1.06.tar.gz
#cd Apache-DBI-1.06
#perl Makefile.PL
#make test
#make install #chkconfig httpd on
#chkconfig mysqld on 修改mysql root密码,也可自定义用户. #/etc/init.d/mysqld start
#mysqladmin -u root password '123' 2,配置开发环境 #yum install -y gcc gcc-c++ glibc-devel
glibc-headers autoconf automake bzip2-devel zlib-devel ncurses-devel
libjpeg-devel libpng-devel libtiff-devel freetype-devel pam-devel
openssl-devel libXpm libX11 libxml2-devel gettext-devel pcre-devel mysql
mysql-server httpd php php-devel php-gd php-pecl-zip php-mysql
php-devel php-pear php-imap php-ldap php-odbc php-xml php-xmlrpc
mod_perl & 3,配置Perl 环境 #yum install –y perl mod_perl perl-XML-Simple perl-Compress-Zlib perl-DBI perl-DBD-MySQL perl-Net-IP prel需要手动安装的模块:SOAP-Lite 和XML-Entities #tar -zxvf SOAP-Lite-0.69.tar.gz
#cd SOAP-Lite-0.69
#perl Makefile.PL&
#make test
#make install
#tar -zxvf XML-Entities-0.0307.tar.gz&
#cd XML-Entities
#perl Makefile.PL
#make test
#make install & 三,安装OCSNG #tar -zxvf OCSNG_UNIX_SERVER-1.3.2-linvinus-with-utf8_patch.tar.gz #cd ocsinventory-server-1.3.2/ #./setup.sh & 1,脚本一路回车即可,如有错误请检查所有Perl模块是否都安装好 其中有一个选项需注意: Where to copy Administration Server static files for PHP Web Console
[/usr/share/ocsinventory-reports] ?/var/www/html/& 回车 :选择web文件存放的路径,我默认的是/var/www/html/ & 2,提示如下信息证明已经安装成功 DON'T FORGET TO RESTART APACHE DAEMON !
Enjoy OCS Inventory NG ;-) & 3,在地址栏输入 http://serverip/ocsreports/install.php& 进行安装配置 输入mysql用户密码如果本机的mysql地址是localhost, 接下来OCS会创建OCSweb库创建好后回到页面用默认admin/admin进入. & 这样服务端就配置完成.别忘了再重启一下mysqld服务. & 四:安装window客户端 客户端运行 安装即可,服务器地址填入OCSNG服务器地址,端口默认是80 之后在OCS中就可以看到客户端机器的数据了
& 可以查看的项目很多,当然游戏也不列外.不一一列举,
&付:默认安装完成自动会运行一次OcsAgent,当然可以以后手动运行,客户端配置文件在安装目录中的server.ini文件中,可以手动修改提交的服务器地址. 客户端可以转换成MSI包或者用官方 工具配置.官方可能是非UTF8的版本,这样中文可能还是有问题. & 五:安装GLPI GLPI的安装就相对简单了.可以装在一台服务器上,用同一台mysql库. 我选择的版本是GLPI 0.78 RC2 版本,和别的版本区别不大.安装0.78 多一个包的要求 准备2个包: json和php-mbstring #pecl download json& 或者手动去网站下载json-1.2.1.tgz包 #pear install json-1.2.1.tgz #tar -zxvf glpi-0.78-RC2.tar.gz & & #cp -a glpi /var/www/html/ #chown -R apache:apache /var/www/html/glpi/& 权限一定要给 & 配置GLPI: 浏览器输入http://serverip/glpi 进行配置 1,环境检测 2,选择语言 3,输入数据库帐号 4,创建新的glpi数据库 5,完成 默认的管理用户为glpi/glpi & & 六:配置OCS+GLPI协作 1,让GLPI支持中文: 十分感谢Chris Woo提供的方法 & && #这个是关键。utf8.支持中文。而非乱码。0.78版进入glpi安装目录,修改/inc/dbmysql.class.php文件,定位到$this-&dbenc 修改"latin1"为"utf8" 即可 0.74及以前版本在/inc/ocsng.class.php文件中修改 & 2,设置GLPI的OCS方式 在General 设置中打开OCSNG方式. & 进入 -&设定-&OCSNG方式-&localhost中 在通用选项中填入mysql帐号 在导入选项中都开启, 其中use the OCSNG software dictionary 不要开启,会导致不能同步OCS软件库,机器上看不到软件. 在 General informations 中开启所有选项 在 Link里开启所有选项 & 3,在工具-&OCSNG选项中选择添加新计算机的导入. & 导入成功后就可以在计算机中查看
& & 这样OCS和GLPI都已经配置好了,GLPI实在是太好了,CASE调度,资产管理,文档整理,不用我多说了.大家可以测试一下.本文出自 “” 博客,请务必保留此出处安装 OCSNG_LINUX_AGENT 客户端安装所需模块#yum install &perl-XML-Simple perl-Compress-Zlib perl-Net-IP perl-Digest-MD5 perl-Net-SSLeay perl-Crypt-SSLeay perl-XML-SAX perl-XML-LibXML -y#tar -zxf Ocsinventory-Agent-1.1.2.1.tar.gz &#cd Ocsinventory-Agent-1.1.2.1&#perl Makefile.PL&#make&#make test&#make install[ info] Accountinfo file doesn't exist. I create an empty one.&& &-& Success! //当你看到这里,恭喜你,你已经成功的将该计算机的清单发送到服务器 :-)############&这样使用make&install&的时候要等待用户输入,进行配置。也就是说,不能非交互式的允许。要是安装一百台客户端,每台都要输入一遍,很麻烦。所以,在网上搜索了一下,使用&expect&进行非交互式运行。写了两个脚本:ocsagent_install.sh&和&ocsmakeinstall.exp[root@host41 ocsng]# cat ocsagent_install.sh&#!/bin/bashif [ ! -f /etc/yum.repos.d/dag.repo ];thenwget http://192.168.5.41/pub/dag.repo -P /etc/yum.repos.dfiif [ ! -f /etc/yum.repos.d/ux168.repo ];thenwget http://192.168.5.41/pub/ux168.repo -P /etc/yum.repos.dfiif [ ! -f /tmp/Ocsinventory-Agent-1.1.2.1.tar.gz ];thenwget http://192.168.5.41/pub/Ocsinventory-Agent-1.1.2.1.tar.gz -P /tmpfiif [ ! -f /tmp/ocsmakeinstall.exp ];thenwget http://192.168.5.41/pub/ocsmakeinstall.exp -P /tmpfiyum clear allyum install expect perl-XML-Simple perl-Compress-Zlib perl-Net-IP perl-Digest-MD5 perl-Net-SSLeay perl-Crypt-SSLeay perl-XML-SAX perl-XML-LibXML -y&&&&###############这里安装了&expect&。用来执行&ocsmakeinstall.exprpm -qa|grep perl-Digest-MD5 & /tmp/perl.txtif [ -s /tmp/perl.txt ];thencd /tmptar -zxf Ocsinventory-Agent-1.1.2.1.tar.gz &cd Ocsinventory-Agent-1.1.2.1&perl Makefile.PL&make&make test&#make installexpect /tmp/ocsmakeinstall.expfiexit[root@host41 ocsng]#&[root@host41 ocsng]# cat ocsmakeinstall.exp&#!/usr/bin/expectset timeout 8set SERVERADDR 192.168.5.47&&&&&&&&&&&&&&&&###ocs服务器地址&&或者指定域名(dns服务器中需要有相关A记录)spawn make installexpect "*configure the agent*y*"&send "\r"expect "*write the configuration file?*?&"send "2\r"expect "*create the directory /etc/ocsinventory-agent?*"send "y\r"expect "*address of your ocs server?&*"send "$SERVERADDR\r"expect "*credential for the server?*'n'?&*"send "n\r"expect "*administrative tag*'n'?&*"send "y\r"expect "tag?&"send "linux\r"expect "*install the cron task in /etc/cron.d*"send "y\r"expect "*the agent to store its files?*/var/lib/ocsinventory-agent*"send "\r"expect "*create the /var/lib/ ocsinventory - agent directory?*"send "y\r"expect "*remove the old linux_agent*"send "n\r"expect "*use OCS- Inventory software deployment feature?*"send "y\r"expect "*send an inventory of this machine?*"send "y\r"#expect "*Success!*" {puts "Success!"}#expect "*root*]#"expect eof初学者,脚步写的比较垃圾。高手们多多指教。呵呵……关于windows&agent&可以写一个&install.bat&脚本。内容如下:OcsAgentSetup-utf8.exe /s /server:192.168.5.47 /pnum:80 /np /now /debug /notag /nosplash把&install.bat&与&OcsAgentSetup-utf8.exe&放在同一目录下。双击执行&install.bat.&就可以了。其实,官方还提供了一个部署工具&OCS Inventory NG Agent Deployment Tool。具体使用看&&这个很方便,在部署linux&客户端的时候,成功了。不过也要先把&依赖包&安装好才能部署成功。在部署windows&客户端时,一直说:登录失败OCS Inventory NG Agent Deployment ToolVersion 1.0.1.2Started on Wednesday 29 December :45======================================================================Host &192.168.5.160& Testing connection to remote host...Host &192.168.5.160& Trying to connect to remote host...Host &192.168.5.160& *** ERROR *** Connecting remote host: &登录失败: 未授予用户在此计算机上的请求登录类型。Host &192.168.5.161& Testing connection to remote host...Host &192.168.5.161& Trying to connect to remote host...Host &192.168.5.161& *** ERROR *** Connecting remote host: &登录失败: 未知的用户名或错误密码。&Deployment finished (0 success, 2 failed) !
阅读(2963)|
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
历史上的今天
loftPermalink:'',
id:'fks_094066',
blogTitle:'转载:
OCSNG+GLPI 系统安装配置UTF-8版 支持中文',
blogAbstract:'
{if x.moveFrom=='wap'}
{elseif x.moveFrom=='iphone'}
{elseif x.moveFrom=='android'}
{elseif x.moveFrom=='mobile'}
${a.selfIntro|escape}{if great260}${suplement}{/if}
{list a as x}
推荐过这篇日志的人:
{list a as x}
{if !!b&&b.length>0}
他们还推荐了:
{list b as y}
转载记录:
{list d as x}
{list a as x}
{list a as x}
{list a as x}
{list a as x}
{if x_index>4}{break}{/if}
${fn2(x.publishTime,'yyyy-MM-dd HH:mm:ss')}
{list a as x}
{if !!(blogDetail.preBlogPermalink)}
{if !!(blogDetail.nextBlogPermalink)}
{list a as x}
{if defined('newslist')&&newslist.length>0}
{list newslist as x}
{if x_index>7}{break}{/if}
{list a as x}
{var first_option =}
{list x.voteDetailList as voteToOption}
{if voteToOption==1}
{if first_option==false},{/if}&&“${b[voteToOption_index]}”&&
{if (x.role!="-1") },“我是${c[x.role]}”&&{/if}
&&&&&&&&${fn1(x.voteTime)}
{if x.userName==''}{/if}
网易公司版权所有&&
{list x.l as y}
{if defined('wl')}
{list wl as x}{/list}ubuntu 12.0 server 搭建OCS+GLPI_图文_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
ubuntu 12.0 server 搭建OCS+GLPI
&&ubuntu搭建OCS+GLPI,以前上传的11.10的完善版
阅读已结束,下载本文需要
想免费下载更多文档?
定制HR最喜欢的简历
下载文档到电脑,同时保存到云知识,更方便管理
加入VIP
还剩11页未读,
定制HR最喜欢的简历
你可能喜欢51CTO下载-(整理版)开源资产管理软件OCS%2BGLPI安装配置_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
51CTO下载-(整理版)开源资产管理软件OCS%2BGLPI安装配置
阅读已结束,下载本文需要
想免费下载更多文档?
定制HR最喜欢的简历
下载文档到电脑,同时保存到云知识,更方便管理
加入VIP
还剩12页未读,
定制HR最喜欢的简历
你可能喜欢拒绝访问 | www.codesec.net | 百度云加速
请打开cookies.
此网站 (www.codesec.net) 的管理员禁止了您的访问。原因是您的访问包含了非浏览器特征(40fd460f71a544a3-ua98).
重新安装浏览器,或使用别的浏览器

我要回帖

更多关于 办公用品管理制度 的文章

 

随机推荐