VSFTPD Server with pop3 Auth can be helpful as centralized auth with the use of users email id & password. Also there is no need to provide additional frontend to change their ftp passwords, as passwords are same as of their email ids. To make vsftpd auth using pop3 server, followings has been changed in [...]
Full Story »Install & Configure GlusterFS -CentOS / RHEL
GlusterFS is a software-only, highly available, scalable, centrally managed storage pool. Installing GlusterFS Server Installation Download & Install rpm from OR build rpm from tar Install Dependency yum -y groupinstall "Development tools" yum -y install fuse fuse-devel rpcbind readline-devel libibverbs-devel rpm-devel download latest tar from http://download.gluster.com/pub/gluster/glusterfs/LATEST/ Build RPM rpmbuild -ta glusterfs-3.2.5.tar.gz cd ./rpmbuild/RPMS/x86_64 rpm -ivh [...]
Full Story »LVM Resize root partition -Centos
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 »