Installing XAMPP on Ubuntu

Hey guys this is a quick post on how to install XAMPP on ubuntu. Here we go first you have to download XAMPP.
First you have to browse to your downloads folder and enter this command to extract the compressed folder;

Code:
tar -zxvf xampp-linux-1.7.3a.tar.gz

Now you have to copy the content to /opt and here is the command;

Code:
sudo cp -vr lampp /opt/

As you have copied the content of the lampp folder to /opt using sudo you don’t have permission to access the files freely there are two things you can do you can change the ownership of the file system by using chown or change the permission using chmod. The best way and the easiest way to do this is chown and the command is;

Code:
sudo chown root:< your username > /opt/lampp

Now browse to /opt/lampp folder and run;

Code:
sudo ./lampp start

You can check the status of lampp by simply running

Code:
sudo ./lampp status

and it should be something like this

rusiru@rusiru-L510:/opt/lampp$ sudo ./lampp status
Version: XAMPP for Linux 1.7.3a
Apache is running.
MySQL is running.
ProFTPD is running.

Hope this was helpful :D
if you have any questions feel free to comment :)
Bye.
Have fun :D

P.S.

Go to localhost to check it out :D

About these ads

About Rusiru Boteju
A peculiar or otherwise odd person, especially one who is perceived to be overly obsessed with one or more things including those of intellectuality, computers, technology, etc.

4 Responses to Installing XAMPP on Ubuntu

  1. Pingback: Tweets that mention Installing XAMPP on Ubuntu « Life and Tech -- Topsy.com

  2. Pingback: Dell Mini 10 with Ubuntu - Mini, Dell, Ubuntu, Blog, Blue, Related - CPanel Administration

  3. Pingback: Installing XAMPP on Ubuntu « Life and Tech

  4. Pingback: Q&A: I have a problem with my theme wp installation.syntax error? - Wordpress Video Tutorials

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: