mike-h30 wrote on Sunday, February 03, 2008:
I downloaded freeB-0.13 and placed the extracted files in the same web directory that I have OpenEMR-2.8.3 located. I am a little puzzled as how to install freeb-0.13. I have been reading Brady’s instructions on the OpenEMR web site. I am running Suse Linex Enterprise Server 10 SP1, PHP5, MySQL5, and Apache2. It appears that the PERL modules needed are installed on my system.
I am stuck at step 3 of Brady’s instructions below. I have a question regarding the init.d setup. A file called “freeb.initd” is included in the downloaded files and is located in my freeb-0.13 directory. I am not sure what to do with this file based on Brady’s instructions.
Do I move it to etc/init.d and rename "freeb.initd" to just "freeb"? Or do I move it to etc/init.d and leave the name as is "freeb.initd"?
In my etc/init.d directory there are no files matching the "freeb.initd" naming convention (i.e. "somefile.initd")
Thanks.
-Mike
(From Brady’s Instrucions Link at OpenEMR website)
3. Configure FreeB as a service
1. Download freeb file, which is an init.d script. I wrote this file, and it seems to work alright. But I have to say, please use at your own risk. File can be found at: http://bradymd.com/freeb (to download file, you may need to Right-Click the link and select ‘Save Link As…’)
2. Enter below bolded instructions on command line as root user :
#log into root
su
#move file and change ownership/permissions
mv /location/to/file/freeb /etc/init.d/
chown root:adm /etc/init.d/freeb
chmod 740 /etc/init.d/freeb
#start service
service freeb start
-After ‘before server setup’, just hit ‘enter’ key once to get back to the prompt. If you saw ‘before server setup’, then it worked.
#configure freeb to start automatically during computer startup
chkconfig --add freeb
#You are done installing service, it will now start
#up automatically during computer start up.
#If the above service is not working, you can
#manually start the FreeB server by typing:
#’/usr/share/freeb/bin/FreeB_Server.pl &’