Posts

Showing posts with the label linux

MySQL change root password

Image
To change the root password for the database in linux you use mysqladmin utility. The parameters you need to pass are: -u root the username used for logging in. In this case we want to be root obviously -p'currentPassword' the password for logging in. Notice there are no space between p and quote. password newPassword define the new password. So for example: mysqladmin -u root -p'myoldpassword' password mynewpassword

Adding Gnome 3 to Ubuntu 11.04

This works for Ubuntu 11.04. To install Gnome 3 on Ubuntu 11.04 you basically do sudo apt-get install gnome-shell and then switch to it doing gnome-shell --replace If after first command you get an error about unmet dependencies like gir1.2-atk-1.0 you might open Ubuntu Software Center and click Edit->Software Sources... and add "ppa:gnome3-team/gnome3". Or do it via terminal by running sudo add-apt-repository ppa:gnome3-team/gnome3 sudo apt-get update sudo apt-get dist-upgrade After that re-run the first command