How to install Teemip - IP Management tool

To install Teemip &ndash IP Management

Teemip is an open source application that is used for IP Management. Assign different IP’ s for different pc’ s which are connected to the network, to avoid the IP conflicts. Installation of Teemip is explained in this manual.

Features

  • Supports IPV4 and IPV6 registration
  • Helpdesk and User Portal
  • Attach IP range to your subnets
  • Delegate IP space from parent to child organizations
  • Extended and customizable CMDB

To install LAMP

Run the following command to install the required packages to set up the LAMP Environment on your system.

[root@linuxhelp ~]# yum install httpd php mysql mysql-server -y
Loaded plugins: aliases, changelog, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify, versionlock
Loading support for CentOS kernel ABI
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.excellmedia.net
 * epel: mirror.premi.st
 * extras: centos.excellmedia.net
 * updates: centos.excellmedia.net
Resolving Dependencies
-->  Running transaction check
--->  Package httpd.x86_64 0:2.2.15-47.el6.centos.4 will be updated
-->  Processing Dependency: httpd = 2.2.15-47.el6.centos.4 for package: httpd-devel-2.2.15-47.el6.centos.4.x86_64
-->  Processing Dependency: httpd = 2.2.15-47.el6.centos.4 for package: httpd-manual-2.2.15-47.el6.centos.4.noarch
.
.
.
Dependency Updated:
  httpd-devel.x86_64 0:2.2.15-54.el6.centos  httpd-manual.noarch 0:2.2.15-54.el6.centos  httpd-tools.x86_64 0:2.2.15-54.el6.centos  mysql-bench.x86_64 0:5.1.73-7.el6  mysql-libs.x86_64 0:5.1.73-7.el6 
  mysql-test.x86_64 0:5.1.73-7.el6          

Complete!

After installing LAMP, start and enable the service for apache and mysql.

[root@linuxhelp ~]# service httpd start
Starting httpd:                                            [  OK  ]
[root@linuxhelp ~]# chkconfig httpd on
[root@linuxhelp ~]# service mysqld start
Starting mysqld:                                           [  OK  ]
[root@linuxhelp ~]# chkconfig mysqld on

Now lets assign the root password for mysql.

[root@linuxhelp ~]# mysql_secure_installation 
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!

In order to log into MySQL to secure it, we' ll need the current
password for the root user.  If you' ve just installed MySQL, and
you haven' t set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none): 
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.

Set root password? [Y/n] y
New password: 
Re-enter new password: 
Password updated successfully!
Reloading privilege tables..
 ... Success!

By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them.  This is intended only for testing, and to make the installation
go a bit smoother.  You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] y
 ... Success!

Normally, root should only be allowed to connect from ' localhost' .  This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] y
 ... Success!

By default, MySQL comes with a database named ' test'  that anyone can
access.  This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n] y
 - Dropping test database...
 ... Success!
 - Removing privileges on test database...
 ... Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n] y
 ... Success!

Cleaning up...

All done!  If you' ve completed all of the above steps, your MySQL
installation should now be secure.

Thanks for using MySQL!

Create a database and user for accessing Teemip.

mysql>  create database teemipdb 
Query OK, 1 row affected (0.00 sec)

mysql>  CREATE USER ' teemipuser' @' localhost'  IDENTIFIED BY ' centos'  
Query OK, 0 rows affected (0.00 sec)

mysql>  GRANT ALL ON teemipdb.* TO ' teemipuser' @' localhost'  
Query OK, 0 rows affected (0.00 sec)

mysql>  flush privileges 
Query OK, 0 rows affected (0.01 sec)

mysql>  exit
Bye

Then install the required php extensions by using the following command.

[root@linuxhelp ~]# yum install php-dom php-mysqli php-soap php-ldap php-mcrypt -y
Loaded plugins: aliases, changelog, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify, versionlock
Loading support for CentOS kernel ABI
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.excellmedia.net
 * epel: mirror.premi.st
 * extras: centos.excellmedia.net
 * updates: centos.excellmedia.net
Resolving Dependencies
-->  Running transaction check
--->  Package php-ldap.x86_64 0:5.3.3-47.el6 will be installed
--->  Package php-mcrypt.x86_64 0:5.3.3-4.el6 will be installed
-->  Processing Dependency: libmcrypt.so.4()(64bit) for package: php-mcrypt-5.3.3-4.el6.x86_64
--->  Package php-mysql.x86_64 0:5.3.3-47.el6 will be installed
.
.
.
Installed:
  php-ldap.x86_64 0:5.3.3-47.el6         php-mcrypt.x86_64 0:5.3.3-4.el6         php-mysql.x86_64 0:5.3.3-47.el6         php-soap.x86_64 0:5.3.3-47.el6         php-xml.x86_64 0:5.3.3-47.el6        

Dependency Installed:
  libmcrypt.x86_64 0:2.5.8-9.el6                                                                      php-pdo.x86_64 0:5.3.3-47.el6                                                                     

Complete!

Open the my.cnf file and add the following line into it.

[root@linuxhelp ~]# vim /etc/my.cnf
max_allowed_packet=32MB

Once the process is done, Restart the Apache and Mysql services as follows.

[root@linuxhelp ~]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
[root@linuxhelp ~]# service mysqld restart
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]

To install Teemip

Download Teemip package by utilising the following command or from the official site.

[root@linuxhelp ~]# wget http://liquidtelecom.dl.sourceforge.net/project/teemip/teemip%20-%20a%20standalone%20application/2.0.2/TeemIp-2.0.2.zip
--2016-08-02 12:23:25--  http://liquidtelecom.dl.sourceforge.net/project/teemip/teemip%20-%20a%20standalone%20application/2.0.2/TeemIp-2.0.2.zip
Resolving liquidtelecom.dl.sourceforge.net... 197.155.77.8
Connecting to liquidtelecom.dl.sourceforge.net|197.155.77.8|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4643365 (4.4M) [application/octet-stream]
Saving to: “ TeemIp-2.0.2.zip” 

100%[===============================================================================================================================================================> ] 4,643,365    106K/s   in 57s     

2016-08-02 12:24:23 (80.2 KB/s) - “ TeemIp-2.0.2.zip”  saved [4643365/4643365]

Once the package is downloaded, extract it by running the following command.

[root@linuxhelp ~]# mkdir /var/www/html/teemip
[root@linuxhelp ~]# unzip TeemIp-2.0.2.zip -d /var/www/html/teemip/
Archive:  TeemIp-2.0.2.zip
  inflating: /var/www/html/teemip/INSTALL  
  inflating: /var/www/html/teemip/LICENSE  
  inflating: /var/www/html/teemip/README  
  inflating: /var/www/html/teemip/web/addons/userrights/userrightsmatrix.class.inc.php  
  inflating: /var/www/html/teemip/web/addons/userrights/userrightsnull.class.inc.php  
  inflating: /var/www/html/teemip/web/addons/userrights/userrightsprofile.class.inc.php
.
.
.
  inflating: /var/www/html/teemip/web/webservices/itopsoaptypes.class.inc.php  
  inflating: /var/www/html/teemip/web/webservices/rest.php  
  inflating: /var/www/html/teemip/web/webservices/soapserver.php  
  inflating: /var/www/html/teemip/web/webservices/webservices.basic.php  
  inflating: /var/www/html/teemip/web/webservices/webservices.class.inc.php

Utilise the following command to change the ownership for the directory.

[root@linuxhelp ~]# chown -R apache:apache /var/www/html/teemip/

Open the browser and call the URL http://< IP_Address> /teemip/web.

Click Continue to proceed further.

Select the type of installation you want to perform and click Next.

Read the License Agreement and accept it to proceed further.

In Database Configuration, provide the database details and click Next.

Now start creating your Administrator Account.

Add the additional parameters and click Next.



Choose Helpdesk if required and then click Next.

Verify the installation parameters and click Install.


Once the installation is completed, click Enter Teemip to start working with the Teemip application.


To add IP address, click Create a new IPv6 Subnet option.

Now enter your IP details and click Create.

FAQ
Q
Does Teemip can be customized for CMBD?
A
Teemip has extended and customizable CMDB.
Q
While accessing Teemip in web interface I'm getting some php codes in the interface?
A
During installation of Teemip some php extension modules would be missing. Check with that and try again.
Q
is it possible to add class Ip subnets while configuring Teemip?
A
Yes it possible to add class Ip subnets while configuring Teemip and both ipv4 and ipv6 subnets can be added in Teamip
Q
where can I find the options to add the DNS setting in Teemip - IP Management tool?
A
To add the DNS settings for Teemip - IP Management tool and select the setting option under global settings icon.
Q
Is Teemip - IP Management tool Opensource?
A
Teemip - IP Management tool is Free and open source software.