Naresh
description
Transcript of 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.
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
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
How to install XAMPP
To view content type: dir To extract: sudo tar -xvzf or xfz filename. To come out type: cd ..
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)
How to Resetting LAMP
In Terminal type
sudo /opt/lampp/lampp stop
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
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
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
How to Uninstall LAMP
In Terminal type
sudo rm -rf /opt/lampp