Pages

Saturday, February 19, 2011

Add XAMPP Control Panel in Ubuntu

[Tested in Ubuntu 10.10] Last time, I've installed XAMPP for linux in Ubuntu and I found that it's not too different from XAMPP for Windows. Yup, I think XAMPP for Windows is more easy to use because you can find XAMPP Control Panel there. With XAMPP Control Panel, you can start Apache, MySQL etc more easy, but how about XAMPP for Linux? Use terminal to start it? Yes, but there is another way! You can use a control panel too after you installed XAMPP for Linux. Here is the instruction, we will use phyton script :)

1. Open your terminal and paste this code. This code create xampp-control-panel.desktop file inside ~/.local/share/applications.


sudo gedit ~/.local/share/applications/xampp-control-panel.desktop

2. Now, paste this code into opened text editor. After you've done, save it and close your terminal.
[Desktop Entry]
Comment=Start and Stop XAMPP
Name=XAMPP Control Panel
Exec=gksudo python /opt/lampp/share/xampp-control-panel/
xampp-control-panel.py
Icon[en_CA]=/usr/share/icons/Humanity/devices/24/network-wired.svg
Encoding=UTF-8
Terminal=false
Name[en_CA]=XAMPP Control Panel
Comment[en_CA]=Start and Stop XAMPP
Type=Application
Icon=/usr/share/icons/Humanity/devices/24/network-wired.svg

3. Now navigate to Applications>Other. There you'll find XAMPP Control Panel. Yes, You've done :)

XAMPP Control Panel
Try it now and you'll find it is very useful.

No comments:

Post a Comment