You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2012-11-16 14:52:15

elliot01
Member
From: England
Registered: 2010-03-23
Posts: 206

Multiple instances of GLPI on same server

Hi all,

I have a requirement to install another, completely separate, instance of GLPI onto our existing GLPI server. It would use its own MySQL database and be totally independent.

It would not be running in a VM or under a separate apache instance or anything like that. It would not have any OCS integration.

Are there any issues with doing this? Is it possible? Is there anything I need to be aware of before starting this?

I have a feeling this has been asked before but I honestly couldn't seem to dig it out via the forum search.

Thanks in advance smile

Elliot


1500+ Computers / 1100+ users

Offline

#2 2012-11-17 21:54:06

gibi
Member
Registered: 2006-04-25
Posts: 109

Re: Multiple instances of GLPI on same server

I'm doing this for years ... No issue.
You should customize your css on each instance in order to avoid mistakes. ;-)


gibi, http://fr.libreoffice.org, http://abul.org
Mageia 2, CentOS 5, PHP 5.1.6, Apache 2.2.23, MySQL 5.0.77, Firefox 10 ESR, glpi 0.72.4 et 0.83.6

Offline

#3 2012-11-19 12:15:54

elliot01
Member
From: England
Registered: 2010-03-23
Posts: 206

Re: Multiple instances of GLPI on same server

Great stuff. Thanks for the reply smile


1500+ Computers / 1100+ users

Offline

#4 2012-11-19 12:30:41

albertus
Member
Registered: 2012-02-12
Posts: 20

Re: Multiple instances of GLPI on same server

You can use the same apache too. Configure different virtualhosts for each instance, or, at least, give them a different path.

Offline

#5 2020-05-26 20:08:43

lewis
Member
Registered: 2019-08-05
Posts: 2

Re: Multiple instances of GLPI on same server

Hi,
I Know this is an old post but, I'm quite young with GLPI and I'm facing the exact same situation...And as far as I could dig into the posts, this one seamed perfect.

I was wondering if there was a particular way to do this kind of multiple installation, actually, what could be the correct way to do this ?

Last edited by lewis (2020-05-26 20:12:14)

Offline

#6 2020-05-27 11:09:57

Jean-Christophe
Moderator
Registered: 2007-08-22
Posts: 734

Re: Multiple instances of GLPI on same server

Hi Lewis,

1. Create a new MySQL DB
2. Create a new folder in your web server (typically, on ubuntu/debian, you could create a /var/www/html/glpi_2 folder.
3. Extract the GLPI installation files in the folder you created at step 2.
4. In your web server configuration, create a new virtual host pointing to the folder you created at step 2.
5. Browse to the URL associated with the virtual host you created at step 4.

The goal is to have two DB and two separated roots folder for your GLPI installation.

Offline

#7 2020-05-27 13:51:08

lewis
Member
Registered: 2019-08-05
Posts: 2

Re: Multiple instances of GLPI on same server

Big Thanks J.-C.
I'll give it a try .. :-)

Offline

#8 2020-06-09 16:00:30

mklimasz
Member
Registered: 2017-12-14
Posts: 82

Re: Multiple instances of GLPI on same server

Just a small remark - in case You'd be trying to clone the existing installation please remember to change the db connection under /config/config_db.php, otherwise it would point to the same database and may create some unwanted surprises... wink

Offline

Board footer

Powered by FluxBB