How To Install LAMP Server On Linux Mint 13 | Maya | KDE | XFCE

Sep 2013   (note:  latest version is Mint 17, but basic concepts still apply - 2015)

In this quick post I will show you how to  install a LAMP server on Linux Mint using apt-get to make the entire process automatic and easy. I will also show you how to quickly install phpMyAdmin and Sendmail to make it possible for your scripts to send emails if you need them to.
Installing LAMP on Linux Mint 13 | Maya | KDE | XFCE

1. Install Apache2 on Linux Mint using apt-get.

    sudo apt-get install apache2

2. Install PHP and the module enabling Apache to work with PHP using apt-get.

     sudo apt-get install php5 libapache2-mod-php5

3. Install MySQL Server and set root MySQL user password with the following command, it will automatically prompt you for the password during installation.

    sudo apt-get install mysql-server

4. Install Sendmail or phpMyAdmin with the 2 following commands. (I read something about Sendmail not being used that much anymore but it does the job if this is just for web development or something similar, when I installed with the following command it worked right away however you may need to restart Apache.)

    sudo apt-get install phpmyadmin
    sudo apt-get install sendmail

5. Restart Apache with the following command to ensure everything works properly.

    sudo /etc/init.d/apache2 restart

6. Create a quick php test script that uses the phpinfo() function to test your server with. After running this command simply open up Firefox or Chrome and go to http://127.0.0.1/index.php or http://localhost/index.php.

    sudo echo “” > /var/www/index.php


SEARCH and Navigation TOOL
Google     select a domain to search or visit.
(use back key to return )

johnmeister.com/jeep/sj
JeepMeister
"Jeep is America's
only real sports car."
-Enzo Ferrari
JohnMeister.com LinuxMeister
MeisterTech FotoMeister.us
BibleTech the rest of the web

For the best synthetic lubricants, filters, and other
automotive products use the free AMSOIL product guide,
simply click and enter your year, make and model.
visit AMSOIL's site, or call 1-800-956-5695, please use customer #283461
shop amazon with these links, support this website... thanx! CAMERAS: Nikon Lumix Canon Digital SLRs Camera Lenses
Computers: Toshiba Panasonic Toughbook Apple Dell
Diesel Engines --- BioDiesel info
Grand Wagoneer parts Jeep J10 accessories Automotive Repair Books

books by john:
For the best synthetic lubricants, filters, and other
automotive products use the free AMSOIL product guide,
simply click and enter your year, make and model.
Buy AMSOIL at Northland Diesel in Bellingham, WA
assorted links
Everett weather -- traffic --- News -- Middle East
NASB/KJV-- South East Asian Missions -- BibleTech -- Voice of the Martyrs

SJ - 1962-1991

XJ - 1984-2001

WJ - 1999-2004

KJ - 2002-2007

WK - 2005-2010

Find the recommended
AMSOIL synthetics
for your Jeep

CJ-10A - 1984-1986

Jeepsters

MJ - 1984-1992

Willys - 1946-1965

Other Jeeps (FC-170)