Ubuntu – How to install XAMPP

11.1032-bit64-bitlamp

Hi all im a noob on Ubuntu/Linux World,

So i need some that give a full tutorial to How to install Xampp from apachefriends.org correctly on Ubuntu 11.10 + all beyond Ubuntu for 32 bit and also 64 bit Desktop Version.. and also i need this:

  • Make a Folder on Your Home Folder and Linked to htdocs from Apache Web Server
  • Make a GUI interface for Xmapp
  • Start Xampp when Ubuntu Boot Up or Start Ubuntu

(Note: i ask it for both X86 and X64 so people in the further can see the tutorials)


New Data:

What i did was i download from apachefriends.org for now and i also what to say that I'm currently running Ubuntu 11.10 X64 bit for Dell Studio 1558 processor intel i3

i will let you know guys which solution was the best, and it is for a Desktop Version of Ubuntu 11.10 (Laptop 15 inch screen ^_^ ) not Server Ubuntu

Best Answer

Why not just do sudo apt-get install lamp-server^ libapache2-mod-perl2 ? The lamp-server^ package should install Apache2, MySQL, PHP, (which should already be set up to work together). The libapache2-mod-perl2 should add Perl support to Apache.*

For permissions, I usually do this:

sudo adduser <username> www-data
sudo chown -R www-data:www-data /var/www
sudo chmod -R g+rw /var/www

Then you can make a link in your home folder that points to the webserver directory:

sudo ln -s /var/www /home/<yourusername>/www

By default, when you install Apache this way, it is started on boot.

I think it would be much easier to use the Ubuntu's way to install software on Ubuntu. That way, you will automatically get updates to your software through the package manager.

*I haven't done this before. You may need to follow the end of this page from the heading "Configure a cgi-bin directory" on.

Related Question