Wednesday, January 25, 2012

Migrate from CVS, VSS, PVCS, ClearCase, MKS, StarTeam to SVN or subversion

Please follow below link for migration from different version controlling software's to SVN:


http://www.polarion.com/downloads/svn.php

Wednesday, December 14, 2011

Install SSHFS and Mounting Remote Directories Using SSHFS On Ubuntu 11.10

Follow Given Below Link:

http://www.howtoforge.com/mounting-remote-directories-with-sshfs-on-ubuntu-11.10

Saturday, December 10, 2011

Linux recover boot loader or filesystem corruption using Rescue Mode

Here are the steps to recover corrupted linux filesystem (with or without LVM) or boot loader:

1) Boot system using Linux OS (should be the same version which is installed or needs to recover) CD/USB

2) When prompted, type ''linux rescue''

3) This will ask You for some questions like need to enable network or not and mount system or not

In case of installation/repair or grub boot loader

4) Try to mount file system and use following command to install grub
grub-install /dev/sda (should be a first partition where MBR resides)
run exit to reboot into new installed and recovered grub boot loader

In case of filesystem repair (skip step 4)

5) Do not mount partition

6) run following command over shell
e2fsck -p /dev/sda{1,2,3....} Partition which required to recover
fsck -p /dev/sda{1,2,3} Partition which required to recover

If all goes well reboot your system :)

In case of LVM filesystem repair (skip step 4 & 6)

7) In case of rescue mode, LVMs are not in active state we require to activate them manually

8) To check and activate LVMs run following commands:

lvm pvscan (Scan for PVs available and show them)
lvm vgscan (Scan for VGs available and show them)
lvm vgchange VGName -a y (This will activate all VGs LVM volumes)
lvm lvscan (Scan LVMs available)

9) Now use Step 6 (change partition with LVMs partition number which is shown by ''lvm lvscan'')

Thats it!!! Plz correct if wrong somewhere :)

Thursday, December 1, 2011

Install and configure Adobe Flash plugin (Square) with Mozilla Firefox over 64bit Fedora/CentOS Linux

Follow the following steps to configure Adobe flash player (square) in Mozilla Firefox:

cd /usr/lib64/mozilla/plugins/

Download flash plugin (square) from adobe http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p3_64bit_linux_111710.tar.gz

Extract flashplayer10_2_p3_64bit_linux_111710.tar.gz

Now restart Mozilla Firefox

All will be working fine, you can test by opening http://www.youtube.com any video

Alternatively we can also use GNASH open source flash plugin http://www.gnu.org/software/gnash/download.html

Thursday, March 17, 2011

Difference between /bin vs /sbin vs /usr/bin vs /usr/sbin vs /usr/local/bin vs /usr/local/sbin

/bin This directory contains executable programs which are needed in
single user mode and to bring the system up or repair it.

/sbin Like /bin, this directory holds commands needed to boot the sys-
tem, but which are usually not executed by normal users.

/usr/bin
This is the primary directory for executable programs. Most
programs executed by normal users which are not needed for boot-
ing or for repairing the system and which are not installed
locally should be placed in this directory.

/usr/sbin
This directory contains program binaries for system administra-
tion which are not essential for the boot process, for mounting
/usr, or for system repair.

/usr/local/bin
Binaries for programs local to the site (not part of the standard OS build)

/usr/local/sbin
Locally installed programs for system administration (not part of the standard OS build)