The CMS3.0 is an open-source clinic management system project jointly implemented by the Hong Kong Medical Association (HKMA) and the Information and software Industry Association (ISIA), with the funding support from the Office of the Government Chief Information Officer (OGCIO) under the Sector-specific Programme (SSP) for the Medical and Health Sector, and was developed by the Mobigator Technology Group. CMS3 Installation Guide
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
The CMS3.0 is an open-source clinic management system project jointly implemented by the Hong Kong MedicalAssociation (HKMA) and the Information and software Industry Association (ISIA), with the funding support fromthe Office of the Government Chief Information Officer (OGCIO) under the Sector-specific Programme (SSP) for
the Medical and Health Sector, and was developed by the Mobigator Technology Group.
................................................................................................................................... 244 Create Server Certificate
................................................................................................................................... 256 Use cronolog (Optional)
................................................................................................................................... 267 Use swap in Linux (Optional)
................................................................................................................................... 302 War File
Part VII Troubleshoot for Deployment 34
................................................................................................................................... 341 Install CMS 3.0 with MySQL Already Installed
................................................................................................................................... 342 Can't Startup MySQL Server
................................................................................................................................... 403 I can't connect to CMS 3.0
................................................................................................................................... 435 Login CMS 3 .0 Through HTTP
................................................................................................................................... 446 Get Host IP and Host Name
................................................................................................................................... 467 Set Host IP and Host Name
................................................................................................................................... 538 Open Command Prompt or Terminal
................................................................................................................................... 559 Shut down Tomcat
................................................................................................................................... 5810 Start up Tomcat
5 Windows XP, Linux Kernel 2.6 or above Windows XP Home
6 19" LCD supporting 1280x1024 resolutionScreen support 1024x768resolution
Extra requirement for advanced installation
· Java JDK 6 or above· MySQL 5.0 or above· Tomcat 6.0 or above· Areca Backup 7.0.6 or above· Cronolog version 1.6 or above· 7-Zip 4.65 or above(Windows) / p7zip 4.65 or above(Linux)
This part includes how to set up CMS 3.0 in your physical machine. It involves the installation guide forMySQL, Tomcat, etc.
3.1 Install CMS 3.0 Server
1. Enter http://cms3.mobigator.com/pages/index.asp?pg=user and download CMS 3.0 server package
2. Extract the zip file by 7-zip
Remark: You must use 7-zip to extract the files to avoid "File path too long" error whileusing other program to do.
3. Open CMS3For Vista or Windows 7 user, please use one of the following method to install CMS 3.0Method A: Right click on the CMS3.exe and select "Run as Administrator" Method B: Disable UAC
16. Type in the root password you have created, then click NextNotes: If you have installed MySQL previously, please select a correct MySQL Foldere.g. C:\Program Files\MySQL\MySQL Server 5.1
This part includes how to configure CMS 3.0 Client
4.1 Login CMS 3 .0 Through HTTPS
1. Enter CMS 3.0 Client folder
2. Enter server ip or hostname in "Hostname". If you are using our host server, enter the port we have given to you in "Port" Otherwise, enter 443 in "Port"
Cronolog is simple filter program that reads log file entries from standard input and writes each entry tothe output file specified by a filename template and the current date and time.
You can download cronolog from http://cronolog.org/
To use Cronolog, you need to replace this string in the catalina.sh
Swap is a Linux tool to allow using more memory than the physical one.
1. Type the following command in terminal to create a file the size you want. For example, 2GB. sudo dd if=/dev/zero of=/home/cms3/2GB.swap bs=4M count=512
2. Format the swap file to create a swapping device, type sudo mkswap /home/cms3/2GB.swap
3. Add the swap to the running system, type sudo swapon /home/cms3/2GB.swap
4. To make the change permanent for each reboot, you need to edit /etc/fstab sudo gedit /etc/fstab and add the following line at the end of the file /home/cms3/2GB.swap none swap sw 0 0
5. Save the file and reboot your machine to apply the changes
If you can't connect CMS 3.0 through the CMS 3.0 client, you can do the followings. Note that you don'tneed to go through all the steps. If you can access CMS 3.0 by performing serval steps, you can stopdoing the others. But you should perform the step in order.
Method 1. Check if the server is started. Enter {Tomcat Home Directory}/logs. Search for the filebeginning with "catalina". You need to open this file with today timestamp(e.g. Today is Mar 30, 2009,the file you should open is catalina.2009-03-30.log). If you can't see the startup info text, pleaserestart your Tomcat server. (you need to shut down and start up tomcat)
Method 2. Set the hostname to the host ip address directly.
Method 3. Try to ping host ip address by opening a terminal and type "ping hostip"(e.g. "ping192.168.100.39"). If you can see the reply message, it should be ok.
Method 4. Open port 8080 in firewall.Step 1: Start -> Control Panel -> Windows Firewall -> Exceptions tab
Step 2: Click Add Port -> Name the port and type 8080 in Port Number -> click OK
Note: This is disabled in our default package due to security reason. If you would like to use,please go through admin manual for how to enable this feature. Otherwise, you can skip thispart and click here
1. Enter http://cms3.mobigator.com/pages/index.asp?pg=user and download CMS 3.0 client. Unzip itafter downloaded
2. Enter CMS 3.0 Client folder and open
3. Open the CMS 3.0 client and you may see this page at first time. Fill up the information or set asdefault. Save the config. (Click here to know how to get hostname or ip)
4. You can now see the login page, type the admin account to login. The default account is Username: admin Password: admin If you can't get the access from other machine, please click here
5. Type your username and password to enter CMS 3.0. For how to create or modify account, pleasesee the next session.
7.6 Get Host IP and Host Name
Get Host IP addressWindowsType ipconfig in windows command prompt
6. Double click on the connection and change to "Support" tab to see if the settings have been applied.The IP in here will be used for accessing CMS 3.0.
6. Reboot the machine
For Ubuntu user
1. Use your favorite text editor to open "/etc/network/interfaces"
2. You can see your primary network interface in this file.
1. Open terminal, change the current directory to {Tomcat Home Directory} and type "sudo ./shutdown.sh". About 2 minutes later, the server should be stopped.
A. Sometimes, you need to kill the java process manually by using task manager(Windows) or systemmonitor(Ubuntu). If the problem still exists, you may need to reboot the host machine.