Archive for November, 2011

Centos:Yum behind a proxy

Wednesday, November 2nd, 2011

if your servers are behind a proxy and you need to provide username and password for the proxy server , then you need to configure yum.conf file with bellow syntax http_proxy=http://username:password@proxyaddress:port/ proxy_username=username proxy_password=password if you dont need to provide username and password for proxy server then : http_proxy=http://proxyserveraddress:port/

Centos:How to add newly created logical volume into fstab

Wednesday, November 2nd, 2011

When you create a Logical volume , you need to add it into /etc/fstab file for it to stay as mounted when server reboot. suppose you have create a logical volume like bellow   lvdisplay — Logical volume — LV Name /dev/POSREP-DB/DB VG Name POSREP-DB LV UUID 0IEKZw-tEoI-jJWt-OGXT-F0B7-hEic-hCbteW LV Write Access read/write LV Status available [...]