Sunday, May 9, 2010

How to install clam antivirus in CentOS

- Add RPMforge repository (http://wiki.centos.org/AdditionalResources/Repositories/RPMForge)
- to install type as root # yum install clamd
- to start clamd daemon type as root # service clamd start
- to update antivirus type as #root # freshclam

How to install RPMforge repository in CentOS

Read the following link:
http://wiki.centos.org/AdditionalResources/Repositories/RPMForge

Saturday, May 8, 2010

How to generate ssh host keys in a linux machine

To re-generate your host keys use this command:

# ssh-keygen -t dsa -N "" -f /etc/ssh/ssh_host_dsa_key

This will re-generate the dsa keys for your host.

To re-generate the rsa keys, use the same command like this:

# ssh-keygen -t rsa -N "" -f /etc/ssh/ssh_host_rsa_key

This will generate a key pair for your system.

Also look at this link:
http://www.ssh.com/support/documentation/online/ssh/adminguide/32/Generating_the_Host_Key.html

Monday, May 3, 2010

How to connect from a 64-bit Windows 7 client to a 32-bit Windows Server 2003 fax server

Copy the following files:

Source machine: Windows Server 2003 32-bit fax server
Source Folder: C:\windows\system32\spool\drivers\w32x86\3

Destination machine: Windows 7 64-bit
Destination folder: C:\Windows\System32\spool\drivers\W32X86\3

Files to be copied:
fxsapi.dll
fxsdrv.dll
fxsres.dll
fxstiff.dll
fxsui.dll
fxswzrd.dll

Before we copy the files we must stop the spooler service on windows 7 client using the command
net stop spooler

Soon after we copy the files we must start the spooler again using the command
net start spooler