Thursday, 24 October 2013

Install Xampp in Ubuntu


* Step 1: Download
Xampp for linux : http://www.apachefriends.org/en/xampp-linux.html
(Check out which version you are downloading & respectively make changes in the version names in the following commands )
----------------------------------------------------------------------------
* Step 2: Installation
After downloading simply type in the following commands:

    Go to a Linux shell and login as the system administrator root:

    sudo su (or just su for lower versions than ubuntu 13.04)

    Change the permissions to the installer

    chmod 755 xampp-linux-1.8.3-1-installer.run

    Run the installer

    ./xampp-linux-1.8.3-1-installer.run

That's all. XAMPP is now installed below the /opt/lampp directory.
----------------------------------------------------------------------------
* Step 3: Start
To start XAMPP simply call this command:

/opt/lampp/lampp start

You should now see something like this on your screen:

Starting XAMPP 1.8.3...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.

Ready. Apache and MySQL are running.


----------------------------------------------------------------------------
* Step 4: Test
OK, that was easy but how can you check that everything really works? Just type in the following URL at your favourite web browser:

http://localhost

Now you should see the start page of XAMPP containing some links to check the status of the installed software and some small programming examples.

----------------------------------------------------------------------------
* Step 5: Copy & read rights to htdocs folder :
sudo chmod 777 /opt/lampp/htdocs
chmod -R 777 /opt/lampp/htdocs/




      CONGRATS...Your Job Is Done...!!!!
----------------------------------------------------------------------------
Start  Xampp Service :
 /opt/lampp/lampp start

Stop  Xampp Service :
 /opt/lampp/lampp stop

----------------------------------------------------------------------------

For PhpMyAdmin: Type in browser
 localhost/phpmyadmin


----------------------------------------------------------------------------
Unknown Web Developer

No comments:

Post a Comment

Total Pageviews

DjKiRu Initative. Powered by Blogger.