OpenEMR 4.1 Installation

bmmulder wrote on Friday, October 28, 2011:

Hello,

I setup a vmplayer with Centos on it.
Apache, MySQL and PHP are running.
I downloaded and unpacked the openemr package to the webfolder.
I can see an index.php in the www root folder through my browser but not the setup.php file in the openemr folder.

I’m a newbie in both Linux and OpenEMR so please forgive my ignorance.

I assume this has to do with user permissions. I do this as user root so i should have all the power to configure the software.

I looked up and down on the web, going through adding permission settings on the folder (in the centos interface not the command line) I also looked at the httpd.conf file. But I just can’t get it to work in the openemr folder. If I copy the content s to the root www folder and go to the setup.php page in my browser it does work. But that’s not what i need.

If you need more info to help pleae ask,

Thanks in advance,

Brian

bmmulder wrote on Friday, October 28, 2011:

sorry forgot to state the error its a 403 Forbidden access to this file

bradymiller wrote on Friday, October 28, 2011:

Hi,

Since you have vmplayer already installed, would be easiest to download/use the OpenEMR Appliance (it’s a great way to learn linux and OpenEMR at the same time):
http://open-emr.org/wiki/index.php/OpenEMR_Downloads#Appliance

Otherwise, if you have questions regarding permissions on the centos, then paste the output from following commadline here:
ls -al /<place the path to the centos web directory>/openemr

-brady

bmmulder wrote on Friday, October 28, 2011:

Thanks Brady,

I downloaded the appliance but i ended up in a black window with a localhost 127.0.0.1 ip address. When starting it showed a quick notion that Apache couldn’t be started.

Back to my centos installation (where everything is running fine except for access to the openemr folder)

My output is this

# ls -al
total 32
drwxr-xr-x  3 root   root 4096 Oct 27 23:54 .
drwxr-xr-x  6 root   root 4096 Oct 27 22:30 …
-rw-rw-rw-  1   1000 1000  999 Sep 21 14:54 index.php
drwxr-xr-x 21 apache adm  4096 Sep 21 15:08 openemr

I also did it on the openemr folder and it returned a whole lot more and different outcomes per file. Not sure if i need to post that list too for clarification of my setup.

Thanks again for any help
Brian

bradymiller wrote on Saturday, October 29, 2011:

hi,

What version of VMware Player are you using (this will help me test the OpenEMR Appliance)?

Paste the output to the ‘ls -al’ command within the openemr directory.

-brady

bmmulder wrote on Saturday, October 29, 2011:

I found my solution here
http://ubuntuforums.org/archive/index.php/t-763605.html

basically copying to another folder
delete the old one
make a new one with the name of the old one
copy back all folders and files

it resets your permissions to what’s needed to get started

Now I’m going through the setup part, hopefully I get it to work later today

bmmulder wrote on Saturday, October 29, 2011:

ah I now see your comment on the appliance,

my host is windows 7 ultimate
my vmplayer is 4.0.0 build-471780

I had a lot of fun yesterday getting my network working correctly (want to run a small webserver for openemr testing purposes) and learned some things along the way

bmmulder wrote on Saturday, October 29, 2011:

Just to finish this and let you know the package installed eventually,

Got stuck on step 3 telling me that it was installing the database, after going through the forum i just wanted to see what was in my sql db if anything. While trying to install the mysql workbench i killed my centos installation on the install uninstall of some dependencies and decided to start with a new linux machine that’s great about vmplayer.

I installed Ubuntu 10.4
Installed the deb package for OpenEMR 4.1 (it installed all missing dependencies)

No problems getting it up and running