Archive for the ‘Unix’ Category

How to Change, set or change MySQL root Password

October 26th, 2009 by @HKw@! | No Comments | Filed in centos, Fedora, Open Source, Ubuntu, Unix

Once you installed MySQL, you might need to set the MySQL root password to protect your DB. Actually how to do that?

Just type the following command on your terminal

[root@techkaki] # mysqladmin -u root password NEWPASSWORD

However, if you want to change (or update) a root password, then you need to use following command

 [root@techkaki] # mysqladmin -u root -p 'oldpassword' password newpass

Eg:

[root@techkaki] # mysqladmin -u root -p 'abcdef' password '123456'

Share

Problem with set static ip on ubuntu 8.10

August 11th, 2009 by @HKw@! | No Comments | Filed in Ubuntu, Unix

There is a bug with the Gnome Network Manger on Ubuntu 8.10. We have to set the static ip address manually. Once the system is reboot, it will reverting back to DHCP setup.

This problem can be solve by remove the Gnome Network Manager. To remove the Gnome Network Manager, use the following command in the terminal: (more…)

Share

How to Show / Hide Hidden Files in the Finder (Mac OS X)

August 4th, 2009 by @HKw@! | 1 Comment | Filed in Mac OS X, Unix

By default, Mac OS X hide all the Hidden Files. For those familiar with Unix files and folders, you have probably noticed that folder like /usr, /bin, /etc do not show up in finder. Besides, files that start with a dot like .bash_history also out of your sight.

Is it possible to make those hidden files work in Finder? The answer is Yes. We can easily show the hidden files by using simple terminal command.

(more…)

Share
BlogCatalog