NewbieTux

Newbie guides for *nix users, newbie system admin

Entries for the ‘Tips and tricks’ Category

Increase the LV (Logical Volume ) size online.

Let say you have a Logical Volume named users1 which is created under vg0, you had give 100 MB size while creating the same. Now as requirement grows you need to have 500 MB, while increasing the size you can afford to lose data or take the “users1” Logical volume offline.

The LVM system organizes [...]

How-to: Enable IP Forwarding on Linux

To enable IP-forwarding on your box follow the below steps
$echo “1″ > /proc/sys/net/ipv4/ip_forward
The execution of above statement will enable ip-forwarding on your system till you reboot for the next time. This happens because /proc is virtual file system, containing the information about the running kernel.
To make this setting persistent after every reboot, do the following:
Open [...]

Adding swap on GNU/Linux

Sometimes you feel that the swap partition you created at the time of install is not enough, or you have upgraded you Physical memory and would require to upgrade you swap too. or while installing oracle you find that more swap is required then configured on the system.
Below we would learn how to add additional [...]

strace - tool to help solving troubles quickly

Many times as System Admin you will come across Situation where a program you have complied and installed on your box does not run or in other words it fails to get executed as it was meant to be, and your manager is sitting on your top to get this thing running, as a last [...]

Auto complete in VIM /GVIM !

While you are writing long file like help document / Technical notes/ implimentation Documents in VIM, sometimes feel the need of auto completing know words/ used words / Dictionary words , sentances only some people know that is possible below are the commands to do so within VIM / GVIM
Ctrl-l  Complete whole lines of text
Ctrl-n  Complete words from current [...]