Re: [Dhis2-users] [Dhis2-devs] How to run DHIS2 iHRIS on the same Server

2015-07-03 Thread Bob Jolliffe
Hi Gerald As has been discussed above, there are three ways to proceed realistically 1. configure apache as a reverse proxy; or 2. move apache on to port 81, and reverse proxy it behind nginx 3. run ihris php stuff through nginx. I think either of 1 or 2 is fine - i have done both in

Re: [Dhis2-users] [Dhis2-devs] How to run DHIS2 iHRIS on the same Server

2015-07-03 Thread gerald thomas
Dear Jason/Bob, I already choose the first option Bob gave and both of the applications are up and running. Please i can i know my disadvantages of doing this because that is the only server I have right now and i am sure it is doing a lot of processes. On 7/3/15, Jason Pickering

Re: [Dhis2-users] [Dhis2-devs] How to run DHIS2 iHRIS on the same Server

2015-07-03 Thread Jason Pickering
Hi Gerald, So part of the problem with dhis2-tools is that it makes some assumptions about your setup. Namely, that you do not really have anything else running on the machine other than DHIS2. In your case, you have IHRIS, which is a PHP application, and it is being served by the Apache HTTP

Re: [Dhis2-users] [Dhis2-devs] How to run DHIS2 iHRIS on the same Server

2015-07-03 Thread Bob Jolliffe
Hi Gerald So you are using apache as reverse proxy and uninstalled nginx. That is fine. There is not much to choose between the two. Using nginx as reverse proxy in front of apache is very light though obviously costs a little. On the other hand apache is a slightly heavier reverse proxy than

Re: [Dhis2-users] [Dhis2-devs] How to run DHIS2 iHRIS on the same Server

2015-07-03 Thread gerald thomas
Dear Bob, I didn't actually uninstall nginx. This is what i did: 1. I ran a2enmod module 2. nano /etc/apache2/sites-enabled/000-default.conf 3. I define a proxy virtual host using mod_virtualhost VirtualHost *:* ProxyPreserveHost On # Servers to proxy the connection, or; # List of

Re: [Dhis2-users] DHIS2 chart or table deletion

2015-07-03 Thread Raheel Ayaz
Thanks Knut. I have been able to delete extra charts and tables by using their login ids. Best, Raheel On Fri, Jul 3, 2015 at 7:56 AM, Prosper BT ptb3...@gmail.com wrote: Dear Raheel, You need to use an SQL command to delete these charts and tables based on their IDs. Regards On Tue,

Re: [Dhis2-users] [Dhis2-devs] How to run DHIS2 iHRIS on the same Server

2015-07-03 Thread Bob Jolliffe
Hi Gerald Now we are all getting confused. Myself included. You will recall I installed dhis2-tools on your machine some time back and noticed that you have apache2 and ihris running. So I never installed nginx at all (and that is also why it is not a dependency of the dhis2-tools package). I