xampp installation

10
LAMP What is a LAMP? It is a package of Open Source Software. It is the acronym for Linux Apache http server Mysql Php.

Upload: yuvaraja-rajenderan

Post on 12-Jan-2015

2.091 views

Category:

Education


0 download

DESCRIPTION

How to configure Lamp in Ubuntu

TRANSCRIPT

Page 1: Xampp installation

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: Xampp installation

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: Xampp installation

How 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: Xampp installation

How to install XAMPP

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

Page 5: Xampp installation

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: Xampp installation

How to Resetting LAMP

In Terminal type

sudo /opt/lampp/lampp stop

Page 7: Xampp installation

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: Xampp installation

Importasnt 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: Xampp installation

Importasnt 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: Xampp installation

How to Uninstall LAMP

In Terminal type

sudo rm -rf /opt/lampp