Linux

5 steps for Install Xampp in Ubuntu / Debian / Linux

Install Xampp in Ubuntu / Debian / Linux

By the way in normally Ubuntu come with preinstall local server which located in “/var/www/” were you can save your website or run php or other server files.

Ok.

I am going to show you procedure for that.



Step 1: Open Terminal.

Type below command.

For 32bit download : wget http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.8.3/xampp-linux-1.8.3-2-installer.run/download

For 64bit download : wget http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.8.3/xampp-linux-x64-1.8.3-2-installer.run/download

Or you can download fresh version manuly from it’s website.

Notice: Terminal is command prompt of Linux.

Who have power to give OS to special order to follow your task.

Press: Ctrl+Alt+T .

Step 2: Executaion and Installation Xampp command.

Now, you have downloaded “Xampp.run” .

So, it time to start installing Xampp.

So, first locate where is it store and copy it address from above bar location or copy to desktop.

sudo chmod +x /home/ashti/Downloads/xampp-linux-x64-1.8.3-2-installer.run{ Command for file Execution in terminal.}

sudo /home/ashti/Downloads/xampp-linux-x64-1.8.3-2-installer.run{ Command for start Installation.}* Window pop up !Vollaa.

Your Xampp is install.

Step 3: Run Xampp.

*Type followng command in Terminal for starting and stoping Xampp.

sudo /opt/lampp/lampp start{ Command for starting Xampp.}

sudo /opt/lampp/lampp stop{ Command for stoping Xampp.}

Step 4: Use Xampp.

* Type following address in browser to use Xampp.

http://localhost/xampp/

Step 5: Extra Touch-up.

* If you want to use everyday and you don’t want pain of typing starting command in Terminal.

Next some sexy move I am going to write.

sudo gedit /etc/rc.local{ Ubuntu come with Preinstall Gedit editor but some Linux have not. You can install in it.}


# By default this script does nothing.
/opt/lampp/lampp start
exit 0

Press save or Ctrl+S.

* If you not have Gedit then use nano which by default terminal editor or you can use any editor, just change its name.

sudo gedit /etc/rc.local{ Ubuntu come with Preinstall Gedit editor but some linux have not. You can install in it.}


# By default this script does nothing.
/opt/lampp/lampp start
exit 0

Write second line after above line and before below line and save it.

For saving Press F3.

Then Enter.

After, for exit Press Ctrl+X.

* You can also use other any text editor just replace gedit or nano with your text editor name.

Tech Gurug Hosting
Tech Gurug Web Hosting

Please, share and like this article on Social Networks.

Also, like Tech Gurug on Social Media to spread it’s wing there.

If you want to give feedback than please comment below.

You can also feedback us via email. We do our best to reply soon as possible.

If you want to add or give some advice about this or new topic, please contact us.

The post 5 steps for Install Xampp in Ubuntu / Debian / Linux appeared first on Tech Gurug.

5 steps for Install Xampp in Ubuntu / Linux
  • Informative
  • Meaningful
  • Helpful
4.9

Summary

Procedure of Installing Web Server Xampp in Ubuntu, Ubuntu 16, Debian and Linux. You can install Xampp in 5 easy steps..

Sending
User Review
5 (1 vote)

Tech Gurug

Tech Gurug is a leading Technology Journal. Our Expert Mr Nishant Patar have decade of experience in Tech World. He and other experts are sharing their knowledge here. Also, see our Youtube Channel Tech Gurug and Yatra Gurug. Comment Guidelines : Genuine Name, No Links in comment, No Flooding Comments and Genuine Comment or your comment will be deleted or get ban from this site.
Subscribe
Notify of
guest
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Tina
5 years ago

Nice post now i was able to Install Xampp in Ubuntu / Debian / Linux

Back to top button
Tech Gurug