This is more of Resize LVM I have tested this on CentOS 5.5. Since this is root partition modification, I’ll recommend to keep config backup before proceeding. create new partition (partition id should be 8e Linux LVM) ADD PHYSICAL VOLUME pvcreate /dev/new_partition Verify new physical volume pvdisplay Or pvscan Extend existing VOLUME GROUP vgextend VolGroup00 [...]
Full Story »Extract file from rpm
Ever came across situation wherein you need to extract file from rpm? This post may help you to extract single file from rpm. No need to install rpm again to retrieve single file. e.g by mistake I deleted /bin/ls now I can not work without ls as I have habit to run ls after I [...]
Full Story »Virtual Users on VSFTPD- CentOS
This article will help configuring vsftpd using virtual users. Meaning there is no need to create system users, users can be maintanted using htpasswd. What is the benifit of using virtual users? this can be useful if you wish to auth same users via apache, where he / she can get access to same ftp [...]
Full Story »Apache Web using POP3 Auth
One fine day one the project leader asked that he we to share files over internet to employees, he was looking for some auth system where only existing employee can login. Since we have hosted mail server & no auth system in office the convenient way we found was to use POP3 Auth. Following is [...]
Full Story »Resize LVM -Centos
Here We are sharing guide to resize LVM size. create new partition (partition id should be 8e Linux LVM) ADD PHYSICAL VOLUME pvcreate /dev/new_partition Verify new physical volume pvdisplay Or pvscan Extend existing VOLUME GROUP vgextend VolGroup00 /dev/xvda3 make sure vg free size is = new partition size using vgdisplay command Extend existing LVM by [...]
Full Story »Easiest way for Interface Bonding – CentOS
There is preferred way of bonding using ifcfg- files. But I prefer following method as it is very easy to setup. Here I am using 192.168.3.2 for the bond0. eth0 & eth1 are used for bonding. We’ll enter following lines in /etc/rc.local modprobe bonding mode=balance-rr miimon=100 ifconfig bond0 192.168.3.2 netmask 255.255.255.0 up ifenslave bond0 eth0 [...]
Full Story »Squid over Windows
Most of the linux admins have used squid over linux. This is one of the best proxy available. One of my windows admin friend asked me to suggest free proxy available over windows, which has all the feature as Squid. For testing purpose I configured squid over windows. This was easy task as win compiled [...]
Full Story »SSL integration with apache_no_ssl
Windows I wouldn’t have wrote this post if my software team was open to install latest version of apache_openssl. One of our apache server is running on windows. During installation admin got apache-2.2.10_no_ssl installed. For some reason we chose to host web over SSL & not willing to update Apache version. Latest version with ssl [...]
Full Story »RespoStyle for SVN
In the earlier posts we have covered Installation & Backup / Proxy of SVN. By default with native repos.xsl you’ll not get better look, to make your SVN repo look better you can use Rsposstyle. e.g Download latest version of ResposStyle. unzip it & copy repos-web to apache_web folder (/var/www/html) add / replace following line [...]
Full Story »