Thursday, March 7, 2013

Convert FAT32 disk to NTFS in Windows


Issue below command in DOS prompt.

convert <Drive Letter>: /fs:ntfs

Eg:

C:\Documents and Settings\pubudu>convert l: /fs:ntfs

The type of the file system is FAT32.
Volume PUBUDU-SUPP created 8/3/2012 4:29 PM
Volume Serial Number is B0FB-D07D
Windows is verifying files and folders...
File and folder verification is complete.
Windows has checked the file system and found no problems.
   15,609,312 KB total disk space.
           32 KB in 4 hidden files.
        3,344 KB in 413 folders.
    3,453,464 KB in 2,611 files.
   12,152,464 KB are available.

        8,192 bytes in each allocation unit.
    1,951,164 total allocation units on disk.
    1,519,058 allocation units available on disk.

Determining disk space required for file system conversion...
Total disk space:              15624576 KB
Free space on volume:          12152464 KB
Space required for conversion:    85614 KB
Converting file system
Conversion complete

Change User Password in Linux

Steps to Change User Password in Linux

1.Login as the root user

2.Type the following command:
passwd oracle

3.Enter New password

4.Confirm the new password

5.Then open another terminal and login as Oracle with new password.

Eg:

login as: root
root@191.161.201.111's password:
Last login: Thu Mar  7 00:32:14 2013 from 191.161.201.111
[root@my ~]# passwd oracle
Changing password for user oracle.
New password:









Monday, March 4, 2013

How to configure Red Hat Enterprise Linux 6 to use with Xmanager



Use below steps to  configure Red Hat Enterprise Linux 6 to use with Xmanager


1. Open /etc/gdm/custom.conf and edit the security and xdmcp section like the followings:

[security]
DisallowTCP=false

[xdmcp]
Enable=true


3. Add UDP port 177 to the Allow list on firewall.

2. As an admin, do 'init 3' and then, 'init 5'