Saturday, September 14, 2013

Install/Uninstall xampp in Ubuntu

To Install/Uninstall xampp on ubuntu.


 It is very simple procedure.

 First let us see, how to install…


     step 1 : Download xampp from the link below

                 Get the Xampp from this link  

      step 2: Extract the archive to /opt using sudo: (make 

                 you are in the directory that you downloaded the archive to)

                   sudo tar xvfz xampp-linux-1.5.3a.tar.gz -C /opt 
              if the version you are trying to install is different then, type 
              the appropriate version in the above mentioned code.

     step 3: to start, type the below code in terminal 
 sudo /opt/lampp/lampp start 
                Give the permission if necessary, to the "htdocs" folder in /opt/lampp.


    There are two ways to uninstall the Xampp.


       step 1 : type the below mentioned code in a terminal

                 sudo chmod -R777 /opt 

      step 2 : Delete the xampp folder from the location you have saved.

                Now, u have uninstalled xampp.


           Run the below command in terminal

                 sudo apt-get remove xampp.