Category Archives: Unix

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 : Rebuild deb package from installed files

Step 1 : To rebuild Debian package (.deb) from an installation kartook@H4C<3r:~$apt-get install dpkg-repack Now here i am going to rebuild K3B from my Ubuntu 10.04 kartook@H4C<3r:~/packagebuild$ sudo dpkg-repack k3b dpkg-deb: warning: ‘./dpkg-repack-13038/DEBIAN/control’ contains user-defined field ‘Original-Maintainer’ dpkg-deb: building package `k3b’ in `./k3b_1.91.0~rc2-0ubuntu3_amd64.deb’. dpkg-deb: warning: ignoring 1 warnings about the control file(s) kartook@H4C<3r:~/packagebuild$ kartook@H4C<3r:~/packagebuild$ kartook@H4C<3r:~/packagebuild$ […]

Linux : How do you change login GDM image in ubuntu 10.04 (Lucid Lynx)

This tutorial will explain How to change the boot splash screen image for 10.04 Open the terminal and run the following commands sudo cp /usr/share/applications/gnome-appearance-properties.desktop /usr/share/gdm/autostart/LoginWindow Then logout, and you’ll see an Appearance window pop up. Change it to how you prefer it, then close it and login as usual. When you have logged in […]

Mysql :mysqladmin command to change root password

How to : mysqladmin command to change root password If you have never set a root password for MySQL, the server does not require a password at all for connecting as root. To setup root password for first time, use mysqladmin command at shell prompt as follows: $ mysqladmin -u root password NEWPASSWORD However, if […]