How to install Internet Information Services 7.5 on Windows 7 64-bit machine with ESET

Recently I had to install IIS (Internet Information Services) 7.5 on a Windows 7 64-bit machine which also had ESET antivirus / ESET Smart security installed.  This seemed like a straight forward job and assumed it would take a few minutes to complete. To install IIS on a Windows 7 machine follow the steps given below

  • Open Control Panel
  • Click on `Turn Windows Features on or off` link. This will display all the features available in the machine as shown below. You need to be logged in as an Administrator to be able to add or remove windows features
Windows 7 features

Windows 7 features

  • Click the checkbox with `Internet Information Services` next to it.
  • Finally click the OK button


Click Here to Read the Full Post →

Check if a process is running and execute a program in Linux using shell script

I always run linux applications manually using the terminal during the development stage. This has helped me immensely as I could see all the messages that were printed on to the linux console. I also had the habit of forgetting to start the Java program once the linux machine reboots. Well how many of you have had that experience? Ohh yes, I forgot to mention that I will be using a compiled java program as an example executable file for this tutorial.

Though this is acceptable for a system that is under development, it is not suitable to run an executable program using a terminal in production environment. So I would go about setting up a cron job to check if the process is running and start it up if it is not, using a shell script. This tutorial will give you an understanding of how to check for a running processes and start the process if not running using a shell script in linux.


Click Here to Read the Full Post →

Send Email using PHPMailer and Gmail

Introduction

I have been using PHPMailer to send emails for some time now. PHPMailer is a fully featured email transfer class for PHP and its popularity has grown rapidly over the years. Recently I had to send e-mail messages using the GMail SMTP server for one of my clients.

Up to now I had only sent email messages using SMTP servers provided by the hosting company. The difference here is that I had to use SSL encryption to send emails. Using hosting company SMTP server has its drawbacks as there is a chance that your website IP address is already on a blacklist simply because someone else had abused the service before you.


Click Here to Read the Full Post →

Temporarily disable start up scan on ESET security

ESET smart security or anti-virus program will automatically scan programs and memory at start-up. This is set by default and in most cases it is an essential part in protecting your computer. But it may come at a price as your system start-up may get bogged down due to this scanning process. There are many reasons for this happening, such as you may have conflicting programs set to run at start up or have limited amount of memory.

You cannot cancel the start-up scan once it has started in the background, but there is a solution to stop the start-up scan from running in the first place by disabling the scan. Below are the steps you need to follow in order to stop the scan process:


Click Here to Read the Full Post →