How to Install Xampp in Ubuntu

The first step to download XAMPP installation used to be. After that open a terminal and log in as root administrator:

idi idi @-desktop: ~ $ sudo su
[sudo] password for idi:
root @ idi:/home/idi #

then go into the folder where XAMPP package earlier located. then extract the package to the/opt:

tar xvfz xampp-linux-1.7.3 a. tar.gz-C/opt

Now XAMPP has been installed in the folder/opt/lampp, to run his quite simple simply XAMPP type/opt/lampp/lampp start in the terminal

Starting XAMPP for Linux 1.7.3 a…
XAMPP: Starting Apache with SSL (and PHP5) ...
XAMPP: Starting Mysql…
XAMPP: Starting ProFTPD ...
XAMPP for Linux started.

If there are no errors then it will pop up a message that has been running Apache and Myslq. to try this type http://localhost in your browser. then it will show up the home page of XAMPP.

Create a Shortcut menu in XAMPP.

1. open a terminal and type

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

2. then enter the code below

[Desktop Entry]
Comment = Begin/End XAMPP
Name = XAMPP Control Panel
Exec = gksudo "python/opt/lampp/share/xampp-control-panel/xampp-control-panel.py"
Icon [en_CA] =/opt/lampp/htdocs/xampp/img/logo-small.gif
Encoding = UTF-8
Terminal = false
Name [en_CA] = XAMPP Control Panel
Comment [en_CA] = Begin/End XAMPP
Type = Application
Icon =/opt/lampp/htdocs/xampp/img/logo-small.gif

3. the XAMPP Control Panel can be seen in Applications-> Other-> XAMPP Control Panel
Finally I've finished the discussion from. The attention I say thank you

Tips and tricks!

To put the file outside of htdocs use the command $ ln-s ~/public_html/opt/lampp/htdocs/$ USER
public_html is the folder that contains your html or php that we make.
$ USER is the name of the folder that is in the xampp/htdocs.

To run the XAMPP automatically use the following command:
sudo gedit/etc/rc.local
before the word "exit" place the command/opt/lampp/lampp start
Anda baru saja membaca artikel yang berkategori tips and triks / tutorials dengan judul How to Install Xampp in Ubuntu. Anda bisa bookmark halaman ini dengan URL http://id-ubuntu.blogspot.com/2011/07/how-to-install-xampp-in-ubuntu.html. Terima kasih!
Ditulis oleh: Unknown - Saturday, July 2, 2011

Belum ada komentar untuk "How to Install Xampp in Ubuntu"

Post a Comment