ZachSchneider [dot] com
  • Facebook
  • Google
  • Twitter
  • Home
  • About Me
  • Terms of Use
  • Archive
  • Sitemap
Home» Linux » Installing LAMPP on Linux/ Ubuntu

Installing LAMPP on Linux/ Ubuntu

Posted on January 9, 2009 by Zach in Linux - 2 Comments

The acronym LAMP refers to a solution stack of software, usually free and open source software, used to run dynamic Web sites or servers. The original expansion is as follows:

  • Linux, referring to the operating system;
  • Apache, the web server;
  • MySQL, the database management system (or database server);
  • PHP or others, i.e., Perl, Python, the programming languages.

The combination of these technologies is used primarily to define a web server infrastructure, define a programming paradigm of developing software, and establish a software distribution package.

Though the originators of these open source programs did not design them all to work specifically with each other, the combination has become popular because of its low acquisition cost and because of the ubiquity of its components (which come bundled with most current Linux distributions). When used in combination they represent a solution stack of technologies that support application servers.

vie Wikipedia

Download the current version from here

F Y I:
By the way: In the past this software was called LAMPP but to avoid misconceptions they renamed it to »XAMPP for Linux«.

inside the terminal type:

sudo tar xvfz xampp-linux-1.7.tar.gz -C /opt

Thats all. LAMP is now installed on your computer. All you need to do now is to start LAMP (this is to start the Apache server and MySQL). To do that execute the following command in Terminal:

sudo /opt/lampp/lampp start

You can test your installation by pointing your browser to http://localhost

In order to make sure LAMP starts automatically every time you start your computer, follow these steps.

First, execute this command in Terminal:

sudo gedit /etc/init.d/rc.local

When gedit opens, add the following line right at the bottom of the file

sudo /opt/lampp/lampp start

Save the file and close it. Now you don’t have to start LAMP manually each time your start your computer.

Notes:

  • Your root (admin) password for MySQL is left blank. It’s better if you set a password.
  • Your php files and projects should be put inside the directory /opt/lampp/htdocs
  • Login to phpMyAdmin from here: http://localhost/phpmyadmin/index.php
Apache, LAMP, Linux, MySQL, PHP, ubuntu
  • http://www.zachschneider.com Zach

    Quick apt-get install links:

    From a command shell, you will run the following commands:
    sudo apt-get install apache2
    sudo apt-get install php5
    sudo apt-get install libapache2-mod-php5
    sudo /etc/init.d/apache2 restart

    Installing MySQL 5 Server:
    sudo apt-get install php5-mysql
    If you are running PHP you will also need to install the php module for mysql 5:
    sudo apt-get install mysql-server

    Create a new database, use the mysqladmin command:
    mysqladmin create databasename

  • http://www.wordpressmassinstaller.com Marisol Hutten

    I was at a seminar once (can’t remember what it was about), and invited one of my employees to attend it with me. There were maybe 100 or so people in the room, and at the end the hosts went into the typical Q&A session. As I raised my hand to ask a question, my associate looked at me with deer-in-the-headlights eyes and asked, incredulously, ‘Are you really going to ask a question?!?’ To her it was simply inconceivable to do something like that. There is an entire block of readers that will NEVER consider leaving a comment, it’s just not part of their personality style.

Search

Facebook

Tags

Apache Apple bar Beer Bill Gates cheat sheet Chicago Code comic dating Download Day Election 2008 Firefox 3 flash Fun Geek Hackerspace How to... Internet Explorer Life Linux mac Microsoft Movies MySQL Nerd News PHP pickup lines politics quote Software Tech Twitter ubuntu virus vote Web Dev Web Development Windows Wine women Wordpress writings YouTube

Archives

  • December 2011
  • October 2011
  • September 2011
  • July 2011
  • May 2011
  • April 2011
  • January 2011
  • September 2010
  • August 2010
  • June 2010
  • May 2010
  • March 2010
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • March 2007
  • February 2007

(c) 2012 ZachSchneider [dot] com