I was running some perl related thing s on my server . i got an error could not find ParserDetails.ini in /usr/lib/perl5/vendor_perl/5.8.8/XML/SAX After searching i found this will fix the issue very quick . Just run this command with root privillage and the nyou can continue your perl related stuff . perl -MXML::SAX -e […]
Category Archives: Linux
I a small user on mysql Database .Today i have to restore the Data only DB from old server to new server . i faced aerror Error: mysql: Got a packet bigger than ‘max_allowed_packet’ bytes Here is the way to fix this issue . I am using CentOS /etc/my.cnf Default file [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql […]
How do I enable EPEL (Extra Packages for Enterprise Linux) repo and install the packages under RHEL / CentOS Linux? EPEL (Extra Packages for Enterprise Linux) is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages that complement the Fedora-based Red Hat Enterprise Linux (RHEL) and its compatible […]
AutoMySQLBackup is one of the great tools to backup multiple databases, compress the backups, back up remote databases, and email the logs. AutoMySQL lets you take daily, weekly and monthly backups of your MySQL databases using mysqldump (MySQL function to backup the databases). Install AutoMySQLBackup: 1. Install AutoMySQLBackup: root@K:/home/kartook# apt-get install AutoMySQLBackup 2. Configure AutoMySQLBackup: […]
How Do I Use fdupes? Find duplicate files in /etc/ directory, enter: root@K:/home/kartook# fdupes /etc /etc/src-back /etc/src-orgi How Do I Delete Unwanted Files? You can force fdupes to prompt you for files to preserve, deleting all others (use this with care otherwise you may loss data): root@K:/home/kartook# fdupes -d /etc [1] /etc/src-back [2] /etc/src-orgi Set […]
TestDisk is a powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy. TestDisk can […]
This is something every sysadmin knows, or shoul know, but maybe Desktop Linux users does not know. Yes it is not too useful for Desktop users anyway but, in case you do not know and might need to enable or disable the loggin ability of some users here is how to. First let’s see why […]
Whilst Adobe provide a 32bit version of their Adobe Air application for Linux, a native x64 version remains a dream. Thankfully, with few installed dependencies, the 32bit version will happily run on a 64bit installation too Step 1 . Get Air, Get Dependencies First things first – you will need a copy of Adobe Air […]
To setup Windows Active Directory authentication run the following command replacing “mydc01″ your domain controller name. Replace “mydomain.com” with your domain name. You can add redundancy by adding multiple domain controllers by running the command again with the other server names /usr/sbin/esxcfg-auth –enablead –addomain=mydomain.com –addc=mydc01.mydomain.com –krb5realm=mydomain.com –krb5kdc=mydc01.mydomain.com –krb5adminserver=mydc01.mydomain.com –krb5enable /usr/sbin/esxcfg-auth –enablead –addomain=mydomain.com –addc=mydc02.mydomain.com –krb5realm=mydomain.com –krb5kdc=mydc02.mydomain.com […]