Thursday, December 21, 2006

Search Engine Add On for Firefox 2.0


Search Engine Add On for Firefox 2.0

Interesting search engines needed for Research work:

Google Scholar Search Add-On

Citeseer Search Add-On


Installing: Copy the xml files into C:\Program Files\Mozilla Firefox\searchplugins

Tuesday, December 12, 2006

Stop Apache from listening on 443 and run sshd on 443

Stop Apache from listening on 443 and run sshd on 443

What is SSH? It stands for "Secure SHell", a kind of Telnet but where the data is encrypted. By default, sshd, the SSH daemon is running on the Linux box on port 22. The idea is to have sshd also listening on port 443, so that we can connect from behind firewall.

Aache webserver is running HTTPS on port 443. We need to stop this service.

#vi /etc/httpd/conf.d/ssl.conf

Comment out "Listen 443"

#/etc/init.d/httpd restart

Next run another instance of sshd on port 443: Leave the default service running on 22 so that others can access it

#/usr/sbin/sshd -p 443

Incase we want to change the default port of sshd, this is the way to do it:

#vi /etc/ssh/sshd_config

Comment out Port 22 and add Port 443

#Port 22
Port 443

Now restart the SSH daemon:

$/etc/init.d/sshd restart

Friday, December 08, 2006

Opening RAR files using a simple bat file and UnRAR.exe

Extract the following zip file to C:\ drive.

UnRAR can also be obtained from WinRAR website

The batch file given below creates a folder under the name of the rar file being extracted and extracts the entire content of the folder

UnRAR.bat

@echo off
rem Extracting RAR files into folders
for %%a in (%1) do mkdir %%~na & cd %%~na & C:\UnRAR.exe x %%a
pause

To set UnRAR.bat as the default program for opening RAR files
  1. Right Click on an .rar file
  2. Click Open With
  3. Browse and select UnRAR.bat
  4. Check Always use the selected program to open this kind of file



Thanks
Debprakash