Wednesday, June 8, 2011
Resolved SSL Error 78: Server certificate could not be checked for Revocation
2) Got to the below location on registry
HKEY_CURRE
Saturday, June 4, 2011
Easy way to install webmin on CentOS 4
Webmin is a web based control panel for system administrators for Unix/Linux. I use Webmin for reports mainly. More about Webmin here.
This is how you would install Webmin on Centos 4.
1. First start by downloading the latest version of Webmin. The current version is 1.400.
I prefer to use use wget to directly download the file onto the server but it’s up to you.
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.400-1.noarch.rpm
2. Install the Webmin rpm package.
rpm -ivh webmin-1.400-1.noarch.rpm
[root@proxy0 /]# rpm -ivh webmin-1.400-1.noarch.rpm
warning: webmin-1.400-1.noarch.rpm: V3 DSA signature: NOKEY, key ID 11f63c51
Preparing... ########################################### [100%]
Operating system is CentOS Linux
1:webmin ########################################### [100%]
Webmin install complete. You can now login to https://proxy0.klm1.netcel360.com:10000/
as root with your root password.
3. Check if the Webmin service has been started.
service webmin status
[root@proxy0 /]# service webmin status
webmin (pid 4878) is running
That’s it, you can now login using your root id at https://localhost:10000
List downloads on Sqlexpressprofiler.
How to enable Remote Desktop remotely
In a case you want to remote access a Windows XP professional workstation and the computer Remote Desktop is not enabled, or no one over there to help you to enable it, you may have an option to enable Remote Desktop remotely by using regedit.
To enabling Remote Desktop using regedit, follow these steps:
- Run REGEDIT from Start>Run
- Click on File, then select Connect Network Registry
- Type the remote computer IP or host name in the Enter the object name to select and the click OK.
4. If you don't have permission to access the remote computer, the logon screen will show up. Type the username and password for the remote computer. Then click OK.
5. Now, the remote computer is listed in the Registry Editor.
6. Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server, in the right panel, seelct fDenyTSConnection (REG_DWORD). Change the value data from 1 (Remote Desktop disabled) to 0 (Remote Desktop enabled).
7. Close the regeidt and connect remote system.
This copy of Windows must be activated before you can log on
Once you are at the desktop in "Safe Mode", Click "Start" then click "Run".
At the run command prompt type the following EXACTLY
rundll32.exe syssetup,SetupOobeBnk
*NOTE: The "Oo"'s in Oobe are "oh's" - not "zero's" There is one space after rundll32.exe. It is case sensitive as far as I know.
Click OK
Wait a few seconds - the screen may blip a few times or so.
This just reset Windows Activation for 30 days.
Reboot the PC into normal mode - log in - re-activate Windows
Step by step procedure for installing Sarg Log Analyzer
1) Download the packeg to "/usr/local/src" directory
cd /usr/local/src
wget -nd http://downloads.sourceforge.net/project/sarg/sarg/sarg-2.2.3.1/sarg-2.2.3.1.tar.gz
2) Untar the packeg by following command
tar -xvzf sarg-2.2.3.1.tar.gz
3) Compile the sarg package
cd sarg-2.2.3.1
./configure
make
make install
4) Edit configuration file as shown bellow
vi /usr/local/sarg/sarg.conf
# TAG: access_log file
# Where is the access.log file
# sarg -l file
#
access_log /opt/safesquid/safesquid/logs/access/access.log
# TAG: title
# Especify the title for html page.
#
#title "Squid User Access Reports"
title "Safesquid User Access Reports"
# TAG: output_dir
# The reports will be saved in that directory
# sarg -o dir
output_dir /var/www/html/sarg
5) Make output directory for sarg report
mkdir /var/www/html/sarg
All report are genrated in this directory
6) To Generate the logreport, simply run the command
sarg
7) To generate the log report by the cron job you can make entry in "/etc/crontab" file
00 23 * * * root /usr/bin/sarg
It will generate the log report every day at 11.00 P.M
8) You can also see all command line switches by following command
sarg -h
9) Example To genrate report by manually :->
# If you want log report of the 10/11/2007 date you can give the command
sarg -d 10/11/2007 (dd/mm/yyyy)
# If you want log report from 10/11/2007 to 10/12/2007 then run this command
sarg -d 10/11/2007-10/12/2007 (dd/mm/yyyy-dd/mm/yyyy)
10) To view the log report generated by sarg start httpd serverice
/etc/init.d/httpd start
And browes url "http://ip_of_linux box/sarg" eg.
http://10.0.0.1/sarg
See sample report
Also see -
Script for generating Sarg Log Reports
Sarg Real-Time Log Configuration
Tuesday, May 17, 2011
Best Sites for Windows Tips, Tricks and Tweaking
Windows Tips Galore
Active Windows offers a first rate combination of tips and tutorials along with some useful reviews. The PCStats site features an excellent collection of Windows tips taken from the PCStats forums. I particularly liked the registry patch for removing those annoying entries in the "Add/Remove programs" menu that hang around long after the program has been uninstalled.
http://www.activewin.com
http://www.pcstats.com/articleview.cfm?articleid=1190&page=3
Tweaks for XP Freaks
We've mentioned this excellent collection of free Windows XP registry tweaks before but on a recent visit I noticed that it's now bigger and better than ever. Each tweak can be downloaded as a .reg file to save you the task of editing your registry.
http://www.kellys-korner-xp.com/xp_tweaks.htm
Windows XP Tips from Microsoft
Dozens of XP Pro tips including a sneaky way to bulk rename files. I didn't know you could do that in Windows. Guess you learn something every day.
http://www.microsoft.com/windowsxp/expertzone/tips/default.asp
How Fast do you Really Surf?
The high data rate you get when downloading a big file is not a reliable measure of how quickly you can surf. This site offers a free test that measures your connection speed to 40 different sites worldwide. Be prepared to have your ego deflated ;>)
http://www.numion.com/
Mysterious Startup Programs Explained
If you've ever looked at your Windows startup folder you're bound to find a number of odd-named executables. Check out exactly what each program does at this valuable resource site:
http://www.sysinfo.org/startupinfo.html
Find Email Addresses
If you are looking for someone's email address, the bad news is there's no central directory. However this site offers a meta search engine that will search many possible sources. Quite to my surprise, I found my own personal email address.
http://mesa.rrzn.uni-hannover.de/
Commercial Software for Free
Many commercial software products started life as freeware. You can still locate many of these original free versions at the Internet Archive, which has captured snapshots of the web at different points of time for research purposes. Just enter the software vendor's web site address and with a bit of luck, you may be able to locate and download a free version.
http://www.archive.org/
BIOS Optimization Guide
Want to tweak your BIOS for maximum speed or stability? Like to understand the meaning of some of the obscure settings in your BIOS setup? If so, head straight to this site.
http://www.rojakpot.com/default.aspx?location=1
Organize Your Partitions Correctly
What's the best way to organize the partitions on your hard disk? Now that's a question that would take a long dinner and two bottles of red wine to sort out. For those who don't like wine or simply want a quick introduction to the issues, check out the following article.
http://aumha.org/win4/a/parts.htm
Optimizing the Windows XP Paging File
This is one of the best articles I've yet seen on this subject. It dispels many myths including setting the max and min sizes the same and setting the maximum size at 2.5 times the memory size.
http://aumha.org/a/xpvm.htm
Free Windows Networking Help
Got a networking problem? Want a networking tutorial? Need some background on Windows networking technology? Then head straight for this excellent resource site. The content quality is a bit variable but hey, it's free.
http://www.wown.com/
XP Questions Answered
This site offers an excellent collection of Windows XP tips including answers to some of the most common only encountered problems.
http://www.windows-help.net/WindowsXP/all-tips.html
How to Make Windows XP Run Faster
This site lists a step-by-step procedure for optimizing the performance of Windows XP. Most of it is good advice but comes at a cost in the form of slightly downgraded appearance and the loss of little-used features and services.
http://www.techreviewer.com/viewpage.cfm/pi/9
Impressive Windows Tips and Tricks Site
More performance enhancing and behavior modification tweaks than you ever imagined.
http://www.mdgx.com
More Networking Help
A couple of issues back I mentioned the excellent wireless networking resources offered by the Practically Networked site. This prompted subscriber Richard Cowper to write in about the Home Net Help site. Nice find Richard. The coverage is wider than just wireless networking too. Well worth visiting.
http://www.homenethelp.com/
Windows XP Tips Galore
The first link is to a site offering a nice list of 101 tips covering ways you can improve performance, increase privacy and more. The second link is another site which, rather cleverly, lists its tips in popularity order. Backing up/restoring/disabling XP activation topped the popularity list.
http://www.pcstats.com/articleview.cfm?articleID=1494
http://is-it-true.org/nt/xp/index.shtml
Windows XP Myths Exposed
This is a well researched list that debunks dozens of commonly held Windows beliefs such as "Periodically cleaning the pre- fetch folder speeds up boot time." While visiting, check out other sections of the site; they are first class.
http://mywebpages.comcast.net/SupportCD/XPMyths.html