LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing OpenEMR needs so many prerequisites (https://www.linuxquestions.org/questions/linux-software-2/installing-openemr-needs-so-many-prerequisites-580956/)

dr_smit 08-30-2007 08:45 AM

Installing OpenEMR needs so many prerequisites
 
How to go about installing OpenEMR..

Please explain in stepwise manner..

Thanks

nan0meter 08-30-2007 08:49 AM

How do you try to install it and what distro are you running? IF i look on the openEMR website i see that there are no downloads (yet)...

dr_smit 08-30-2007 09:43 AM

Here's the Detail
 
[QUOTE=nan0meter;2875715]How do you try to install it[/QOUTE]

I tried to install MySQL by su-> urpmi MySQL MySQL-client and then installing the next 4 packages that came with it..
then I tried to point my local host to openemr/setup.php (I dont know what it means) but I did was -- http://localhost/download/unzipped/openemr/setup.php
download/unzipped is where I have unzipped OpenEMR

[QUOTE=nan0meter;2875715] and what distro are you running?[/QOUTE]
I am using Mandriva 2007

Quote:

Originally Posted by nan0meter (Post 2875715)
IF i look on the openEMR website i see that there are no downloads (yet)...

http://www.linuxforums.org/forum/ser...w-install.html

nan0meter 08-30-2007 10:30 AM

So i assume you downloaded the package, install apache2 (sometimes called httpd) on your linux box and put the openEMR script in /var/www/html/openemr. Then make sure the webserver (apache2 / httpd) is running, you can see this by opening a browser with as URL: 127.0.0.1 or localhost.

If you see any page now and not an error that it couldn't been found then your webserver is running. Now install php also through your package manager (mod_php and php ?). Now if that works then open your browser again and go to http://localhost/openemr/setup.php Now follow the steps and you'll be up and running. :D

dr_smit 08-30-2007 09:28 PM

can not copy openemr to /var/www/html even after su
 
  1. It says omitted directory 'download/openemr'
http://localhost returns a page saying:
It Works & gives a version of Apache at the bottom

Should I install anything & everything in package manager that spells php?

I have apache-mod_php5 installed already.. need anything more?

nan0meter 08-31-2007 07:46 AM

I think it is not installed on http://localhost but http://localhost/openemr. Can you give us some information about what is in your /var/www/html directory now using ls -l ?

Code:

cd /var/www/html
ls -l

About php, this error has nothing to do with php. You can ofcourse install everything of php but i don't think that is necessary.

dr_smit 08-31-2007 07:50 AM

ls -l shows:-
 
total 12
drwxr-xr-x 2 root root 128 Aug 31 02:42 addon-modules/
-rw-r--r-- 1 root root 3638 Mar 10 17:34 favicon.ico
-rw-r--r-- 1 root root 44 Mar 10 17:34 index.html
-rw-r--r-- 1 root root 513 Mar 10 17:34 robots.txt

dr_smit 08-31-2007 09:27 AM

anything else you need?
 
other than ls -l post

dr_smit 08-31-2007 10:59 AM

Stuck again..
 
Quote:

Originally Posted by nan0meter (Post 2875810)
So i assume you downloaded the package, install apache2 (sometimes called httpd) on your linux box and put the openEMR script in /var/www/html/openemr. Then make sure the webserver (apache2 / httpd) is running, you can see this by opening a browser with as URL: 127.0.0.1 or localhost.

If you see any page now and not an error that it couldn't been found then your webserver is running. Now install php also through your package manager (mod_php and php ?). Now if that works then open your browser again and go to http://localhost/openemr/setup.php Now follow the steps and you'll be up and running. :D

I finally console login-ed and moved openemr to /var/www/html/ and then did http://localhost/openemr/setup.php and it opened the following window:-


Synitech OpenEMR Setup

Welcome to Synitech OpenEMR. This utility will step you through the configuration of OpenEMR for your practice. Before proceeding, be sure that you have a properly installed and configured MySQL server available, and a PHP configured webserver.

[Continue button]


but pressing continue button brings back to the same window!!!

Please help..

dr_smit 08-31-2007 09:24 PM

Can't go beyond..
 
Quote:

Originally Posted by dr_smit (Post 2876920)
Before proceeding, be sure that you have a properly installed and configured MySQL server available, and a PHP configured webserver.

How do I make sure MySQL server is installed and available & PHP is configured??

Please help

nan0meter 09-01-2007 09:51 AM

Code:

rpm -q php
rpm -q mysql-server
rpm -q httpd

If you got output of both commands like mysql-server 5.0 .... then you have installed both php and mysql and a webserver.

You can try to put this in /var/www/html as index.php

Code:

<?php

phpinfo();

?>

Then go to http://localhost and you should see a php info page showing the version and modules. If not then you should install apache_mod_php5 or something, naming is differs on some distro's

nan0meter 09-01-2007 10:03 AM

Things get a bit confusing here, you said you see the page well that's fine ... but I don't know why it goes back to the same page... I need some more information like whate URL it tries to go to. Maybe it tries to use javascript while it's turned off or something :)

dr_smit 09-01-2007 09:40 PM

How to install... I am missing or messing up something
 
[dr_smit@smitdesk ~]$ rpm -q php
package php is not installed
[dr_smit@smitdesk ~]$ rpm -q mysql-server
package mysql-server is not installed
[dr_smit@smitdesk ~]$ rpm -q httpd
package httpd is not installed
[dr_smit@smitdesk ~]$


I installed packages reading PHP*apache or PHP*Mysql or any other PHP5* package that I felt caan be useful..

Now, I nomore reach the screen with continue button instead..

directing to setup.php leads dialogue that..

you have wished to open up setup.php which is a php script from localhost.
what should firefox do.. open with Kwrite or save to disk?

dr_smit 09-01-2007 10:16 PM

Quote:

Originally Posted by dr_smit (Post 2878225)
package mysql-server is not installed

package httpd is not installed
[dr_smit@smitdesk ~]$


I am at a loss to understand these outputs as
  1. http://local host previously showed IT WORKS and some version of apache at the bottom of screen
  2. Yesterday I made root password entry into MySQL
  3. The package manager shows MySQL as installed though I couldnot see a lone apache & php

where are these packages..
need I urpmi them again.. if so how?

dr_smit 09-01-2007 10:25 PM

on Find Files I get apache mysql & php in the list of searched files


All times are GMT -5. The time now is 03:01 PM.