Ubuntu/Debian installation package released

bradymiller wrote on Wednesday, April 22, 2009:

hey,

We just released a “single-click” installation package for ubuntu/debian.  Thanks to Amalu Obinna for working on this with me.  It’s pretty cool.  It will install all required dependencies and the only user input required is the mysql root password.  This is really only for new installers (it won’t install on systems that already have ‘/var/www/openemr’ directory or an ‘openemr’ mysql user or database).  The simple installation is nice, but the real benefit will be in future since this will allow a mechanism for automated OpenEMR upgrades.
Here’s the wiki page:
http://www.oemr.org/modules/wiwimod/index.php?page=UbuntuDebInstallation

-brady 

andres_paglayan wrote on Thursday, April 23, 2009:

that rocks!
great addition

aperezcrespo wrote on Friday, May 08, 2009:

Hi
   I’ve attempted to convert the DEB into an RPM. too many SL: SQL-Ledger requirements for conversion. Can these be removed?

Thanks

bradymiller wrote on Friday, May 08, 2009:

hey,
I’m confused (never made RPM’s before). What do you mean with the SL:?  If it’s the perl dependencies your talking about, those are there to ensure function of the perl utility scripts for adding codes. None of the perl stuff is needed for openemr to function.
-brady

aperezcrespo wrote on Friday, May 08, 2009:

Hi
yup its the perl dependencies.   I though we only needed to www:mech one?

Thanks

bradymiller wrote on Friday, May 08, 2009:

hey,

here are the perl dependencies I have right now (they all seemed reasonable at the time, but am open to removing the ones that are specifically required by the utility scripts.  I’m pretty sure the coding import scripts will require the dbd/mysql and dbi ones.  Are their any openemr tools that require the other that anybody can think of?:

libdate-calc-perl
libdbd-mysql-perl
libdbi-perl
libhtml-parser-perl
libwww-mechanize-perl
libxml-parser-perl

ajperezcrespo,
  It’s great your working on the RPM’s.  The developer who helped with the debian scripts is also planning to convert these to RPM’s; would be great if you guys worked together. Send me your email and I’ll send you his email address along with the most current ubuntu/debian maintainer scripts (in case you want to get fancy, since the ubuntu/debian package auto-configures everything via these scripts).
-brady

tmccormi wrote on Friday, May 08, 2009:

Any reason the utilities couldn’t be converted to php-cli ? and drop the dependency on Perl altogether?

I could plug away at that in my spare time (assuming I can find spare time).
–Tony

sunsetsystems wrote on Saturday, May 09, 2009:

Tony if you’re going to that much trouble, you might as well make them web scripts for painless use.

Rod
www.sunsetsystems.com

tmccormi wrote on Saturday, May 09, 2009:

Actually, I find web based to be annoying and way harder to debug, but it would be easy to write scripts that can be run either way… options, I like options.

All my perl based utilities for the last dozen years have been done that way when it seem appropriate.

–Tony

bradymiller wrote on Saturday, May 09, 2009:

Add if your gonna make them web scripts, might as well put them in the admin->services page…
-brady

ideaman911 wrote on Sunday, May 10, 2009:

Guys;

Even though I do not use Ubuntu nor debian, I will put in a vote here for web-based utilities, especially as it relates to generating forms using things like Perl which will work in the Windows environment.

As I understand the concept, creating forms would be simple, and once created they work fine in Windows.  But making the code is the problem, since I have not gotten Perl to work.

So slap my wrist if I am wrong, but if we had tool links from within OpenEMR to those sites, so we could make our form development and simply have it saved at the correct place (again, OpenEMR could specify all that), we could make a real user-friendly platform independent toolset.  I would further suggest that we consider putting the forms into the same place we now store them in the distribution, and include the backup of that folder in the backup instruction set.

Joe Holzer    Idea Man
http://www.holzerent.com

bradymiller wrote on Monday, May 11, 2009:

Tony,
  Whatever php option you choose, it will be useful and possibly converted to a “docking” mechanism for this stuff in the future.  To connect to the database in these scripts, rec. including the openemr/library/sqlconf.php so user doesn’t have to type in these in every script. This is also helpful in what I’m working on (UTF8), cause then users that are using UTF8 encoding can be made to easily work.  I can easily add the utf8 mechanism for these users to your script after your done
-brady