| Written by: | mysoomro |
Score: 13 votes: 16 Format: Article |
Installing Xampp On Linuxmint
Xampp is a software package that includes Apache HTTP server, MySQL database, and interpreters for scripts written in the PHP and Perl languages.
In my previous tutorial which was about installing LAMP on Linuxmint many people commented that they liked the tutorial but they use Xampp
. So this time I tried it too, and found that it's a really good software package.
Installing Xampp is much more easier than installing LAMP. As we just have to install one software package, and entire LAMP will be installed. In LAMP we had to install every individual software seperately.
So lets go ahead and see the steps for Installing Xampp.
1. Download Xampp:
First of all you have to download Xampp. You can download it from this link: http://www.apachefriends.org/en/xampp-linux.html .
2. Login as Administrator Root:
-
Launch the terminal and login as System Administrator root by typing in following command in it.
su root
- Then enter your password.
- It'll then show you your username, which means you've successfully loged in as administrator.
3. Extract the Downloaded file:
Go to the directory where you've downloaded the Xampp. Mostly it's the 'Downloads' directory. But if you've changed the default setting or moved the downloaded file to some other directory(as I did) then you'll have to go to that directory.
you can enter that directory by cd command. As follows.
cd Downloads
or
cd --dir-name--
Then extract the archived file to /opt with following command:
tar xvfz xampp-linux-1.8.0.tar.gz -C /opt
Remember that the part of command highlighted in yellow is the version of the Xampp. By the time I installed it (that is yesterday; Friday 3rd August, 2012), the latest version was 1.8.0. You'll have to change that if you've downloaded a newer version. You can check it out from the file's name. The code highlighted in green is the file's name, and rest is the code for extracting it.
If you've done everything correct, the Xampp is now installed in your computer.
4. Start Xampp:
To start Xampp run the follwoing command in terminal:
/opt/lampp/lampp start
5. Run and Test Xampp:
To check if everything went okay launch the browser (Firefox, Chrome etc), and type in the follwoing URL:
http://localhost
Now you'll see the index page of Xampp in your browser. And it'll show you the links to all the good stuff that it has.
And that's all. You've successfully Downloaded, Installed and Tested Xampp.
So now go ahead amd develop wonderful Web Applications. 
Best of Luck! 
Tags: terminal, xampp, browser(firefox)
Created: 5 years ago.
Last edited: 5 years ago.
Reviewed: 5 years ago.
Read 0 times.
| Comments | |||
| 1 year ago |
bawa_d |
this tutorial save me. thanx for this useful help. | |
| 1 year ago |
matsu48 |
wow and thanks :) | |
| 1 year ago |
bawa_d |
great tutorial. one request is how to create virtual host using xampp in linux mint? | |
| 4 years ago |
aymanspit |
to autostart XAMPP you have to execute this command sudo ln -s /opt/lampp/lampp /etc/rc2.d/S99lampp sudo ln -s /opt/lampp/lampp /etc/rc1.d/K02lampp |
|
| 5 years ago |
EmpireITtech |
How do you get XAMPP to auto start upon restart? | |
| 5 years ago |
EmpireITtech |
This was MUCH easier than the LAMP installation. Thanks for you good tutorials as I am new to Linux lol | |
| 5 years ago |
mysoomro |
@timothy23: Thanks for the tips.. :) |
|
| 5 years ago |
timothy23 |
Pretty clear and simple. However, my download of Mint 13 already had apache installed and running on bootup. If this is true for you, you would need to kill apache2 first before starting the xampp processes. To avoid having to do it manually each time you reboot, you should swap the new xampp for the old apache server in your startup routine. | |
Ideas
Tutorials
Hardware
Software
Countries
Users
Moderation
Chat room
ISO Images