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.

Friday, 4 May 2012

Quick configuration of NFS

NFS Consists of the following:

/etc/exports –> /etc/exports contains all the NFS shares

/usr/sbin/exportfs -r
#exportfs -r is used to synchronize nfsd in memory with the /etc/exports file
#Use exportfs -v to see which shares nfsd is currently exporting

/etc/rc.d/init.d/nfslock - which has 2 parts
/sbin/rpc.lockd
/sbin/rpc.statd

/etc/rc.d/init.d/nfs - which has 3 parts
/usr/sbin/rpc.rquotad
/usr/sbin/rpc.mountd
/usr/sbin/rpc.nfsd

At bare minimum you need to have portmap (or portmapper), mountd (or rpc.mountd), and nfsd (or rpc.nfsd) running; otherwise NFS isn’t running.

#Sample nfs /etc/exports file:
/home/ftp/pub (ro,insecure,all_squash)
/home/ftp/pub adminsvr(rw,insecure,all_squash)

#Above we have two entries, one for everyone, and one
for the adminsvr machine.

Thursday, 3 May 2012

How To disable telnet service

Login as root to your server:

Edit /etc/xinetd.d/telnet
# vi /etc/xinetd.d/telnet

Search for: "disable = no"
Change it to: disable = yes

Save and Exit

Restart xinted
# /etc/rc.d/init.d/xinetd restart

Wednesday, 2 May 2012

How to disable CTRL-ALT-DEL from rebooting a Linux system

The action taken for CTRL-ALT-DEL is defined in /etc/inittab and if we will look in that file we will see a line similar to the one from bellow :
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

If we want to disable this action we only have to change this line. 
We can delete it, comment it, or even replace it with something like:
 
ca:12345:ctrlaltdel:/bin/echo "CTRL-ALT-DEL is disabled"

After making any changes to the inittab file, 
you will have to tell init to reload it, in order to activate the changes. 
To do that, simply run as root:
init q

Tuesday, 1 May 2012

To maximize your ipad battery life

  • Try to keep your ipad away from the direct sunlight.
  • Turn on Bluetooth only when it is needed and turn off after using it.
  • Screen brightness should be reduced.
  • Just disable or reduce the system sounds.
  • Try to use WI-Fi network where possible instead of 3G.
  • Disable “vibration” while playing games.
  • You must discharge your ipad battery fully at least once in a month.
  • Set your ipad settings for your screen to be locked quickly.

Allow normal user to mount cdrom

By default, this device is not accessible by all of your users. To allow users to mount the CDROM drive, login as root and execute the following command

# chmod a+r /dev/cdrom

This will allow any user on your Linux system to mount the CDROM drive from their console or desktop.

Friday, 27 April 2012

Tabbed Remote Desktop / VNC Client for Windows

Anybody that works in a multiple server environment knows that it can be annoying to have half a dozen remote desktop windows open at any given point. Thankfully there’s a slick application called Terminals that gives you tabbed remote desktop capabilities.
Not only can you do Remote Desktop, but you can use VNC or even Citrix if you choose, and all within the same tabbed window.
When you first install the application you’ll be prompted for a master password, which is probably a good idea:
image
You can create a new stored connection of any supported type:
I’m connected to my Kubuntu Linux server box here in this tab…
And also connected to an ancient server at work…
One of the rather cool features is that you can have the terminals window minimize to the system tray.
There’s dozens of other features in this application, including the ability to upload screenshots directly to flickr.
It’s definitely worth a look, although I did have a few problems with it crashing on me. Since it’s in active development, I assume these issues will be worked out over time.

Thursday, 26 April 2012

How to disable USB ports


 To disable the access to USB port, in windows XP and 2000, follow the steps below
    1. Click Start, and then click Run.
    2. In the Open box, type regedit, and then click OK.
    3. Locate, and then click the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
    4. In the right pane, double-click Start.
    5. In the Value data box, type 4, click Hexadecimal (if it is not already selected), and then click OK.
    6. Quit Registry Editor.


     

To re-enable a disabled port, follow these steps below
    1. Click Start, and then click Run.
    2. In the Open box, type regedit, and then click OK.
    3. Locate, and then click the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
    4. In the right pane, double-click Start.
    5. In the Value data box, type 3, click Hexadecimal (if it is not already selected), and then click OK.
    6. Quit Registry Editor