How to install and configure Xampp in Linux
Xampp for Linux
Installing and Configuring Linux version of XAMPP
By the way, earlier this software was called LAMPP but to avoid misconceptions it was renamed to "XAMPP for Linux". So if you are seeking for LAMPP you're at right place.
If you encounter any problems with XAMPP, Please feel free to contact and share. This will help others. :)
Xampp provides :-
List of missing security in XAMPP:
Installing and Configuring Linux version of XAMPP
By the way, earlier this software was called LAMPP but to avoid misconceptions it was renamed to "XAMPP for Linux". So if you are seeking for LAMPP you're at right place.
If you encounter any problems with XAMPP, Please feel free to contact and share. This will help others. :)
Xampp provides :-
- Apache
- MySQL
- PHP
- Perl
- phpMyAdmin
- Filezilla etc..
Steps for Installation :-
- Download
- Extraction and Installation
- Start
- Test
- Configuring and setting up security
- Restart/Stop
Step 1 : Download XAMPP
Download the latest version from here : Xampp for Linux Download
Download the latest version from here : Xampp for Linux Download
Step 2 : Extract and Install
Open the Terminal and log in as administrator (root)
su
su
The downloaded file is xampp-linux-1.8.1.tar.gz
Extract tarball in /opt directory :
tar xvfz xampp-linux-1.8.1.tar.gz -C /opt
Rename the folder to lampp.
mv /opt/xampp-linux-1.8.1 /opt/lampp
Step 3 : Starting up
Command to start XAMPP :
/opt/lampp/lampp start
/opt/lampp/lampp start
You should now see starting messages. Wait until all services gets started.
Step 4 : Test Installation
Test XAMPP in your browser by typing following URL
http://localhost or http://127.0.0.1
http://localhost or http://127.0.0.1
You should see the homepage of XAMPP.
Step 5 : Setting up security
Setting up security for XAMPP
- The MySQL administrator (root) has no password.
- The MySQL daemon is accessible via network.
- ProFTPD uses the password "lampp" for user "nobody".
- PhpMyAdmin is accessible via network.
- Examples are accessible via network.
- MySQL and Apache running under the same user (nobody).
To patch up these issues enter the following command :
/opt/lampp/lampp security
Set passwords for each item step by step.
/opt/lampp/lampp security
Set passwords for each item step by step.
Above step makes your XAMPP quite
secure by protecting the XAMPP pages by a username
('lampp') and password combination.
Now, restart XAMPP,
/opt/lampp/lampp restart
Now you are ready to use XAMPP on your Linux machine.
Now, restart XAMPP,
/opt/lampp/lampp restart
Now you are ready to use XAMPP on your Linux machine.
Step 6 : Stop XAMPP
Stopping XAMPP
/opt/lampp/lampp stop
Stopping XAMPP
/opt/lampp/lampp stop
Step 7 : Uninstallation
Uninstalling XAMPP
rm -rf /opt/lampp
Uninstalling XAMPP
rm -rf /opt/lampp
Note :
In case you get Access Forbidden! then run the following command in terminal :
In case you get Access Forbidden! then run the following command in terminal :
chmod -R 775 /opt/lampp/htdocs
For more help you can refer here.
To know the function of any command, comment below.
To know the function of any command, comment below.
Image showing setting up security, starting and stopping XAMPP on Linux.
0 comments :