if Resources/server.ini exists and
file is describing the server connection and
if connection to the works fine
 | Language && server version page |
 | Network configuration page - Client |
Network configuration
Server database super-administrator login and pass
Test connection && get grants (if connection ok)
if grants not sufficient to pursue → warningMessageBox && block page
If config && grants are OK →
auto-configure the server for FreeMedForms (SQL script)
 | Network configuration page - Server |
 | Patient form selection |
 | Last page |
a log file is created, all steps are logged in this file
server (is auto-configurated)
databases are created
patient base is populated with 4 virtual patients (shared by all practitionners)
FreeMedForms is launched
End of the procedure
You need a network correctly configured
Note the IP of the computer used as server (eg: 198.162.0.2); this IP should be fixe (static IP)
You need to have super-administrator rights for all platforms
sudo apt-get install mysql-server libqt4-sql-mysql
Check if MySQL is already running:
sudo service mysql status
-
edit the /etc/mysql/my.cnf file in section « [mysqld] » :
sudo nano /etc/mysql/my.cnf
-
where x.x.x.x is the IP adress the server should listen at. You can also use x.x.x.* or x.x.x.x/y.
You can get the server IP using this command line
ifconfig on Linux and MacOs
-
restart the mysql daemon
sudo /etc/init.d/mysql restart