---
title: 'Install Lampp in Linux Mint'
url: 'https://www.worldoweb.co.uk/2009/install-lampp-in-linux-mint'
markdown: 'https://www.worldoweb.co.uk/2009/install-lampp-in-linux-mint.md'
date: '2009-08-21'
description: 'A guide on installing Lampp on Linux Mint'
taxonomy:
  category:
    - Linux
  tag:
    - Tutorial
    - Ubuntu
    - 'Linux Mint'
---

# Install Lampp in Linux Mint

 Published on August 21, 2009 by Tracy Ridge in  [Linux](https://www.worldoweb.co.uk/category/category:Linux) 

This is an in-depth guide to installing LAMPP on Linux Mint. LAMPP, the linux version of XAMPP, is a popular open source, cross platform web server software that includes Apache, MYSQL, PHP and Perl. This software can be installed locally on your PC to aid with the development of websites that use the server side scripting language PHP, like WordPress themes for example.

This tutorial will help install the software, create and setup shortcut within the menu editor and transferring files with proFTP. This tutorial should also work in Ubuntu too, so lets get started.

## Download Lampp

Firstly download LAMPP from it’s respective [website](https://www.apachefriends.org/en/xampp-linux.html "Apache and Friends") and place it in your home folder e.g. where documents and downloads are.

Open a terminal and type:

```shell
ls
```

Hit enter to display a list of files and folders. Your file should be in there.

Then type the following ensuring that it matches your downloaded file.

```shell
sudo tar xvf xampp-linux-1.7.2.tar.gz -C/opt
```

Enter your password. The software is being extracted into the opt directory within your root folder.

To start the server type

```shell
sudo /opt/lampp/lampp start
```

Now open a browser and type `https://localhost/` in the address bar. You should see the LAMPP welcome page.

You should now see that the server is working. If you click on security on the left hand side you see that there are warnings. Everything is at its default values and therefore you need execute a little program in your terminal.

![Web server not secure.](https://www.worldoweb.co.uk/images/6/5/4/5/f/6545f4da2d5beb9ca3bb8ef31bd8ac67d8d1c81c-notsecure.jpg "Web server not secure.")

So head back to the terminal and type the following.

```shell
sudo /opt/lampp/lampp security
```

Read on the on-screen guide and change your passwords to secure your data. Please write them down! If you hover back over to the security section once finished you will see that everything is green and your web server is secure.

![Web Server Now Secure](https://www.worldoweb.co.uk/images/1/3/5/9/9/13599a89909d2cc3a26fdd106d9bfb3607022bf3-secure.jpeg "Web Server Now Secure")

Now if you are anything like me and you want a shortcut in your menu then right click on your menu icon, usually at the bottom left of your screen, select edit menus. **Update for Ubuntu 11.10 users** There is no edit menu shortcut so instead you can create a desktop icon by opening the menu editor using the terminal (Ctrl+Alt+T) and enter the following.

```shell
gnome-desktop-item-edit ~/Desktop/ --create-new
```

This will open the launcher properties as indicated below.

**Please note that at the time of writing this article the default mint menu doesn’t work so please default to the gnome menu. Right click on the taskbar and click add to panel, click on Main Menu.**

Click on programming and click on new item enter the following

- Type: Application
- Name: Xampp
- Command: gksu /opt/lampp/share/xampp-control-panel/xampp-control-panel
- Comment: Web Server

![Gnome Menu Editor](https://www.worldoweb.co.uk/user/data/wp-content/uploads/menuEditor.jpeg "Gnome Menu Editor")

If you want a lovely icon then click on the picture and navigate to /opt/lampp/htdocs/xampp/img/logo-big.gif

You can now see it in your menu, execute it and enter your password, the LAMPP control panel should be displayed. You can start all of your services or selected services from here.

![Xampp Control Panel](https://www.worldoweb.co.uk/user/data/wp-content/uploads/controlpanel.jpeg "Xampp Control Panel")

Now all that is done we will setup FTP so that we can tranfer the files over to our root folder. Make sure that your proFTP is running. I use filezilla as my choice of FTP programs, so install Filezilla from your mintInstall or synaptic. Start filezilla and click on new site manager. enter the following details, remembering your password which you created earlier!

![Create Connection to Server](https://www.worldoweb.co.uk/user/data/wp-content/uploads/NewSite.jpeg "Create Connection to Server")

Then as in the screenshot I uploaded my tester.htm into the tester folder which I created in filezilla.

![Filezilla](https://www.worldoweb.co.uk/images/8/e/3/f/b/8e3fb82463ed6a86b53bc44ced3da068433a2885-filezilla.jpeg "Filezilla")

As you can see in this final screenshot the tester file is now on screen and is working.

![Web Server Test Page](https://www.worldoweb.co.uk/images/0/1/0/3/d/0103d92f90d5a6d300af66a40032ba2349005460-tester1.jpeg "Web Server Test Page")

### Share

 [X](https://x.com/intent/tweet?text=Install%20Lampp%20in%20Linux%20Mint&url=https%3A%2F%2Fwww.worldoweb.co.uk%2F2009%2Finstall-lampp-in-linux-mint&via=worldoweb "Share on X") [Facebook](https://www.facebook.com/sharer.php?u=https%3A%2F%2Fwww.worldoweb.co.uk%2F2009%2Finstall-lampp-in-linux-mint "Share on Facebook") [Reddit](https://www.reddit.com/submit?url=https%3A%2F%2Fwww.worldoweb.co.uk%2F2009%2Finstall-lampp-in-linux-mint&title=Install%20Lampp%20in%20Linux%20Mint "Share on Reddit") [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.worldoweb.co.uk%2F2009%2Finstall-lampp-in-linux-mint "Share on LinkedIn") [Bluesky](https://bsky.app/intent/compose?text=Install%20Lampp%20in%20Linux%20Mint%20https%3A%2F%2Fwww.worldoweb.co.uk%2F2009%2Finstall-lampp-in-linux-mint "Share on Bluesky") [Email](mailto:?subject=Install%20Lampp%20in%20Linux%20Mint&body=https%3A%2F%2Fwww.worldoweb.co.uk%2F2009%2Finstall-lampp-in-linux-mint "Share via email") 

#### Tags

 [ Tutorial](https://www.worldoweb.co.uk/tag/tag:Tutorial) [ Ubuntu](https://www.worldoweb.co.uk/tag/tag:Ubuntu) [ Linux Mint](https://www.worldoweb.co.uk/tag/tag:Linux%20Mint) 

##### Next

 [ ← Tools For A Web Trade! Part 2 ](https://www.worldoweb.co.uk/2009/tools-for-a-web-trade-part-2) 

OR

##### Previous

 [ Tools For A Web Trade! Part 1 → ](https://www.worldoweb.co.uk/2009/tools-for-a-web-trade-part-1)

---

## Navigation

- Previous: [Tools For A Web Trade! Part 2](https://www.worldoweb.co.uk/2009/tools-for-a-web-trade-part-2.md)
- Next: [Tools For A Web Trade! Part 1](https://www.worldoweb.co.uk/2009/tools-for-a-web-trade-part-1.md)
