Sunday 24 January 2016

Linux - XAMPP

To start xampp in linux ubuntu:
-------------------------------

sudo /opt/lampp/lampp start

sudo /opt/lampp/lampp stop

sudo /opt/lampp/lampp restart

step:1
======
Go on XAMPP site and download XAMPP. URL to download XAMPP is
http://www.apachefriends.org/en/xampp-linux.html

step:2
Let the download complete. Confirm download by opening download folder.

step:3
Open terminal and move to download location. Verify that downloaded Xampp installer file exist there. If you have moved Xampp file in other folder than move that folder which contain Xampp file.

TERMINAL:$cd /home/[Username]/Downloads
TERMINAL:$ls

step:4
Make installer file to executable. Run following command

TERMINAL:$chmod +x xampp-linux-1.8.2-0-installer.run

Installation requires root privilege. Switch to root user. You need to suppply super user password to become root user. Super user is the user account which is created during the installation.

step:5
TERMINAL:$sudo -s -H

step:6
Run installer file
TERMINAL:$./xampp-linux-1.8.2-0-installer.run

step:7
Keep default selected component and click on next
Next->next->next->

step:8
XAMPP is successfully installed. But mysql server would not start automatically. You would get following error while accessing phpmyadmin
TERMINAL:$sudo /opt/lampp/lampp restart

STEP:9
Now access again phpmyadmin
http://localhost/phpmyadmin/




No comments:

Post a Comment