Thursday, May 31, 2012

OpenMRS "Save Concept" button missing in Add New Concept Page

In OpenMRS version 1.8.3, the "Save Concept" button is missing in Add New Concept Page.

In order to overcome this issue, create/add CATALINA_OPTS environment variable with the value: "-Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true" into your computer.

Wednesday, May 23, 2012

How to resolve xampp 1.7.7 Tomcat startup issue

When trying to start up tomcat service in xampp 1.7.7 or earlier, it may not be able to startup properly. Following are the message I noticed when trying to execute it:

C:\xampp>"Copy of catalina_start.bat"

[XAMPP]: Searching JDK HOME with reg query ...

Error: The system was unable to find the specified registry key or value
. [XAMPP]: Cannot find current JDK installation!
. [XAMPP]: Cannot set JAVA_HOME. Aborting ...
done.
Press any key to continue . . .

Friday, April 20, 2012

yum update Red Hat Linux / Fedora

Yum (Yellowdog Updater Modified) is a powerful automatic updater and package installer/remover on RPM-based Linux distributions like Red Hat / Fedora.

Yum automatically computes dependencies and figures out what things should occur to install packages. It makes it easier to maintain groups of machines without having to manually update each one using rpm.

The main Yum configuration file is /etc/yum.conf. Basic repository listings are located in the /etc/yum.repos.d/ directory. Unless you plan on adding other repositories or have a need to tweak certain configuration settings, these configuration files work as-is. Please refer to yum.conf manual page to find out the various options for this configuration file. You may like to take note about the keepcache option in this file. Set keepcache=1 if you want to keep the downloaded RPM files from erased after they are installed. However, make sure the cachedir directory has enough space to save the downloaded files.

How to determine / find CUPS version

Simply execute the following command in your Unix machine to determine what version of CUPS running on your system.
# cups-config --version

cups-config is the CUPS program configuration utility. Some of the option available for this utility include:

--api-version: current API version (major.minor).

--cflags: necessary compiler options.

How to delete printer port in Windows

In order to delete TCP/IP printer port in windows systems, follow the following steps:
  1. Open the printers folder - Start, Setting, Printers
  2. Remove the related printers using the printer port
  3. Select "Server Properties" from "File" menu
  4. Select the Ports tab
  5. Delete the related port here.
That's it!

Thursday, April 19, 2012

What laptop to buy

Actually nowadays, majority of new laptops marketed are having sufficient performance to run latest OSs.

But basically i will check:
  1. How much memory it has: nowadays, at least 4GB is needed if you are installing windows 7, for XP, 1GB may be sufficient.
  2. How much hardisk you need. 1TB will be preferred nowadays.

How to disable beep sound in Dell Latitude

  1. Open "Device Manager"
  2. Click on "View"-Menu
  3. Select "Show hidden Devices".
  4. Click on "Non-Plug and Play Drivers".
  5. Right-click on "Beep" and choose "disable".
  6. Reboot your notebook.