Showing posts with label Inventory. Show all posts
Showing posts with label Inventory. Show all posts

Sunday, 6 March 2016

iTOP Inventory Management System CentOS / Linux



Server Requirement:
1. Disk 5 GB  RAM-1GB Single Core
2. iTop is based on MySQL and PHP, it requires PHP version 5.2.0 or newer and MySQL version 5.0 or newer, plus of-course a web server: Apache, IIS or any web server supporting PHP 5.
3.


Installation:

1. Install below package before installing iTOP. Installing the Prerequisites on Redhat,CentOS or Fedora

# yum install httpd
# yum install mysql mysql-server
# yum install php php-mysql php-mcrypt php-xml php-cli php-soap php-ldap graphviz
yum --disablerepo=\* --enablerepo=epel install nodejs install php php-mysql php-mcrypt php-xml php-cli php-soap php-ldap graphviz

# service httpd start/restart
# service mysqld start/restart


2. Download Package: http://softlayer-sng.dl.sourceforge.net/project/itop/itop/2.1.0/iTop-2.1.0-2127.zip
3. Extract downloaded package under documentroot  /var/www/html/
4. chmod 777 web/
5 Browse installation wizard  :  http://192.168.103.125/web

We need to adjust the following php settings for best performance. Edit file /etc/php.ini,

# vi /etc/php.ini

Set post_max_size as 32M.

[...]
post_max_size = 32M
[...]
==========================================



Ref:
https://wiki.openitop.org/doku.php
https://wiki.openitop.org/doku.php?id=2_1_0:admin:installing_itop
https://wiki.openitop.org/doku.php?id=2_1_0:admin:install_wizard
https://wiki.openitop.org/doku.php?id=2_1_0:admin:cron
http://192.168.103.125/web//documentation/itop-tickets.htm
https://wiki.openitop.org/doku.php?id=integrating_itop_with_ocsinventory
http://www.unixmen.com/setup-operational-portal-using-itop-centosdebian/



ITDB Inventory Management System Screen Shots

















Installation of ITDB CentOS


Installation of ITDB CentOS:

ITDB is a web based asset inventory management tool used to store information about assets found in office environments, with a focus -but not lmited to- IT assets. It is not or targets for ITIL/CMDB compliance (yet), but it has served me for years and hopefully it will do the same for you :-) ITDB comes with sources and is distributed under the GNU Public license.

Features

    Items: specs, warranties, s/n, IP info, what other H/W relates/connects to this H/W, item status, event log, assignees
    Software: specs, license info, ...
    Relations: where each software is installed, license QTY, component relations, contract relations to software/hardware/invoices
    Invoices: purchase proofs depicting date, vendor, prices, attached documents
    Agents: Vendors, H/W & S/W Manufacturers, Buyers (for different Dpt), Contactors
    Locations: location of each asset: building, floor, room, rack, rack row, row depth
    Contracts: define custom contract types, like support& maintenance, SLA, etc. Track contract events.
    Tags: multiple tags for items and software. You may use tags for grouping according to usage, budget, owner, importance, etc.
    Files: attach documents to every main object entity (Items, Software, Invoices, Contracts
    Users: who has what or who is responsible for what
    Racks: display rack layout with items assigned to each rack row. (supports multiple items/rackrow).
    Print labels: print label stickers for tag all your assets, with or without barcode, from phones and laptops to cooling units and ups. Easily define new label paper layouts through the GUI.
    One click backup: get a full backup of the ITDB installation and data in a .tar.gz from the main menu. To restore, just extract the backup file on the web server!
    All pages are printable: all screen pages/lists/reports print-out nicely, without menus, scrollbars and other clutter.
    Interface Translations: translation file support. You may create your own translations (v1.3)


Planned for the (not near) future:

    GUI-based self-update
    Purchase Order management
    Basic Ticketing support
    Configuration/Knowledge/FAQ entries per item/software. (Something easier than attaching files)
    RRD support for historical graph trends
    Item positioning in floor plan, with drag & drop (WIP)
    Better (analytical) licensing models, SLA events, recurring events, descriptions
    Automatic host and software discovery - db auditing
    ISO20000-like features
========================================================================================================================================================================

INSTALLATION:

System Requirements

1. A recent version of Firefox, Chrome, Opera, etc or IE≥9
2. Apache 2.2 on a posix system (linux, solaris, etc) (apache 2.0 may also work)
3. PHP > 5.2.x
4. PHP SQlite PDO, SQlite >3.6.14.1
5. Depending on your distribution, you may have to also install packages "php-posix", "php-mbstring", "php5-gd", "php5-json" "php5-sqlite"

Otherwise we need to install LAMP Server:

:- Installation instructions

1. Download link: https://github.com/sivann/itdb/archive/1.14.zip
2. Move this folder into /var/www/html
3. Extract the files in a /var/www/html directory.
4. Goto Location: /var/www/html/data
5. Rename pure.db to itdb.db   (pure.db is a blank database)
6. Make the data/itdb.db file AND the data/ directory AND the data/files/ directory readable and writeable by the web server as below commands:
7. cd /var/www/html && chown -R apache:apache data/
8. make translations/ directory readable and writeable by the web server as below commands:
9. chown -R apache:apache translations/
10.Now Login to web pabel to manage ITDB:

Login URL:   http://localhost     or http://192.168.103.125

Default Login Details:
User Name: admin
Password : admin

Enjoy ......!!!

Refer: http://www.sivann.gr/software/itdb/
==========================================================================================================================

Configuration:

1. I want to change home page name with my company name:
 :- goto location: /var/www/html/index.php  and change name as you want on below line number

240 <span style='padding-top:5px;'> <a href='<?php echo $scriptname?>'>FirstCry </a></span>
241 </div>
242
243 <span id=logo>
244 IT Asset Inventory

:wq

Installation of GLPI Inventory Managment CentOS



Installation of GLPI:

Server Requirement:

HTTP
PHP
MySQL

# yum install http* php mysql-server mysql mysql-client

For Latest Database:
# rpm -ivh http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
# yum install mysql-community-server mysql-community-client mysql-community-libs mysql-community-common
# service httpd start
# chkconfig httpd on
# service mysqld start
# mysql_secure_installation

Login and create new database for glpi:

mysql> create database glpidb;
mysql> GRANT ALL ON glpidb.* TO glpiuser@localhost IDENTIFIED BY 'My$k@123';
mysql> flush privileges;
mysql> exit


Download GLPI from:   http://www.glpi-project.org/spip.php?article41

# wget https://forge.indepnet.net/attachments/download/1615/glpi-0.84.3.tar.gz

Extract the tarball using command:
# tar -zxvf glpi-0.84.3.tar.gz

Move the extracted files to your webserver root document folder.
# mv glpi/ /var/www/glpi

Set Read/Write permissions of the following directories.
# chmod -R 777 /var/www/html/glpi/files/
# chmod -R 777 /var/www/html/glpi/config


Begin Installation

The rest of the installation is web based and pretty easy. Point your web browser with URL http://ip-address/glpi or http://domain-name/glpi and follow the onscreen instructions.

You should see the following screen. Select your language and click Ok.



Default logins / passwords are:

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

You can delete or modify these accounts as well as the initial data.



At the first log in it will show some precautions that be made before using GLPI further.

First you above to change the default users passwords for security reasons. To do that. Go to Administration -> Users -> glpi and input your new password in the password column.

And also you have to remove the install/install.php file for security reasons.

# rm -fr /var/www/html/glpi/install/install.php

If you made any mistakes or just forgot the password for the administrative account, you can re-run the above setup by deleting the following config/config.php file.

After completing your installation change the permission of the config/config_db.php file to avoid any misconfiguration by users.

# chmod 400 /var/www/html/glpi/config/config_db.php


Now start using GLPI asset management system by navigating to http://ip-address/glpi.


# check for - how to change default glpi logo



Refer:

http://www.unixmen.com/setup-asset-management-system-glpi-debianubuntu/
http://linuxadmin.melberi.com/2010/07/glpi-installation-guide-step-by-step.html