Naresh

720 views

Published on

xampp installation

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
720
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Naresh

  1. 1. LAMP <ul><li>What is a LAMP? </li></ul><ul><li>It is a package of Open Source Software. </li></ul><ul><li>It is the acronym for </li></ul><ul><li>Linux </li></ul><ul><li>Apache http server </li></ul><ul><li>Mysql </li></ul><ul><li>Php. </li></ul>
  2. 2. How to install XAMPP <ul><li>First check whether software is in your system or not </li></ul><ul><li>If not download from the following link </li></ul><ul><li>http://sourceforge.net/projects/xampp/files/xampp%20linux/1.7.2/xamp-linux-1.7.2.tar.gz/download </li></ul>
  3. 3. How to install XAMPP <ul><li>Goto Application->Accessories->Terminal. </li></ul><ul><li>Type cd Downloads </li></ul><ul><li>To know the list type dir </li></ul><ul><li>For copying the file type: sudo cp filename /opt </li></ul><ul><li>To check the xampp file: cd /opt </li></ul>
  4. 4. How to install XAMPP <ul><li>To view content type: dir </li></ul><ul><li>To extract: sudo tar -xvzf or xfz filename. </li></ul><ul><li>To come out type: cd .. </li></ul>
  5. 5. How to configure LAMP <ul><li>To start the server sudo /opt/lampp/lampp start </li></ul><ul><li>To test the LAMP type localhost in your web browser </li></ul><ul><li>For auto start LAMP type the code in ur terminal </li></ul><ul><li>sudo gedit/etc/rc.local </li></ul><ul><li>Now new window is open in tat u type </li></ul><ul><li>/opt/lampp/lampp start </li></ul><ul><li>above the code exit (0) </li></ul>
  6. 6. How to Resetting LAMP <ul><li>In Terminal type </li></ul><ul><li>sudo /opt/lampp/lampp stop </li></ul>
  7. 7. Start and Stop in LAMPP <ul><li>start Start Xampp </li></ul><ul><li>stop Stop Xampp </li></ul><ul><li>restart Stop & star Xampp </li></ul><ul><li>startapache Start only apache </li></ul><ul><li>stopapache Stop only apache </li></ul><ul><li>startmysql Start only mysql </li></ul><ul><li>stopmysql Stop only mysql </li></ul>
  8. 8. Important files and dir. <ul><li>Commands home </li></ul><ul><li>/opt/lampp/bin/ </li></ul><ul><li>Calls for mysql monitor </li></ul><ul><li>/opt/lampp/bin/mysql </li></ul><ul><li>Apache root directory </li></ul><ul><li>/opt/lampp/htdocs/ </li></ul><ul><li>Apache configuration file </li></ul><ul><li>/opt/lampp/etc/httd.conf </li></ul>
  9. 9. Important files and dir. <ul><li>Mysql configuration file </li></ul><ul><li>/opt/lampp/etc/my.cnf </li></ul><ul><li>PHP configuration file </li></ul><ul><li>/opt/lampp/etc/php.ini </li></ul><ul><li>ProFTPD conifiguration file </li></ul><ul><li>/opt/lampp/etc/proftpd.conf </li></ul><ul><li>PHPMyadmin configuration file </li></ul><ul><li>/opt/lampp/phpmyadmin/config.inc.php </li></ul>
  10. 10. How to Uninstall LAMP <ul><li>In Terminal type </li></ul><ul><li>sudo rm -rf /opt/lampp </li></ul>

×