How to install xampp on ubuntu 12.04
BY nidhi.sen
6 years ago
0 comments comment

Those who are working on php/achache/msql environment, I feel it is always easier to download and install xampp on your machine compared to separate installation of php/mysql/apache.I. Given below the steps for that.

Downloading xampp latest verion

  1. Download xampp-linux-1.8.1.tar.gz from apachefriends.
  2. Put the file on home/user.
  3. Open terminal.
  4. Give the command

    sudo tar xzvf xampp-linux-1.8.1.tar.gz -C /opt/

xmapp will be installed on /opt/lampp directory.

2. Then to start xampp,

Give the command

sudo /opt/lampp/lampp start

You will be getting the below mentioned message on your terminal

Starting XAMPP for Linux 1.8.1...

XAMPP: Starting Apache with SSL (and PHP5)...

XAMPP: Starting MySQL...

XAMPP: Starting ProFTPD...

XAMPP for Linux started.

3. Stopping xampp

Give command

sudo /opt/lampp/lampp stop

4. Verification of xampp works

For that start xampp first.

sudo /opt/lampp/lampp start

Then open a browser and just give URL,


You will get xampp welcome screen as in the attached screenshot xmpp-welcome-screen.png


5. Security

To make the xampp secure, you have to set password for xampp pages, mysql/phpmyadmin and mysql root user.

Otherwise when you are trying to access xampp pages, you will get error as in the screenshot error-phpmydmin.png.

So to set password, give command on the terminal,

sudo /opt/lampp/lampp security

and set password accordingly to the instructions showing on the terminal.

Now you can start using xampp

Reference link:



on 04th April 2007 / by webmaster
Linux is the epitome of the FLOSS model. Technical Solution Linux installation Leave a reply Your email address will not be published. Required fields are marked * Dewey J. Corl (not verified) access_time 08 May 2021 - 11:23 Linux is not ready for the general public! (I am a Ubuntu user). For proof, 1. try to simply print labels on a Dymo label printer. It takes a LOT of work to get to the ease of label printing already available in Windows and Mac. 2. try syncing a modern Palm based PDA. Yes, jpilot and others will sync the main data, but pictures and midi files do not get transferred without a lot of extra setup. These are examples of applications that are not ready for the general public. Since an operating system only supports applications, Linux is not ready to be a common desktop for the general public. While we are waiting for the applications to catch up, keep up the good work!! Anoop John (not verified) access_time 08 May 2021 - 11:23 Dewey Yes you may be right. But these are not applications that a common man would use. A common man would use one of these applications - Internet browser, Chat Client, Email Client, Document Writer, Presentation Creator, Spreadsheet Editor, Movie Viewer, Music Player, CD/DVD Writer. Both examples you cited are more specific applications that only a small percentage of the whole population uses. It will take time before those hardware vendors identify the need from their perspective to address the Linux community. Krishnadas (not verified) access_time 08 May 2021 - 11:23 Dear Mr Anoop, Thank you very much for the free installation of LINUX done in my PC. I am getting immersed in the LINUX and seeing the versatility. To my surprise, I am able to read one of my old backup CD(wherein lot of my valuable file exist) done in DIRECT CD wizard (a custom cd writing software of Easy Cd creator in WIN98) which could not be read in XP. Installation of old version of easycd creator/direct cd program was not possible in XP. I thought that possible i lost all data. Very pleasant start! Srikanth N. S. (not verified) access_time 08 May 2021 - 11:23 Hi Anoop, My friend is thrilled with Ubuntu. One of his grouses with windows was that after OS installation, everything else is to be installed separately which is a real headache. WHereas if u install Linux, everything is installed as a package and he is thrilled to bits! Let linux installation spread in Trivandrum and your service in this direction is highly appreciated. Kepp up the good work Regards. PDA Freak (not verified) access_time 08 May 2021 - 11:23 Is it possible to install linux on a packardbell notebook ? Pagination Current page 1 Page 2 Next page Next › Last page Last » Add new comment
Leave a reply
Your email address will not be published. Required fields are marked *

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
The content of this field is kept private and will not be shown publicly.
CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.