//
you're reading...
Linux, linux security, linux server

How to install and setting up LAMPP/XAMPP In Linux


1 // The commands in this HOWTO must be entered in the terminal:

Applications -> Accessories -> Terminal

2 // Download XAMPP to your Home :

wget http://ovh.dl.sourceforge.net/sourceforge/xampp/xampp-linux-1.7.tar.gz

3 // And extract the files :

tar xvfz xampp-linux-1.7.tar.gz -C /opt

4 // Create a XAMPP start menu entry:

cd ~/.local/share/applications

gedit xampp-control-panel.desktop

5 // Paste the following into the open file ” just for new version” :

[Desktop Entry]
Comment=Start/Stop XAMPP
Name=XAMPP Control Panel
Exec=gksudo /opt/lampp/share/xampp-control-panel/xampp-control-panel
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]=Start/Stop XAMPP
Type=Application
Icon=/opt/lampp/htdocs/xampp/img/logo-small.gif

Save and close the file.

7 // Publish:
XAMPP uses /opt/lampp/htdocs as the root web directory, but you can publish pages in your home directory this way.

cd ~


mkdir public_html


sudo ln -s ~/public_html /opt/lampp/htdocs/$USER

Now any files and folders you place in ~/public_html will be
published to your personal webserver.

8 // Start XAMPP via the terminal:

cd /opt/lampp


sudo ./lampp start

9 // Stop XAMPP (if necessary):

cd /opt/lampp
sudo ./lampp stop

10 // Or Via the XAMPP Control Panel:

Applications -> Other -> XAMPP Control Panel

11 // Now Security:

http://apachefriends.org/xampp-linux/381

  1. 1. The MySQL root user has a blank password.
    2. MySQL is accessible via your local network.
    3. ProFTPD has user “nobody” with password “lampp”.
    4. PhpMyAdmin is accessible via the local network.
    5. Examples are accessible via the local network.
    6. MySQL and Apache running under the same user “nobody”.

12 // To configure some of the security features of xampp:

cd /opt/lampp

sudo ./lampp security

Advertisements

About abdessemed mohamed amine

DZ-SECURITY

Discussion

2 thoughts on “How to install and setting up LAMPP/XAMPP In Linux

  1. the author of this post is aminesoft 😉
    if you want copy to any place
    you can 😉
    GPL
    good luke for all 🙂

    Posted by aminesoft | March 25, 2009, 20:24
  2. thanks for this good luck every1

    Posted by Rick | April 4, 2010, 15:01

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Facebook

March 2009
S M T W T F S
« Feb   Apr »
1234567
891011121314
15161718192021
22232425262728
293031  

Twitter

Error: Twitter did not respond. Please wait a few minutes and refresh this page.

  • 365,173 Visit !
%d bloggers like this: