GLPI – IT and asset Managemet Software

Sponsored Link
GLPI stands for “Gestionnaire libre de parc informatique”, GLPI is the Information Resource Manager with an additional Administration- Interface. You can use it to build up a database with an inventory for your company (computer, software, printers...). It has enhanced functions to make the daily life for the administrators easier, like a job tracking system with mail-notification and methods to build a database with basic information about your network-topology.

GLPI Requirements

Linux or Windows Operating system

Apache webserver with php support

Mysql Database with php support

Preparing your system for GLPI Installation

WARNING: "this tutorial is meant for users that have a good knowledge of development tools and manual installation process and will be hardly supported by the Ubuntu community. Standard supported procedure are to install packages from the official repositories, not to compile them by  hand".

Install apache2 with php support in Ubuntu

If you want to install apache2 with php support follow these steps

sudo aptitude install apache2

This will complete the installation of apache2 web server and now you need to know where
the configuration files and document root for your apache web server.

By default all your configuration files are located at /etc/apache2.Default document root for apache2 is /var/www.If you want to change the default document root you need to edit the /etc/apache2/sites-available/default file and look for this line “DocumentRoot /var/www/” here you can change where ever you want to change.For example if you want to change /home/wwww the above line looks like this “DocumentRoot /home/www/”.

The main configuration file located at /etc/apache2/apche2.conf.

Install php support for apache2

If you want to add support of php and cgi scripts install the following packages
libapache2-mod-php5,php5-cli,php5-common,php5-cgi

sudo aptitude install libapache2-mod-php5 php5-cli php5-common php5-cgi

This will complete the installation of php support for apache2.

If you want to allow the different index files types check for the following line in etc /apache2/apache2.conf file

DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.shtml

Install Mysql Database server in Ubuntu with php support

If you want to install mysql database server with php support in ubuntu use the following
command

sudo aptitude mysql-server php5-mysql

At the time of installation it will prompt for mysql server root password and it will complete the installation

Install GLPI in Ubuntu

First you need to download the GLPT .tar.gz file from the download section of GLPI website in to your webserver root directory.For debian users default document root is
/var/www/ so i am downloading in to this.

wget http://www.glpi-project.org/IMG/gz/glpi-0.68.3-2.tar.gz

sudo tar xzvf glpi-0.68.3-2.tar.gz

Now you should be having glpi directory in /var/www/ and change permissions for config
and files directories using the following command.

sudo chmod 777 config/ files/

To begin the installation you must to use your browser point to http://yourserverip/glpi/

During the first connection, a step by step installation starts and you should see the
following screen in this you need to select your language and click ok.

Now you have to accept the licence and click on continue.

Next screen you need to select install or update.I have selected install in this option.

Once you click on install you should see the screen “checking the compatibility of your environment” if something is missing it will give the error and you need to fix.If everything is fine you should see the following screen and click on continue.

Now you need to setup database connection here you need to enter your mysql server, mysql user and mysql user password and click on continue.

Here you need to select create new database,enter glpi (any of your choice) and click on
continue.

This time the database is initialized with the default values. Some informations are given to you on these values. Read this information attentively and click on continue.

Now it will display the information about the installation of GLPI is now finished, a summary is displayed. Read these informations attentively and click on use GLPI.

Once you click on use GLPI you should see the following screen asking for username and
password.

By defauly glpi is having the following username and passwords to login

glpi/glpi for the administrator account
tech/tech for the technician account
normal for the normal account
post-only/post-only for the postonly account

Select glpi username and password to login in to the glpi with administrator permissions
and you should see the following screen.

GLPI Plugins

Add simply and easily new functionalities to GLPI using plugins.

The plugins need to be uncompress and copy in the "plugins" directory of your GLPI
installation. Each plugin is contained in a repertory

Download GLPI Plugins from here

Sponsored Link

You may also like...

24 Responses

  1. The program, when combined with OCSng becomes a GREAT setup.

    OCSng has a client that can be installed on Windows and Linux machines (maybe Mac too) that will report all software and hardware and users who use individual machines, and this can be integrated with GLPI. OCSng updates the database once a day, so changes are also automatically recorded.

    You can also integrate GLPI logins with LDAP/ADS so if you are using that for authentication, there is no need for separate users/passwords.

    In standalone mode GLPI is good, but integrated with OCSng the combination is one of the best inventory solutions had help desk systems I have seen for free.

  2. Walid Nouh says:

    Hello.
    A new version (0.70) is available since christmas 2007.
    It’s a great improvement, about 1 year of hard work since glpi 0.68.3

    It features better ocsng integration, better ldap integration, multi-entities management, new generic rules engine, and new plugins (CSV file injection, plugin to synchronize OCS and GLPI, pdf export, and so on…).

    Thanks for the review and the comments,
    Walid

  3. Cormac says:

    Looks good, I’m looking forward to trying it out.

    However, I wouldn’t recommend using mode 777 for the directory permissions:
    sudo chmod 777 config/ files/

    This gives full permissions rwx to “others”.

    It would be better to change the group ownership to www-data, or whichever account apache is running under:
    sudo chgrp www-data config files

    and then change permissions using mode 775:
    sudo chmod 775 config files

    so now others have only r-x permissions (if they need any at all?)

  4. Roberto Wagner says:

    Essa explicação foi muito boa!!

    That’s ok!

  5. stefodestructo says:

    don’t forget the -R flag, when you chmod 🙂

  6. perfector says:

    Thanks. A great post. A few more screenshots on how the actual management is done would be great.

  7. Elavarasan says:

    Dear Friends,

    I installed GLPI in Fedora core 9, after installed it when i tri to open through http://myservername/glpi… its opening welcome screen and then step 1, step 2 and checking the all packages…

    My doubt is when i try to connect MYSQL its says :

    GLPI Step 2:

    Test of the connection at the database
    can’t connect to the databases:
    the server answered : Unknown MySQL server host ‘glpidb’ (2)

    Pl. Help me out….

    Thanks and Regards
    Elavarasan. M.S.

  8. joenieburg says:

    Very simple to set up.
    I got it up and running in moments. I even install the php5-ldap so GLPI connects to an ldap server for your users. (u don’t have to import them but can connect to NDS or AD)

    But how to upgrade this installation?
    is this the right way?
    I have downloaded a new version.
    extract to a directory.
    then cp -R all file to th /usr/share/glpi directroy.
    then cp the config file to etc/glpi/config
    and the files to /var/lib/glpi/files.

    startup the browser and pushed the update button.

    It seems to work fine but is this the way to upgrade GLPI on ubuntu?

  9. mojowrkn says:

    All ive gotten to the point where im ready to start installing glpi. I go to URL and get “you have chosen to open “blank file name” what should firefox do with this and then an option to pick an app to open the file.

    Any help?

    -mojo

  10. jaffamuffin says:

    sounds like you don’t have php installed / your webserver configured properly.

    GLPI is awesome, especially in combination with OCS, but gettin LDAP integration is proving tricky – anyone know any good howtos?

  11. sandeep says:

    thanx.. up & running..perfect s/w

  12. asp says:

    On Ubuntu Server 9.04, all I needed to do was run “sudo apt-get install glpi”. All dependencies are automagicaly taken care of.

  13. guinoski says:

    hi, sudo chmod 777 config/files/
    chmod: cannot accesss ‘config/files/’: No such file or directory
    please help

  14. admin says:

    Try to check from where you are trying that command

    Run

    pwd

    to check

  15. guinoski says:

    i did pwd it gives /home/aniac

  16. admin says:

    that is the problem you need to go to /var/www/glpi or whatever folder you have created for glpi under /var/www

    Example

    cd /var/www/glpi

    Now run

    sudo chmod 777 config/files/

  17. arnel says:

    pls help me.. at the installation.. it tell me “A minimum of 64MB is commonly required for GLPI.
    Try increasing the memory_limit parameter in the php.ini file”.. how can i change it.. thanks

  18. guinoski says:

    First step for this is to locate your php.ini file in the server and to see what is the memory limit (this is shown in the error message). Create a file with the below code and name it something like “test.php”

  19. guinoski says:

    Log in as root.
    Type the following and hit enter: vi /usr/local/lib/php.ini
    Now that you’re in vi, hit escape a few times then type the following
    and hit enter: /memory_limit
    That basically does a “find” in the file you’re editing.
    Press the “i” key. This puts you in “insert” mode, which basically
    allows you to edit things.
    Change the current setting.
    Press escape, then type :wq and hit enter. That says “save the file
    and quit.”

  20. Rdorigo says:

    If I want to import mails from a mailbox how can i do it?

    Kind regards

    Rodrigo

  21. guinoski says:

    define mailgates

  22. George says:

    Files under /var/www should never be set to permissions 777, configuration files in particular. When I see this, it is an indication that the author of the software and/or documentation is inexperienced, and the software may not be safe to run on machines reachable from insecure networks (such as the Internet).

    Chmod 777 frequently works, however it is almost never the “correct” solution for a permissions problem. Permissions are an important thing to get right, and that should start with good understanding of unix security.

    Developers, as well as technical writers, should be the ones to get this right. A developer or author of a how-to document should never use “chmod 777” as part of their set-up instructions. I know it is easier to do this than to get it right…. but everything is easier if you take shortcuts like having security turned off… being easier does not make it right.

    “chmod 777” is a warning sign to the experienced reader that you don’t know what you are doing.

    Sorry if that sounds harsh, but when someone follows your instructions, and puts the resulting system on the Internet, something very harsh can happen to them. Publishing how-to documents carries some responsibility with it.

  23. R3ck says:

    How am i supposed to get this to update? I cannot seem to get to the path of the install and run an update for it?

  24. praveen says:

    i want to know can we have web based user login in this application…????

Leave a Reply

Your email address will not be published. Required fields are marked *