Rough draft notes.. will edit this more:
Setup Mono XSP4 and MySQL with Ubuntu 16.04 and Open Dental 17.4 (no samba yet)
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B 38D3D831EF
echo "deb http://download.mono-project. com/repo/debian preview main"
sudo apt-get update
sudo apt-get install mono-devel mono-complete ca-certificates-mono mono-xsp4 unzip
sudo apt-get install mysql-server
sudo ufw allow 3306
sudo ufw allow 9000
sudo service ufw restart
sudo pico /etc/mysql/mysql.conf.d/ mysqld.conf
#Edit File!
#bind-address = 127.0.0.1
max_allowed_packet = 40M
sql_mode="NO_AUTO_CREATE_USER"
#Save File and restart mysql
sudo service mysql restart
#Add mysql access from outside the host
mysql -uroot -ppassword
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password';
quit
Use SSH and MySQL Workbench to upload database and OpenDental
Be SURE Interop.Word.dll and ODCrypt.dll are in the OpenDental bin folder AND you setup OpenDentalServerConfig.xml
Setup VPN
Start XSP4 by going into the Open Dental directory and typing xsp4, then connect from a client on port 9000 after editing Amazon EC2 Security group to allow port 9000 incoming traffic:
http://ip address:9000/ServiceMain.asmx
How should we handle HIPAA? Need to make XSP4 boot automatically, deal with encryption at rest and maybe a VPN for encrypting the traffic.
Notes for a faster Open Dental client:
Line 500 of Form OpenDental.cs
///<summary></summary>
public FormOpenDental(string[] cla){
//The default SecurityProtocol is "Ssl3|Tls". We must add Tls12 in order to support Tls1.2 web reference handshakes,
//without breaking any web references using Ssl3 or Tls.
ServicePointManager.SecurityProtocol|=SecurityProtocolType.Tls12;
Added code below:
ServicePointManager.CheckCertificateRevocationList = false;
ServicePointManager.DefaultConnectionLimit = 100000;
ServicePointManager.UseNagleAlgorithm = false;
ServicePointManager.Expect100Continue = false;
Also used this to help tweaking the mysql.cnf file
https://tools.percona.com/wizard
I should of use cp ../ODCrypt.dll . instead of mv but you get the idea. There is no patient data on this test server, so don't get any ideas.
///<summary></summary>
public FormOpenDental(string[] cla){
//The default SecurityProtocol is "Ssl3|Tls". We must add Tls12 in order to support Tls1.2 web reference handshakes,
//without breaking any web references using Ssl3 or Tls.
ServicePointManager.SecurityProtocol|=SecurityProtocolType.Tls12;
Added code below:
ServicePointManager.CheckCertificateRevocationList = false;
ServicePointManager.DefaultConnectionLimit = 100000;
ServicePointManager.UseNagleAlgorithm = false;
ServicePointManager.Expect100Continue = false;
Also used this to help tweaking the mysql.cnf file
https://tools.percona.com/wizard
I should of use cp ../ODCrypt.dll . instead of mv but you get the idea. There is no patient data on this test server, so don't get any ideas.