by http://webgeektutorials.blogspot.com

Saturday, December 31, 2011

Photoshop CS5 best features demo

Adobe Creative Suite (CS) is a collection of graphic design, video editing, and web development applications made by Adobe Systems. The collection consists of Adobe's applications (e.g., Photoshop, Acrobat, InDesign), that are based on various technologies (e.g., PostScript, PDF, Flash). The latest version, Adobe Creative Suite 5.5 (CS5.5), was released on April 12, 2011.

Creative Suite 5 and I thought I would share with you Top 5 Favorite Features in Photoshop CS5. There are certainly many more new features than you'll see here, but these are definitely among my favorites.

Photoshop Convert photo to sketch/line draw

This tutorial is just the first video of a multi video session that will show how to turn a photo into a drawing and adding a lil jazz to the image.



Friday, December 23, 2011

TOP 5 Sql Server Scripts


/* 1 -------------------------------Script------------------------------

This script captures CPU Utilization Percent using TSQL. It uses system functions @@CPU_BUSY and @@IDLE
to see what is the CPU Utilization % at a particular instant. You can then use this number in a table or variable
to trigger other events.


@@CPU_BUSY  shows the time SQL Server has been busy
@@IDLE shows the time SQL Server has been idle


--------------------------------------------------------------------*/


DECLARE @CPU_BUSY int
DECLARE @IDLE int

SELECT @CPU_BUSY = @@CPU_BUSY, @IDLE = @@IDLE

WAITFOR DELAY '000:00:01'

SELECT
(@@CPU_BUSY - @CPU_BUSY)/((@@IDLE - @IDLE + @@CPU_BUSY - @CPU_BUSY) * 1.00) *100 AS CPU_Utilization_Pct

Wednesday, December 21, 2011

2 Nodes RHEL6 Cluster Configuration

Step by Step 2 Nodes RHEL6 Cluster Configuration

Virtual Lab Environment
1.    Two Nodes
2.    SAN Storage Server (software iscsi-taget)


Two Nodes
1.    Rhelsrv1
      OS: RHEL6 Server
       IP :172.168.100.101
Iscsi-initiator – iscsi-client

2.    Rhelsrv2
      OS: RHEL6
      IP : 192.168.100.102
Iscsi-client

3.    Client1
       OS: RHEL6 Desktop
        IP : 172.168.100.103

4.    Cluster Name: iscsicluster
        IP : 172.168.100.200

Required Software
Set up yum repo in all three nodes
From Vbox interface , attach rhel6 iso as cdrom and reboot the VMs.
Mount /dev/sr0 /media
/etc/yum.repos.d/rhel6dvd.repo
[Server]
name=Server
baseurl=file:///media/rhel6/Server
enabled=1
gpgcheck=0
[HighAvailability]
name=HighAvailability
baseurl=file:///media/HighAvailability
enabled=1
gpgcheck=0
[LoadBalancer]
name=LoadBalancer
baseurl=file:///media/LoadBalancer
enabled=1
gpgcheck=0
[ScalableFileSystem]
name=ScalableFileSystem
baseurl=file:///media/ScalableFileSystem
enabled=1
gpgcheck=0

Install Python3 on RHEL

One of my frined was facing trouble while installing Python3 on RHEL. I followed the following steps to install it on RHEL:

One thing i would like to say,It is very easy to install  manually:

STEPS :

1. To download python3 Download:

wget http://www.python.org/ftp/python/3.2.2/Python-3.2.2.tar.bz2

2. Now Unzip

bzip2 -cd Python-3.2.2.tar.bz2 | tar xvf -

3. Its time to Prepare compilation

./configure

4. Now start Build

make

5. start Installation

make install

Happy installing :)