Thursday 23 June 2016

Xampp installation and default configuration in LINUX


Step 1:

Download the Latest xampp version for Linux

Step 2:

i)   Go to the  path  where you are stored in the specified location

ii)  Change the permission in xampp shell or run file using chmod

      chmod +x filename.run(xampp-linux1.8.3.run)

iii) Boot or execute the file using ./
      ./xampp-linux1.8.3.run

Step 3:

After execution you will get graphical mode installation in your display
Step 4:

After finish the installation you have to start the services using xampp control panel

    sudo /opt/lampp/manager-linux-x64.run

Step 5:

i)    Linux machine have default apache server supporting purpose first you have to stop that services
       sudo /etc/init.d/apache2 stop
       (This command used for stop the already running apache server)

ii)   Default apache path in linux machine
 
       sudo /etc/apache2/apache.conf

iii)  Next step is how to start xampp automatically in your machine
       sudo /opt/lampp/lampp start
       sudo gedit /etc/init.d/lampp

iv)  You will get new geditor on your machine and then type following two lines
       #!/bin/bash
       /opt/lampp/lampp start

v)  After close the editor then you have to execute the following commands
     sudo chmod +x /etc/init.d/lampp
     sudo update-rc.d lampp defaults

vi) Yeah! Finally you did the configuration... Done!!!


No comments:

Post a Comment