Sunday, October 6, 2013

Monday, December 3, 2012

Convert all tables to myisam -- mysql linux

Backup software like Zmanda recommends all  database to be either Myisam or Innodb.
For older versions of mysql MyISAM is faster.
Having innodb and myisam will need to allocate resources for both in my.cnf
So its better to have myisam only..

Howto convert all innodb to myisam ?

Imp:  Make backup of DB before attempting

Step 1:

Delete all foreign key constraints . We dont need them in myisam.

Sunday, June 24, 2012

YUM 'Abuse of Service' for RHN



https://access.redhat.com/knowledge/solutions/8165

Issue
When trying to execute yum or up2date it fails with "Error Class Code: 49". How can we fix it ?
When running up2date or yum, a message tells me that my RHN account has been disabled for 'Abuse of Service'. What can I do ?
Resolution

Sunday, May 13, 2012

Install mcrypt on RHEL 6 64 bit

Use this link

http://dl.fedoraproject.org/pub/epel/6/x86_64/   

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/php-mcrypt-5.3.3-1.el6.x86_64.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/libmcrypt-2.5.8-9.el6.x86_64.rpm

Sunday, May 6, 2012

Install Vmware Tools on RHEL 6.2 64 bit using YUM

http://packages.vmware.com/tools/docs/manuals/osp-esxi-50-install-guide.pdf


vmware]# wget http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub

vmware]# wget http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub

 vmware]# rpm --import VMWARE-PACKAGING-GPG-DSA-KEY.pub

 vmware]# rpm --import VMWARE-PACKAGING-GPG-RSA-KEY.pub