pátek 28. listopadu 2008

phpmyadmin in Ubuntu 8.10 Intrepid

Installation of phpmyadmin usually would do one command:

sudo aptitude install phpmyadmin


But with last version in Itrepid I had some problems. In /etc/phpmyadmin/apache2.conf I've added this lines to section :


AllowOverride All
Order allow,deny
Allow from all


because I use phpmyadmin on my laptop, there is no need for other security restriction. Also I commented out authentification lines:

# AuthType Basic
# AuthName "phpMyAdmin Setup"
# AuthUserFile /etc/phpmyadmin/htpasswd.setup


restart apache:

sudo /etc/init.d/apache restart

Then should be phpmyadmin available on:

http://localhost/phpmyadmin/

where you can login with mysql root password

středa 26. listopadu 2008

How to disable pc speaker in ubuntu

How to get rid of annoying pc speaker sound.


After entering this command:


$ lsmod | grep spkr


You should be able to see somemthing like this:

pcspkr 10624 0


So, open in your favourite text editor as super-user this file

$ sudo vim /etc/modprobe.d/blacklist


And add new line

blacklist pcspkr


Note: if you didn't find pcskpr in lsmod, try to look for
snd_pcsp. It could be also causing troubles.