Citrix XenApp

Your Journey towards cloud.

Virtualization Picking up Speed

Are your Skills keeping up? Skill up. Be Relevant

Are you a System Admin

Learn Citrix XenApp, Its future.

Citrix XenApp

Industry-leading virtualization platform for building cloud.

Cloud Computing in Demand

Learn how to build cloud on Citrix XenApp.

Thursday, 5 July 2012

Setting Hostname(Computer Name) in Linux (RedHat)

Edit the following files with vi


1.
           /etc/hosts

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1    localhost.localdomain localhost
192.168.0.20    sohail.bom.labs.net

2.

          /etc/sysconfig/network

NETWORKING=yes
HOSTNAME=sohail.bom.labs.net

Wednesday, 4 July 2012

Configure ipaddress in linux

1.edit the file with vi

vi/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.20
NETMASK=255.255.255.0
GATEWAY=192.168.0.1


2.To put Dns Server ip address
vi /etc/resolv.conf
nameserver=192.168.0.10

3.restart the network service
service network restart

How to install Linux / UNIX *.tar.gz tarball files

Tarballs are a group of files in one file. Tarball files have the extension .tar.gz, .tgz or .tar.bz2. Most open source software use tarballs to distribute programs/source codes.

# 1: Uncompress tarball

To uncompress them, execute the following command(s) depending on the extension:
$ tar zxf file.tar.gz
$ tar zxf file.tgz
$ tar jxf file.tar.bz2
$ tar jxf file.tbz2

Now change directory
$ ls
$ cd path-to-software/

# 2: Build and install software

Generally you need to type 3 commands as follows for building and compiling software:
# ./configure
# make
# make install
Where,
  • ./configure will configure the software to ensure your system has the necessary functionality and libraries to successfully compile the package
  • make will compile all the source files into executable binaries.
  • Finally, make install will install the binaries and any supporting files into the appropriate locations.

# 3: Read INSTALL / README file

Each tarball comes with installation and build instructions. Open INSTALL or README file for more information:
$ vi INSTALL

Tuesday, 3 July 2012

How to replay YouTube video automatically

In the address bar, add the word "infinite" before the word "youtube".
This is the easiest way to put Youtube videos on loop.
When you are finished your address bar should be changed from:

Code:
http://www.youtube.com/watch?v=MrMNHwmd9Hc
To
Code:
http://www.infiniteyoutube.com/watch?v=MrMNHwmd9Hc

Sunday, 1 July 2012

How to make an OS X Lion USB thumb drive

Here are three different ways to put Lion on a USB thumb drive. If you buy and install Lion from the App Store  it downloads all 3Gigabytes from the App Store, installs Lion, then deletes the installer!  So when you go to install it on another machine it needs another 3Gigabyte download! Here’s how to make a re-usable installer.
Option 1: Put a full bootable Lion installation on the USB Drive with a recovery partition.
What you need: an 8G thumb drive and OS X Lion from the App Store.
What you get: A USB stick you can boot off and repair your Lion installation from.
Download the Lion installer from Apple App Store. DO NOT INSTALL IT ONTO YOUR COMPUTER OR THE INSTALLER WILL DELETE ITSELF. MAKE A COPY OF THE INSTALLER.  If you have already installed it and it has deleted itself,  go back into the App store and click on ‘purchases’ and next to Lion it will say ‘Installed’. Now option-click on ‘purchases’ and ‘installed’ will change to ‘install’ so that you can re-download the installer.
Format your Thumbdrive using a GUID Partition Table, and ‘ Mac OS Extended (Journaled)’, then you can run the Lion installer and install Lion onto the thumb drive.
Option 2: Create a Lion Recovery Disk.
You’ll only need a 4G USB Drive for this option.

What you get: A USB stick you can repair your Lion installation from, but not run Lion from.
If your Macintosh has an existing Lion Recovery partition (this will be the case if Lion came pre-installed on your machine when you purchased your computer from Apple), you can use this method. It will not be a fill installer but it will use the internet to install Lion onto another computer. It involves downloading a program from apple called ‘Lion Recovery Disk Assistant’
To test if you have a Lion recovery partition, Just hold down Command-R during startup and Lion will give you the option of going into recovery mode if the recovery partition is there.

Option 3: Make a Lion Installation USB Thumb drive like the one you buy from Apple.
What you get: A USB stick you can install Lion from – like the one that comes from Apple.
You’ll need an 8G USB thumbdrive.
1. Purchase and download the Lion Installer via the App store as in Option 1 above.
2. Right-click on the installer and select “Show Package Contents” and find  the file called  ”InstallESD.dmg” in the SharedSupport folder.
3. Use Disk Utility to ‘Restore’ this dmg file to a thumb drive to make a Lion Installation USB drive like you buy from the Apple Store. (the thumb drive must first be formatted as Mac OS Extended (Journaled) with GUID Partition Table.)

Saturday, 30 June 2012

How to Air Print to ANY printer from your iPod, iPad or iPhone

Apple has introduced a ‘print’ button onto iPads, iPhones and iPods to allow you to print directly to a printer from your iOS device. Unfortunately  you need a special AirPrint enabled printer. Thankfully there is a free application called ‘AirPrint Activator’ that allows you to print to any printer, here’s where to get it and how to use it.
AIRPRINT
On your iPhone at the bottom of some apps is a ‘share’ button. If you click this button you get a menu of different ways to share the content, one of these options is ‘print’ as shown below.
Share Button


Print Button
When you press the ‘Print’ button you will be given an option to choose a printer, but unless you have a special AirPrint printer’ you will see no printers here at all.  (I have a Canon IR5000, a Canon inkjet, a Xerox and a HP and none of them are AirPrint!)
If you don't have an AirPrint printer there will be no printer here to select
AIRPRINT ON NON-AIRPRINT PRINTERS
If you want your non-airprint printer to appear then you can download the following free application called ‘AirPrint Activator’ from netputing.
Click here to go to the netting page to find the latest  AirPrint Activator.
Click here to download version 2  directly.
This will download a little application called ‘AirPrint Activator’. You may need to click on the ‘downloads’ button in Safari to find it.
Click on the 'Show Downloads' button to find it.
Now run airPrint Activator by  double clicking the AirPrint Activator application. You should get a window that looks like the one below. Press the slider to ‘Turn On’ AirPrint.
In order for a printer to appear in AirPrint Activator you need to give people permission to print to it by sharing it. To do this go to System Preferences (Under the Apple Menu on the top left of your screen) and then Click on ‘Print & Scan’.
To find printer sharing click on 'Print & Scan'

In printer sharing preferences you need to select your printer on the left and then click the ‘Share this Printer’ box.
The final step - turn on Printer Sharing

The Printer should now appear in your iPad or iPhone printing menu!

Turbocache in XP

First, install your video drivers. You've probably already done this, but if you want to make sure that you have something recent, do the following:
-Right-click your desktop and click Properties
-Go to the Settings tab
-Click the advanced button
-Go to the Adapter tab (note the Memory Size under Adapter Information)
-Click on Properties button
-Go to the Driver tab
-Check the Driver Date and Driver Version to see if it's at least November 2006 and/or 93.71
-Close the dialogs.
-If your version isn't up-to-date, then download and install the latest nVidia Driver.

Install Rivatuner
-Just download it from here: http://downloads.guru3d.com/download.php?det=163
-Run the installer



Hey, that was easy, right? Now comes the important part:
-Disable Turbocache
-Open Rivatuner
-Go to the Power Users tab
-Click on the Open Matched Database button. It's one of the little ones on the bottom.
-Find and expand the nVidia...System entry in the list
-Find RMDisableRenderToSysMem and set the value to 1
-Close Rivatuner
-Reboot the computer

Double-check to see that your card is "normal" and not using system memory anymore. Repeat the "Verify your driver" steps to view the properties of your video card and see if the memory listed is only what's onboard (up to step 4).

And that should be it! I noticed a performance gain on my system. Probably because it wasn't paging to the system memory. Probably just one less thing the CPU had to keep track of.