Search This Blog

Monday, 18 February 2013

Wednesday, 13 February 2013

Setting up and configuring Xampp in Ubuntu 12.04


Steps to configure Xampp in Ubuntu..

1) Following commands must be run in the terminal as a root user.

2) sudo -s // to get root access "enter your root password"

3) Navigate to the folder where the xampp linux installation tar file is downloaded.

4) Extract the tar file using " tar xvfz xampp.xxxxxxx.tar -C /opt/ "

5)After extraction is complete, navigate to teh /opt/lampp folder in filesystem.

6) run the command " ./lampp start "

7) Navigate to folder /lampp/etc/extra and open file httpd.xampp.conf

8) Add the line "Require all granted" to the block

<Directory "/opt/lampp/phpmyadmin">
    AllowOverride AuthConfig Limit
    Order allow,deny
    Allow from all
    Require all granted   ----->modified line
</Directory>

9) Navigate back to /opt/lampp/ and run command ./lamp restart

10) At last Navigate to /opt/lampp/ and give the htdocs folder read write permissions using the command "chmod -R 777 htdocs"

11) Alternately 64bit systems will require 32bit ubuntu libraries inorder to run the xampp server.. Install the 32bit libraries using the commands

apt-get update
apt-get install ia32-libs

Find the xampp linux installation here

Feel free to post your queries or leave a mail at glenfordfernandes@gmail.com

NOTE: All the above operation to be carried out as a root user