Difference between revisions of "GLPI"
Line 12: | Line 12: | ||
Prerequisites <br /> | Prerequisites <br /> | ||
First, install the "php-xmlrp" and "php-soap" in Fedora. (You may need to run these commands in Terminal as a superuser:) | First, install the "php-xmlrp" and "php-soap" in Fedora. (You may need to run these commands in Terminal as a superuser:) | ||
− | {{Code|yum install php-soap | + | {{Code|yum install php-soap php-xmlrpc}} |
− | |||
Downloaded the packages for Webservices and then Fusioninventory | Downloaded the packages for Webservices and then Fusioninventory | ||
Line 23: | Line 22: | ||
Log into GLPI with the GLPI root user | Log into GLPI with the GLPI root user | ||
+ | |||
=== Login Credentials: === | === Login Credentials: === | ||
'''''User name''''': glpi<br /> | '''''User name''''': glpi<br /> |
Revision as of 21:54, 12 January 2013
Note: This is for Amahi on Fedora. Ubuntu has not been tested. Anyone wanting to try it, please make notes here for the Amahi community. Thanks.
Installing GLPI on Amahi
Amahi has an app to install GLPI on your server. You can login to your Amahi Dashboard and choose it from the list of Apps.
See GLPI for more details
Fusioninventory Plugin for GLPI
Prerequisites
First, install the "php-xmlrp" and "php-soap" in Fedora. (You may need to run these commands in Terminal as a superuser:)
bash code |
---|
yum install php-soap php-xmlrpc
|
Downloaded the packages for Webservices and then Fusioninventory
- https://forge.indepnet.net/projects/webservices/files
- http://forge.fusioninventory.org/projects/fusioninventory-for-glpi/files
Note: Be sure to choose plugin versions that are compatible with your version of GLPI.
Unpack them into the /var/hda/web-apps/glpi/html/plugins directory. (Be sure to read the directions for each of the plugins. Some directories in the plugins require full read/write access for the installation of the plugin.)
Log into GLPI with the GLPI root user
Login Credentials:
User name: glpi
Password: glpi
Make use to change this password to protect your local system.
Installing the Plugins
Within GLPI, go to "Setup > Plugins."
In the table that presents itself you should see Webservices and four other plugins associated with Fusioninventory. To install, update or enable any plugin, one clicks on "install," "update," or "enable" in the table across from the plugin you want to activate in GLPI.
Webservices First
I had to install and/or update and enable the Webservices plugin first. I don't know if it was a coincidence or not, but things started working after I did clean install of the Fusioninventory plugin after installing Webservices.
Fusioninventory Plugins
Next, install the Fusioninventory plugin parts. There are four different component that have to be installed in a certain order. (GLPI will not let you install or update/enable other parts until prerequisites are in place. Just follow it intuitively.)
The All-Important URL
Go to Plugins > Fusioninventory > Setup in the GLPI menu and put the long url address for an Amahi app with the direcory additions needed. See the example below:
http://glpi.AAAA.com/plugins/fusioninventory/ ("AAAA" being the local domain.)
Connecting to the Agents
The same exact url in the Plugins/Fusioninventory/General Settings menu has to be in each agent, the agent you install on your server and then on each device. I just pulled up GLPI's web console and copied/pasted the url from the screen. Then I knew what the agent and the server had were identical. I had the agent do a "force inventory" and its information showed up in the Inventory > Computers screen of GLPI.
Done.