Pages

Thursday, June 9, 2011

Downloading & Installing the vSphere Update 1 Client For Windows 7

As we pointed out earlier in the week, vSphere Update 1 now supplies a Windows 7 compatible client, one that works out of the box. However, There are some folks who have not jumped into Update 1 yet, but still need to manage vSphere hosts. Not a problem you might think, and try to hop over to the VMware site to get it. Excepting, it’s not quite there, at least not without being a few clicks deep. So how do you get it? Well…

1. Download ESXi (Register if you must)

2009-11-26_2044

2. On the binaries screen, select the client download (Yes it is 100MB, no it will not kill you):

2009-11-26_2047

Make sure to save it to your desktop. This will be important.

3. Unblock it (Right click, Properties(This is why we saved instead of ran)):

2009-11-26_2111

4. Run As Admin:

2009-11-26_2114

5. Follow the rest of the install:

2009-11-26_2116

Note: J# takes… a…. while…

6. Fire it up:

2009-11-26_2131

7. And done!

2009-11-26_2134

Wednesday, June 8, 2011

Resolved SSL Error 78: Server certificate could not be checked for Revocation

1) Press Windows + R button and type on regedit and press the enter button.

2) Got to the below location on registry

HKEY_CURRE
NT_USER\Software\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Network\SSL

3) Under right pane set to SSLCertificate Revocation CheckPolicy=NoCheck

Now Try to connect to the client system.

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.

http://code.google.com/p/sqlexpressprofiler/downloads/list?can=1&q=&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount

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:

  1. Run REGEDIT from Start>Run
  2. Click on File, then select Connect Network Registry
  3. 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

Boot into "Safe Mode". To do this, turn the laptop on and press F8 as it is booting up. Go into "Safe Mode" by choosing the "Safe Mode" option.
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

Installation of the 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