Installation on Linux other than Mandrake

jabellon wrote on Wednesday, March 30, 2005:

How about installing in SuSe 9.1 ?
Will there be rpm for other distros ?
What happened to the "old" tar balls ?
Are they still available ?  Where ?
Can the same rpm for Mandrake be used for SuSe ?  Why NOT if so ?
I am going to be installing soon on a pediatric practice and I AM GOING TO NEED LOTS OF HELP !
Thanks in advance.
Juan

jabellon wrote on Wednesday, March 30, 2005:

On another note: Why using MandrakeLinux over, lets say SuSe or Fedora or etc. as the "main" or single distro ?
I understand is easier to support one than many, BUT why is it "Mandrake" the one, what advantages over other distros, if any?
Thanks again and sorry for bugging so much.
Juan

ajperezcrespo wrote on Wednesday, March 30, 2005:

Saludos Juan
  I only use SuSe and the install process is very simple even if its not an RPM.

Alfonso

jabellon wrote on Saturday, April 02, 2005:

Saludos cordiales para ti tambien.
Entonces quiere decir que debemos de hablar tu y yo, no ?
(That means that we have talk, isn’t it ?)
Well, I’m getting closer to take the jump, two things are stopping me so far:
1) I need to convert some DATA.
2) Concerns about support, changes that are still ocurring without user input (like what happened to the “forms”), why not keeping different ways or tools to do a task, and different users choose which one they like to use, no ? “Unix stile”.
Presently using PCN, but will need to dump it real fast soon, but I am NOT so knowledgeable with Linux or anything else by that matter, and at the same time can’t afford too much $$$ support, so I’m like many stuck between a stone and a hard place.

drbowen wrote on Sunday, April 03, 2005:

Dear Dr. Juan,

I will be glad to help with installation and support.   Please e-mail me:

drbowen at charter dot net

If you can describe your data we may be able to help with an import script that pumps everything into the OpenEMR tables.

Sam Bowen, MD

andres_paglayan wrote on Monday, April 04, 2005:

Hola,
I’ll be happy to help you with data conversion,
is not as hard as it seems if you know a little SQL.
The main point is getting your original data in a way that is suitable for creating the import files, txt, cvs, excel, access any of those are fine.
If you didn’t already, find out for an ODBC driver that connects to your current database, most software vendors use some third party database engine (an some provide an ODBC driver out fo the box), if you know which you’ll be able to access those resources.

sanchiro wrote on Friday, April 08, 2005:

I am running Debian 3.0 and would bet my right arm that I am not the only debian installation trying to get openemr installed.

If you are running Debian and have openemr installed and working, please mail me at drjones at xmission.com. I want to be running openemr instead of Lytec Medical. I just need a few minutes with someone who knows the ropes.

Dr. Scott Jones

drbowen wrote on Saturday, April 09, 2005:

Instructions for Installing OpenEMR on SUSE Linux
This document describes how to obtain and install OpenEMR on Linux platforms. This document was tested on SUSE 9.1.

Prerequisites for OpenEMR are:

    * Apache
    * Mysql
    * PHP
    * CVS (for developers)

Installation of Apache & MYSQL
1. Install Apache through the Yast Runlevel Editor (YaST)
Follow these steps:
"Install" -> "Selection" then check the "Simple Webserver with Apache"
Install Mysql through YaST by checking Mysql server "Mysql" from "Package Group" filter. You can add, if you want, the "MySQL Control Center, a Mysql GUI Client." Just check the "mysqlcc" into Databases->Clients folder.

If you are not sure about running some services, you can check these:
MySQL:
root$ mysql u root p mysql
Enter password: xxxxxxxxx
Welcome to the MySQL monitor

If you see such message, MySQL is working.
PHP:
Create a test.php file and add the following lines to it:

Make sure the file is in the root directory, /srv/www/htdocs/ and then pull it up on the browser, as follows:
http://localhost/test.php or http://your-ip-number-here/test.php
If you see a page that shows PHP configuration information, you know that you have PHP working.

2. Obtaining OpenEMR
Choose which distribution to install. We reccomend installing a stable (production) or development release.
OpenEMR can be downloaded from:

    * http://sourceforge.net/projects/openemr, where you can download last openemr-X.Y…tar.bz2 version
    * Sourceforge CVS where you can download development version use the following CVS commands:

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/openemr login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/openemr co -P openemr
After this, the last development version of OpenEMR will be in your current directory.

3. Installation OpenEMR
3.1 As a root user extract openemr using:
tar -zxvf openemr-x.y… tar.gz
Extract files from openemr-x.y…tar.gz
tar jxvf openemr-x.y… tar.bz2
Extract files from openemr-x.y…tar.bz2
command to extract files into /srv/www/htdocs/ folder.

3.2 Use you favorite editor to open the globals.php file, which is in /srv/www/htdocs/openemr/interface dir
Line 10 should read: $webserver_root = /srv/www/htdocs/openemr
Line 17 should read: $web_root = "/openemr"

3.3 Start Web browser and type the following Web address: http://localhost/openemr/setup.php
Click "Continue" button for installation
For the first step, choose "Have setup create the databases" or "I have already created the databases."
I checked the first option and clicked the "Continue" button.
The statement is to change the permission on: openemr/library/sqlconf.php
As the root user, issue the following command: # chmod 777 /var/www/html/openemr/library/sqlconf.php
Then click the "Continue" button on the OpenEMR startup script.
I chose the following entries:

    * Server Host: I chose “localhost”
    * Server Port: I used default value, 3306 for Mysql
    * Database name: I used for this test the “openemr” name
    * Login Name: I used “openemr” name
    * Password: I used the “openemr1” password for this test
    * User Hostname: I used the “localhost” name
    * Root Password: This is mysql root password like “mysql_root_password”
    * Initial User: You can use your principal doctor’s user name. for my test, I used “drwhite” name
    * Initial User’s Name: You can use your principal real doctor’s name as OpenEMR administrator. I used “Bill White” as this test example.
    * Initial Group: You can use your medical practice name. I used for this example the “Apollo” name.

Click "Continue" and soon you will be seeing a message that reads, "Congratulations …"
The next startup script screen will ask you to change the owner of: /srv/www/htdocs/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/*

In the copy of OpenEMR that I downloaded, two directories seem to be missing:
/srv/www/htdocs/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/cache
/srv/www/htdocs/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled

So I create them:
# mkdir
/srv/www/htdocs/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/cache
# mkdir
srv/www/htdocs/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled

And then:
# chown nobody:nogroup
/srv/www/htdocs/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/cache
# chown nobody:nogroup
/var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled

These last two directories are necessary for the calendar to function correctly.

4. Perform post-installation setup for OpenEMR
4.1 Start the Web server and mysql database.
4.2 Type the following address: http://localhost/openemr/index.php in any Web browser and press Enter.
4.3 In Login screen, my choice was:
username = drwhite
password = pass
4.4 When OpenEMR is activated, you can change the initial user password by clicking on "Change Password." Change the password by using the two text box fields. Restart openemr and enter again drwhite and his new password.
4.5 Edit your Practice form information by clicking "Practice Settings" under "Administration" menu.
4.6 Edit your Login form, deleting the two one-time use information "login = drwhite" and "password = pass".
For this, open edit /srv/www/htdocs/openemr/interface/login/login.php
Make html comment to these variables (login = admin and password = pass).
4.7 Change time limit from default timeout 480 to 3600, edit the /srv/www/htdocs/openemr/interface/globals.php and change $timeout from 480 to, for example, 3600

If you have questions, please send an e-mail to Nikolai Vitsyn at Open Source Medical Software for help with SUSE installation

drbowen wrote on Saturday, April 09, 2005:

Instructions for Installing OpenEMR on FedoraCore

   1. OpenEMR prerequisites. (Most of these have already been included with FedoraCore)
          * Apache
          * Mysql
          * PHP
   2. Checking for MySQL Setup:
          * Applications
          * System Settings
          * Server Settings
          * Services
   3. You’ll need to enter the root password here.
   4. Look for the service mysqld and check its status. It should be “mysqld is running”
   5. Since this is a new install, I’m assuming you have not yet set a root password for the mysqld. If not, start the demon with the start button at the top.

Setting a root password for mysqld is not strictly necessary for normal function, but it does increase security. Without setting the root password, a malicious user would have full control of your data without having to know any passwords.

In addition, the OpenEMR setup program is assuming that this password has already been set.

To set the root password for the mysqld:

   1. $ mysqladmin -u root password "yournewpassword"
   2. You should be able to log onto MySQL using
   3. $ mysql -u root -p mysql

Almost always permissions on the new OpenEMR database are the problem. For a new install, just let the OpenEMR setup.php script create the database. Your mysql root user and password will do the trick.

Web root directory: /var/www/html/

OpenEMR is very version (and OS) independent. The version of MySQL and PHP can be a problem, but on FedoraCore, all the versions should be new enough. We are running FedoraCore 3.0 with PHP 4.3.10 and MySQL 3.23.58-13. OpenEMR is running nicely.

I’m pretty sure that MySQL 3.23.58-13 is older than the “required version,” but it seems to be working just fine for us.

After setup.php is working:

   1. Make sure the mysqld is running and that you have access to the mysql root user (able to log on).
   2. When the setup program asks, check the radio button that allows the setup script to create the database.
   3. Enter the root user password down toward the bottom of the form. Press continue.
   4. You should see a bunch of “yes we created this,” “successful creation of that…” It’s a list of about 8 things. If you don’t see this, copy and paste the error message into an e-mail to me.
   5. The statement is to change the permissions on:
      openemr/library/sqlconf.php
   6. As the root user, issue the following command:
      # chmod 777 /var/www/html/openemr/library/sqlconf.php
   7. Then click the “continue” button on the OpenEMR startup script.
   8. As the root user issue the following command:
      # chmod 644 /var/www/html/openemr/library/sqlconf.php
   9. The next startup script screen will ask you to change the owner of:
      /var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/*

In my copy of OpenEMR that I downloaded, two directories seem to be missing:

    * /var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/cache
    * /var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled

So I create them:
# mkdir
/var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/cache
# mkdir
/var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled

And then:
# chown apache:apache
/var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/cache
# chown apache:apache
/var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled

These last two directories are necessary for the calendar to function correctly.

The last step is to modify: /var/www/html/openemr/interface/globals.php

As root using your favorite editor:
line 10 should read: $webserver_root = "/var/www/html/openemr"
line 17 should read: $web_root = "/openemr"

Try starting OpenEMR by typing into your browser: http://localhost/openemr/index.php or possibly http://youripaddressforthelocalmacine/openemr/index.php

If you have questions, please send an e-mail to Nikolai Vitsyn at Open Source Medical Software for help with FedoraCore installation

etambassis wrote on Thursday, April 21, 2005:

I was able to install OpenEMR on Gentoo Linux. Since it was just a test, I am using an old pentium II laptop. The kernel is a Gentoo adjusted 2.6.11 kernel. I am not running the bleeding edge configuration on this system, so I have php 4.3.11 mysql 4.0.24 and apache 2.0.52. I have to admit that if the above are properly installed, the openEMR installation (following the script) is very easy. The only issue  that needs to be addressed is the fact that in Gentoo the webroot location is different than that in Mandrake, so you have to use the generic tarball, and move the whole folder to the appropriate location.

If anyone needs further info I would be glad to help. By the way Gentoo is completely free, and I am not by any account an expert…

ggentus

sunsetsystems wrote on Thursday, April 21, 2005:

Gentoo is great and was the basis for my first OpenEMR install.  But I don’t think it’s a good distribution for the typical doc – it takes a lot of care and feeding, and things can come up that require Linux expertise.

Ubuntu is my favorite for OpenEMR installations .  It’s easy to install and maintain, is completely free, gets timely security updates and has a six-month release cycle.  This is what I used for the last server that I built for a client, and it’s been rock-solid.

– Rod <rod at sunsetsystems dot com>

gensib wrote on Monday, February 13, 2006:

I followed this step-by-step.

By: Sam Bowen - drbowen
<snip>
Instructions for Installing OpenEMR on FedoraCore

1. OpenEMR prerequisites. (Most of these have already been included with FedoraCore)
* Apache
* Mysql
* PHP 
2. Checking for MySQL Setup:
* Applications
* System Settings
* Server Settings
* Services 
3. You’ll need to enter the root password here.
4. Look for the service mysqld and check its status. It should be “mysqld is running”
5. Since this is a new install, I’m assuming you have not yet set a root password for the mysqld. If not, start the demon with the start button at the top. 

Setting a root password for mysqld is not strictly necessary for normal function, but it does increase security. Without setting the root password, a malicious user would have full control of your data without having to know any passwords.

In addition, the OpenEMR setup program is assuming that this password has already been set.

To set the root password for the mysqld:

1. $ mysqladmin -u root password "yournewpassword"
2. You should be able to log onto MySQL using
3. $ mysql -u root -p mysql 

Almost always permissions on the new OpenEMR database are the problem. For a new install, just let the OpenEMR setup.php script create the database. Your mysql root user and password will do the trick.

Web root directory: /var/www/html/

OpenEMR is very version (and OS) independent. The version of MySQL and PHP can be a problem, but on FedoraCore, all the versions should be new enough. We are running FedoraCore 3.0 with PHP 4.3.10 and MySQL 3.23.58-13. OpenEMR is running nicely.

I’m pretty sure that MySQL 3.23.58-13 is older than the “required version,” but it seems to be working just fine for us.

After setup.php is working:

1. Make sure the mysqld is running and that you have access to the mysql root user (able to log on).
2. When the setup program asks, check the radio button that allows the setup script to create the database.
3. Enter the root user password down toward the bottom of the form. Press continue.
4. You should see a bunch of “yes we created this,” “successful creation of that…” It’s a list of about 8 things. If you don’t see this, copy and paste the error message into an e-mail to me.
5. The statement is to change the permissions on:
openemr/library/sqlconf.php
6. As the root user, issue the following command:
# chmod 777 /var/www/html/openemr/library/sqlconf.php
7. Then click the “continue” button on the OpenEMR startup script.
8. As the root user issue the following command:
# chmod 644 /var/www/html/openemr/library/sqlconf.php
9. The next startup script screen will ask you to change the owner of:
/var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/* 

In my copy of OpenEMR that I downloaded, two directories seem to be missing:

* /var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/cache
* /var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled 

So I create them:
# mkdir
/var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/cache
# mkdir
/var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled

And then:
# chown apache:apache
/var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/cache
# chown apache:apache
/var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled

These last two directories are necessary for the calendar to function correctly.

The last step is to modify: /var/www/html/openemr/interface/globals.php

As root using your favorite editor:
line 10 should read: $webserver_root = "/var/www/html/openemr"
line 17 should read: $web_root = "/openemr"
</snip>

But I keep on getting the following error msg:

Synitech OpenEMR Setup

Step 4

Writing SQL Configuration to disk… ERROR. Could not open config file (library/sqlconf.php) for writing.

Kindly extend your helping hand.

Thank you,
 

drbowen wrote on Monday, February 13, 2006:

You have not changed the

webserverroot/openemr/library/sqlconf.php

permissions that the webserver can write to this file.

chmod 777 webserverroot/openemr/library/sqlconf.php

should do it.

restore more secure permisions after installation:

chmod 644 webserverroot/openemr/library/sqlconf.php

gensib wrote on Monday, February 13, 2006:

This is what I have done – please correct me if I am stepping off par.

[root@bryce ~]# chmod 777 /var/www/html/openemr/library/sqlconf.php
[root@bryce ~]# cd /var/www/html/openemr/library/
[root@bryce library]# ls -l
total 212
-rw-r–r--  1 root root  2924 Aug  1  2002 api.inc
-rw-r–r--  1 root root  5737 Jun 21  2003 auth.inc
-rw-r–r--  1 root root  1317 Jul 19  2002 billing.inc
-rw-r–r--  1 root root  2986 Aug 23  2002 billrep.inc
-rw-r–r--  1 root root  2312 Jun 27  2003 calendar.inc
-rw-r–r--  1 root root  7514 Jun 30  2003 calendar_nikki.inc
-rw-r–r--  1 root root   686 Jul 19  2002 encounter.inc
-rw-r–r--  1 root root  1579 Aug 27  2002 forms.inc
-rw-r–r--  1 root root  1223 Jul 19  2002 lists.inc
-rw-r–r--  1 root root   635 Aug 22  2002 log.inc
-rw-r–r--  1 root root  9850 Jul 19  2002 md5.js
-rw-r–r--  1 root root    91 Aug 22  2002 need_service.inc
-rw-r–r--  1 root root  1326 Jul 19  2002 onotes.inc
-rw-r–r--  1 root root 11540 Jun 27  2003 patient.inc
-rw-r–r--  1 root root   310 Aug 22  2002 pid.inc
-rw-r–r--  1 root root  1897 Jul 19  2002 pnotes.inc
-rw-r–r--  1 root root  1603 Aug 27  2002 registry.inc
-rw-r–r--  1 root root 14077 Aug 27  2002 report.inc
-rwxrwxrwx  1 root root   381 Feb 13 15:40 sqlconf.php
-rw-r–r--  1 root root  1886 Jun 23  2003 sql.inc
-rw-r–r--  1 root root   896 Jul 19  2002 transactions.inc
-rw-r–r--  1 root root  1034 Nov 17  2002 upload.inc
[root@bryce library]#

oppiet30 wrote on Monday, June 19, 2006:

I am on a Fedora Core 4 box.
I am running the current version of php which happens to be 5.1.??.  I am not at home.  So I can’t tell you off hand what version it is.
Is this software ever going to get converted to php5?  Otherwise, you have to go in and make a sh*t load of changes to get it to work.
Thanks.

andres_paglayan wrote on Monday, June 19, 2006:

actualy the conversion is almost finished,
there are couple of files yet to be fixed, specificaly those handling scanned docuements,

oppiet30 wrote on Monday, December 25, 2006:

I am having a problem with CVS access.

The directions on the CVS link at the top on the project page say to do this:

cvs -d:pserver:anonymous@openemr.cvs.sourceforge.net:/cvsroot/openemr login

It come sback with this…

Logging in to :pserver:anonymous@openemr.cvs.sourceforge.net:2401/cvsroot/openemr
CVS password:
Unknown host openemr.cvs.sourceforge.net.

Can someone update teh info?

Thanks.

sunsetsystems wrote on Monday, December 25, 2006:

Works for me.

The message suggests that your DNS is not working properly.  Perhaps the problem will go away if you wait a little while.

Rod
www.sunsetsystems.com