These instructions were kindly contributed by Jeffrey Buchbinder, the principal architect and developer of FreeMED. # Debian install instructions; must be root or sudo -s to do this # # If you need to ask "why sudo", you should get and install it right now. # Get basic FreeMED dependencies apt-get -y install subversion mysql-server-4.1 php4-mysql apache2 \ libapache2-mod-php4 libxml-parser-perl libtext-iconv-perl \ djvulibre-bin netpbm imagemagick tetex-bin tetex-extra \ cupsys cupsys-client gs-common php4-cgi xpdf-utils cd /usr/share/ svn co http://svn.freemedsoftware.org/freemed/trunk freemed svn co http://svn.freemedsoftware.org/remitt/trunk remitt chown -Rf www-data:www-data freemed # Remove the AddModule line from /etc/apache2/conf.d/freemed.apache.conf /etc/init.d/apache2 restart # Get remitt dependencies and install apt-get -y install $(cat /usr/share/remitt/debian/control | grep ^Depends | awk -F'},' '{ print $2; }' | sed -e 's/,/ /g;') cd /etc/init.d/ ln -s /usr/share/remitt/debian/init.d remitt ) update-rc.d remitt defaults #Then: /etc/init.d/remitt start # You should see Starting REMITT Medical Billing Service: remitt. cd /usr/share/remitt ./bin/sqlite_user_admin.pl create remitt_username remitt_password # It's pretty arbitrary. Just make a username and password, then enter the same one in FreeMED under REMITT in System Configuration. # Then configure inside FreeMED to be able to use the remitt server. #then as a regular user (not root) type mysql -uroot #When you get to the prompt, type: GRANT ALL ON freemed.* TO arbitrary_user_name@localhost IDENTIFIED BY 'your_database_password'; #Do not remove the 'and ' and the ; in the previous sentence # Then type: FLUSH PRIVILEGES; #Don't forget the semicolon #you should see: #Query OK, 0 rows affected (0.03 sec) or something like it #now type: EXIT # Now configure FreeMED to use those cd /usr/share/freemed vi lib/settings.php #change define ('DB_USER', "root"); to define ('DB_USER', "user you set in GRANT"); #and: #change define ('DB_PASSWORD', ""); to ('DB_PASSWORD', "password you set in GRANT"); #Then go to http://localhost/freemed and enter the mysql password and choose the FreeMED admin password and verify it. #That should do it