Tuesday, June 12, 2012

How to use RPM in Fedora Linux

RPM is used to build, install, query, verify, update, and erase individual software packages. It was originally designed to work with Red Hat / Fedora Linux. Currently it also works on other rpm-based distributions: Suse, Mandriva Linux, Conectiva and etc.

To install software packages, use the following command:
rpm -i foobar.rpm
To uninstall a software package:
rpm -e foobar.rpm

How to have Adsense appear under the first post in Wordpress blog?

To have Adsense codes only appear after the first post in Wordpress blog and nowhere else, open the index.php file and search for the following lines:
<!--p if (have_posts()) -->
<!--p $postCount=0;-->
<!--p while (have_posts()) : the_post(); $loopcounter++-->
<!--p $postCount++-->
Add the following above these lines:
<?php
$postnum = 1;
%2tshowadsense1 = 1;
?>

Have your page listed in Google Search System

You may submit your website to Google at Add your URL to Google.

This will help Google to be awared of the existence of your site. Anyway, this will not guarantee a listing in the search result. It depends.

How to convert mp4 to AVI in Windows

I usually use Windows Movie Maker which is bundled with Microsoft Windows to edit video taken using digital camera. It supports quite a number of video formats like AVI, WMV and so on. However, MP4 is not support in it so far.

To converting MP4 file into AVI file, we may use Quick Media Converter.

According to Quick Media Converter introduction, it enables users to convert between most audio and video formats, including AVI, DVD, Quicktime, Flash, Xvid, DivX, MPEG, MP3, WMA, MP4, 3GP and many others. Users can convert multiple files (of different formats) in a single process and optionally customize the output settings in Expert Mode.

Monday, June 4, 2012

Port 443 occupied by VMWare Workstation 8

In VMWare workstation 8.0.0, vmware-hostd.exe appears to grab port 443. As port 443 is the default port for https SSL, this may prevent other web servers such as IIS or Apache to start on the system.

One solution for this problem is to change its default ports. With the Shared VMs Workstation preferences, we can disable/enable the server, assign a different port for connecting, and change the Shared VMs directory.

Sunday, June 3, 2012

Frontaccounting: OpenSSL PHP extension have to be enabled to use extension repository system

During the installation of Frontaccounting system, your system may face the following warning

"OpenSSL PHP extension have to be enabled to use extension repository system"

To overcome this problem, simply added the following configuration into the php.ini file:

extension=php_openssl.dll

Hope help :)

Friday, June 1, 2012

OpenEMR installation notes

To ensure proper functioning of OpenEMR, following changes are required in php.ini configuration file:
  1. "short_open_tag = On"
  2. "display_errors = Off"
  3. "register_globals = Off"
  4. "magic_quotes_gpc = On"