Top Banner
LAMP What is a LAMP? It is a package of Open Source Software. It is the acronym for Linux Apache http server Mysql Php.
10
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Naresh

LAMP

What is a LAMP?

It is a package of Open Source Software.

It is the acronym for

Linux

Apache http server

Mysql

Php.

Page 2: Naresh

How to install XAMPP

First check whether software is in your system or not

If not download from the following link

http://sourceforge.net/projects/xampp/files/xampp%20linux/1.7.2/xamp-linux-1.7.2.tar.gz/download

Page 3: Naresh

How to install XAMPPHow to install XAMPP

Goto Application->Accessories->Terminal.

Type cd Downloads To know the list type dir For copying the file type: sudo cp

filename /opt To check the xampp file: cd /opt

Page 4: Naresh

How to install XAMPP

To view content type: dir To extract: sudo tar -xvzf or xfz filename. To come out type: cd ..

Page 5: Naresh

How to configure LAMP

To start the server sudo /opt/lampp/lampp start To test the LAMP type localhost in your web

browser For auto start LAMP type the code in ur terminal

sudo gedit/etc/rc.local Now new window is open in tat u type

/opt/lampp/lampp start

above the code exit (0)

Page 6: Naresh

How to Resetting LAMP

In Terminal type

sudo /opt/lampp/lampp stop

Page 7: Naresh

Start and Stop in LAMPP

start Start Xampp stop Stop Xampp restart Stop & star Xampp startapache Start only apache stopapache Stop only apache startmysql Start only mysql stopmysql Stop only mysql

Page 8: Naresh

Important files and dir.

Commands home

/opt/lampp/bin/ Calls for mysql monitor

/opt/lampp/bin/mysql Apache root directory

/opt/lampp/htdocs/ Apache configuration file

/opt/lampp/etc/httd.conf

Page 9: Naresh

Important files and dir.

Mysql configuration file

/opt/lampp/etc/my.cnf PHP configuration file

/opt/lampp/etc/php.ini ProFTPD conifiguration file

/opt/lampp/etc/proftpd.conf PHPMyadmin configuration file

/opt/lampp/phpmyadmin/config.inc.php

Page 10: Naresh

How to Uninstall LAMP

In Terminal type

sudo rm -rf /opt/lampp