LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-30-2007, 08:45 AM   #1
dr_smit
Member
 
Registered: Jan 2007
Posts: 39

Rep: Reputation: 15
Installing OpenEMR needs so many prerequisites


How to go about installing OpenEMR..

Please explain in stepwise manner..

Thanks
 
Old 08-30-2007, 08:49 AM   #2
nan0meter
Member
 
Registered: Aug 2007
Location: The Netherlands
Distribution: Fedora 7 x86_64
Posts: 119

Rep: Reputation: 15
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)...
 
Old 08-30-2007, 09:43 AM   #3
dr_smit
Member
 
Registered: Jan 2007
Posts: 39

Original Poster
Rep: Reputation: 15
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 View Post
IF i look on the openEMR website i see that there are no downloads (yet)...
http://www.linuxforums.org/forum/ser...w-install.html
 
Old 08-30-2007, 10:30 AM   #4
nan0meter
Member
 
Registered: Aug 2007
Location: The Netherlands
Distribution: Fedora 7 x86_64
Posts: 119

Rep: Reputation: 15
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.
 
Old 08-30-2007, 09:28 PM   #5
dr_smit
Member
 
Registered: Jan 2007
Posts: 39

Original Poster
Rep: Reputation: 15
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?

Last edited by dr_smit; 08-30-2007 at 09:32 PM.
 
Old 08-31-2007, 07:46 AM   #6
nan0meter
Member
 
Registered: Aug 2007
Location: The Netherlands
Distribution: Fedora 7 x86_64
Posts: 119

Rep: Reputation: 15
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.
 
Old 08-31-2007, 07:50 AM   #7
dr_smit
Member
 
Registered: Jan 2007
Posts: 39

Original Poster
Rep: Reputation: 15
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
 
Old 08-31-2007, 09:27 AM   #8
dr_smit
Member
 
Registered: Jan 2007
Posts: 39

Original Poster
Rep: Reputation: 15
anything else you need?

other than ls -l post
 
Old 08-31-2007, 10:59 AM   #9
dr_smit
Member
 
Registered: Jan 2007
Posts: 39

Original Poster
Rep: Reputation: 15
Stuck again..

Quote:
Originally Posted by nan0meter View Post
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.
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..
 
Old 08-31-2007, 09:24 PM   #10
dr_smit
Member
 
Registered: Jan 2007
Posts: 39

Original Poster
Rep: Reputation: 15
Can't go beyond..

Quote:
Originally Posted by dr_smit View Post
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
 
Old 09-01-2007, 09:51 AM   #11
nan0meter
Member
 
Registered: Aug 2007
Location: The Netherlands
Distribution: Fedora 7 x86_64
Posts: 119

Rep: Reputation: 15
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
 
Old 09-01-2007, 10:03 AM   #12
nan0meter
Member
 
Registered: Aug 2007
Location: The Netherlands
Distribution: Fedora 7 x86_64
Posts: 119

Rep: Reputation: 15
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
 
Old 09-01-2007, 09:40 PM   #13
dr_smit
Member
 
Registered: Jan 2007
Posts: 39

Original Poster
Rep: Reputation: 15
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?
 
Old 09-01-2007, 10:16 PM   #14
dr_smit
Member
 
Registered: Jan 2007
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dr_smit View Post
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?
 
Old 09-01-2007, 10:25 PM   #15
dr_smit
Member
 
Registered: Jan 2007
Posts: 39

Original Poster
Rep: Reputation: 15
on Find Files I get apache mysql & php in the list of searched files
 
  


Reply

Tags
apache, mysql, php


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: OpenEMR 2.8.3 Released LXer Syndicated Linux News 0 08-24-2007 09:11 AM
LXer: OpenEMR forked? LXer Syndicated Linux News 0 02-15-2007 12:46 PM
prerequisites of MTA nouha Linux - Software 1 03-16-2006 09:07 PM
damned PHP Prerequisites viperkt400 Linux - Software 1 02-14-2005 04:16 PM
All these libraries an prerequisites... theres got to be an easier way. Moebius Linux - Software 5 01-14-2004 03:22 PM


All times are GMT -5. The time now is 04:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration