How to Install and Configure NFS and NFSv4 on Centos 6+

Here are the process how I install and Configure NFS/NFSv4 Configuring Server-Machine first yum install nfs-utils nfs4-acl-tools portmap xinetd Note: you might have problem installing portmap so downlaod rpm from here Be sure there following rpm packages are installed rpm -qa nfs* rpm -qa portmap* rpm -qa xinetd* ———————————————————————————————————- Service portmap start service xinetd start … Read more

VI Editor Search and Replace

:s/foo/bar/g Change each ‘foo’ to ‘bar’ in the current line. :%s/foo/bar/g Change each ‘foo’ to ‘bar’ in all lines. :5,12s/foo/bar/g Change each ‘foo’ to ‘bar’ for all lines from line 5 to line 12 inclusive. :’a,’bs/foo/bar/g Change each ‘foo’ to ‘bar’ for all lines from mark a to mark b inclusive. :.,$s/foo/bar/g Change each ‘foo’ … Read more