Friday, August 28, 2009

Howto Change Mysql root Password and Users password

Some users want to change their mysql root password and users password.
mysqladmin

To setup root password for mysql in first time, use the following command :

$ mysqladmin -u root password NEWPASSWORD

If you want to change existing root password, then use following command

$ mysqladmin -u root -p oldpassword newpassword


For Changing MySQL user password

eg: for changing password for user panayara

$ mysqladmin -u panayara -p oldpassword newpass


New Linux Drivers from Nvidia Released


Nvidia launches two new drivers: one stable and one beta. The stable version is version 185.18.36, and beta version 190.25.

Download Nvidia Driver For Linux ver 185.18.36 from here

Download Nvidia Driver For Linux ver 190.25 from here

Monday, August 24, 2009

Howto Install wammu : Mobile phone Manager for Ubuntu / Debian Linux

I know everybody is looking for a mobile phone manager for Linux. text based gammu is there, but it is not user friendly . wammu is a graphical front end for gammu.

Using wammu you can read/edit/delete/copy your contacts, todo, calendar you can read/create/save/send and backup your sms. some type of phone supports file sending, display message including pictures and ringtones playback. Support for backup and import in various formats (vCard, vCalendar, iCalendar, gammu own backup,...) . Export messages to mail (IMAP4, maildir and mailbox storages are supported). Searching for phone, translated into several languages, rated as best on many software servers


wammu is in development stage, It supports Sony Ericsson phones, Motorola Phones, some models of Nokia, Siemens, Alcatel.

Howto install wammu in ubuntu /debian

$ sudo apt-get install wammu (or use synaptic package manager )

Saturday, August 22, 2009

Control Your Network Traffic with Wondershaper in Linux

If you are a Network Administrator with little knowledge in Network Protocols and IPtables, don't worry you can also controll your network traffic with a simple tool named wondershaper.

sudo apt-get install wondershaper

official site : http://lartc.org/wondershaper/

Readme files in /usr/share/doc/wondershaper

$ifconfig this will help you to find the network interface (eth0, eth1 or wifi0 etc..)

Now
$sudo wondershaper eth0 downspeed upspeed
eg: sudo wonderspeed 128 64

To Disable this settings

$sudo wondershaper clear eth0

make these connection settings permanent by editing /etc/network/interfaces file :

$ sudo gedit /etc/network/interfaces and add the following lines

up /sbin/wondershaper eth0 downspeed upspeed
down /sbin/wondershaper clear eth0

Howto Install PHP6 in ubuntu / Debian Linux

The full stable version of PHP6 is not yet released. But pre-built package is available. Early birds can start now. You can install a development snapshot of PHP 6 and preview it for its features and you can check your old scripts ( PHP 6 have some backwards-compatibility issues), so check your existing codes.

Howto Install PHP6 in Ubuntu / debian linux.

First you have to install GCC and GNU make utility

$sudo apt-get install build-essential
Now PHP6 installation needs some additional libraries

  • Apache development headers, such as apache-prefork-dev
  • International Component for Unicode (ICU) library, libicu-dev
  • The XML2 development headers, libxml2-de etc
You can install the above using
$ sudo apt-get install apache-prefork-dev libicu-dev libxml2-dev

Now you can download latest PHP6 package from here http://snaps.php.net/

$ tar -xzvf php6.0-xxxxxx.tar.gz

Now Change directory to the new directory made by tar and start configuration
$ cd php6.0-xxxxxx
$ sudo ./configure --exec-prefix=/usr
--with-apxs2=/usr/bin/apxs2
--with-config-file-path=/etc/php6
$ sudo make
$ sudo make test
$ sudo make install