Author Archives: kartook

Linux : Error: mysql: Got a packet bigger than 'max_allowed_packet' bytes

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 […]

linux : How do I enable EPEL (Extra Packages for Enterprise Linux) repo and install the packages under CentOS Linux?

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: Regularly Backup Your MySQL

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: […]

Linux tool :Fdupes

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 […]

E-Book : The Advanced Bash Scripting Guide

This tutorial assumes no previous knowledge of scripting or programming, but progresses rapidly toward an intermediate/advanced level of instruction . . . all the while sneaking in little nuggets of UNIX ® wisdom and lore. It serves as a textbook, a manual for self-study, and a reference and source of knowledge on shell scripting techniques. […]

E-Book : Asterisk -The Future of Telephony

Many organizations are drawn to Internet telephony’s promise of cost savings, and its ability to move data, images, and voice traffic over the same connection. Asterisk, an open source system than runs on Linux, offers the best option. This guide covers installing, configuring, and integrating Asterisk with existing phone systems, without the need for additional […]