Friday, October 19, 2007

Install of MySQL/PHPMyAdmin aka LAMP (Linux Apache MySQL PHP)

  • sudo apt-get install mysql-server
  • sudo apt-get install apache2
  • sudo apt-get install php5
  • sudo apt-get install php5-mysql
  • sudo apt-get install phpmyadmin

More information is available at the this link

Here is the link giving step by step instructions for getting mysql/apache/php and phpmyadmin working. Tells you how to set up mysql user too.

Wednesday, October 17, 2007

How to run pre-Vista programs in Compatibility Mode

The Windows Fanatics weblog details how to use Vista's Compatibility Mode to run apps that aren't quite Vista ready. Here's how:

1. Right click the executable and click the Properties option.
2. Select the Compatibility tab.
3. Select the Run This Program in Compatibility Mode option.
4. From the drop-down list, choose the operating system you ran before upgrading to Vista.
5. If necessary, select the option to run the program as an administration.
6. Click OK.

This post is contributed by baki. He can reached at bhanukiran.j@gmail.com

Debug Remote Java application

The java process should start with the following arguments :
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n

In addition to that the code should be compiled(using javac) with debug option -g

Task Manager/Process List in Kubuntu

ps gives a list of processes. Alternately the short-cut Ctrl+Esc can be used to get a graphical list of processes running

apt-get behind fire-wall or proxy

A link on apt-get behind proxy

Google Talk in Kubuntu

A good article on Google Talk in Kubuntu

Python MySQL library support

Try the following at the python prompt.

>>> import _mysql
If the error is something like this :
Traceback (most recent call last):
    File "", line 1, in
        ImportError: No module named _mysql

Then try apt-get install python-mysqldb

Single/Double click in KDE/Kubuntu

System Settings->Keyboard and Mouse->Mouse->General->Icons

A much more informative entry can be found at Disable Single-Click Opening of Files in KDE

KDE/Kubuntu Hide/Restore Menu Bar

Menu Bar in KDE/Kubuntu Konquerer can be hidden by Settings->Hide Menu Bar. But there is no way to restore it without the keyboard shortcut for hide/restore Ctrl+M