Search This Blog

Wednesday, May 6, 2009

hosts file

the location of existing hosts file on your computer:

Windows 95/98/Me c:\windows\hosts

Windows NT/2000/XP Pro c:\winnt\system32\drivers\etc\hosts

Windows XP Home c:\windows\system32\drivers\etc\hosts

(you may need administrator access for Windows NT/2000/XP)

NOTE: Hosts is the name of the hosts file and not another directory name. It does not have an extension (extensions are the .exe, .txt, .doc, etc. endings to filenames) and so appears to be another directory in the example above.

Wednesday, December 31, 2008

List of useful websites

Free Books Website

www.manybooks.net
www.knowfree.net
www.gutenberg.org

Tuesday, September 9, 2008

Pinging from the server to one of the systems in the domain

Was not able to ping some of the domain members from the domain server.

When the firewall on the client system was disabled, the server was able to ping the client system.

symantec client not getting updated

The Symantec anti-virus client was not getting updated by the Anti-virus server.

When the firewall was disabled in the client system, the client system started getting updated.

Monday, August 25, 2008

Online updating of Fedora Core Linux system using yum

Update Fedora Core Linux 8/9 by following the procedure given below:

* To configure http_proxy/ftp_proxy environment variables:
o export http_proxy=http://USER:PASSWORD@IPADDRESS:PORT
o export ftp_proxy=http://USER:PASSWORD@IPADDRESS:PORT

The user name and password should be of the user name and password of your account in the proxy server.


* To configure yum
o Go to the site http://rpm.livna.org/rlowiki/
o From the above website, download the rpm related to fedora version. for eg. for fedora 9 http://rpm.livna.org/livna-release-9.rpm
o Then install the above rpm by executing the command rpm -ivh pathto
* To list/update/install software using yum
o yum list available
o yum install -y xmms
o yum install -y vlc
o yum install -y *mp3*
o yum -y update

Saturday, June 21, 2008

SARG

Squid Analysis Report Generator

The squid access log is stored in (in a Fedora Core 8 Linux system)

/var/log/squid/access.log

The sarg access log reports are generated in

/var/www/sarg/

The command to generate of usage between two dates for a particular user is (assuming that the date is set to US standard in the system) :

$sarg -d 06/01/2008-06/21/2008 -u username

The command to generate a report using sarg is:
sarg -l /var/log/squid/access.log 

Monday, June 16, 2008

Shutdown command in Windows Server 2003

Windows XP and Windows Server 2003 support shutdown and restart of local and remote computers from the command-line. The shutdown command can be used with appropriate parameters to shutdown or restart the computer.

An example of shutting down a local system :

shutdown /s /t 120 /f /c ¨Closing for the day. Jai Sai Ram!¨

/s The systems is to be shutdown. /r is for restarting the system.
/t xxx Sets the timeout before the system is shutdown or restarted. A warning remains displayed during this time. The valid range of vaoues is from 0 to 600 seconds. The default is 30 seconds.

/c ¨Comment" Enables you to specify a reason. It must be in quotes and can have a maximum of 127 characters.

The options differ slightly for Windows XP.

The shutdown can be canceled by the /a option during the timeout period.

shutdown /a