QueHow

A How-To and wiki Blog

  • Operating System
    • Windows
      • Windows 10
      • Windows 7
    • Linux
  • Software
    • Application Software
    • Microsoft Office
      • Outlook
      • Word
      • PowerPoint
  • Internet
    • Browsers
      • Mozilla Firefox
      • Google Chrome
    • CMS
    • Tips & Tricks
  • Website
    • ecommerce
    • Google
    • Social Networking
    • General Websites
  • Mobile
  • Email
    • Gmail
  • Wiki

How to install lamp (Linux, Apache, MySQL and Php) in Ubuntu 14.04

By Neha T Leave a Comment

Do you want to install lamp on your Linux system?. Great, but first you must need to know something about Lamp in the context of Operating system. Basically, a lamp is an abbreviation for Linux, Apache, MySQL and PHP. In this article, we are discussing the step by step installation of Lamp.

  • Linux – Linux is a widely used open source operating system.
  • Apache – Apache is an open source web server mostly used in Linux-based operating systems
  • MySQL – It is one of the most popular relational database management system.
  • PhpMyadmin – It is an open source web development language.

Just have a glance at this article to find out how to install Lamp (Linux, Apache, MySQL, and PHP) in Ubuntu 14.04

Step to install lamp in Ubuntu 14.04:

Step 1: First open your terminal and type “sudo apt-get install apache2”, this command will install Apache server in your system. Type your root password when prompted.

how-to-install-lamp-linux-apache-mysql-and-php-in-ubuntu-14-04

Step 2: Just press “y”, when prompt “Do you want to continue? [Y/n]”.

how-to-install-lamp-linux-apache-mysql-and-php-in-ubuntu-14-04

Step 3: Now, go to your web browser in order to configure or test your Apache server and for that just type: “http://localhost”.

how-to-install-lamp-linux-apache-mysql-and-php-in-ubuntu-14-04

Step 4: Now type “sudo apt-get install mysql-server” to install MySQL server.

how-to-install-lamp-linux-apache-mysql-and-php-in-ubuntu-14-04

Step 5: You can also use another method to install Mysql server for that type: “sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql” and then hit enter.

how-to-install-lamp-linux-apache-mysql-and-php-in-ubuntu-14-04

Step 6: Now, type: “sudo mysql_install_db” to install MySQL system table. (Note: Once your server gets installed then you can use “sudo service mysql status” command in order to test MySQL).

how-to-install-lamp-linux-apache-mysql-and-php-in-ubuntu-14-04

Step 7: In order to install php you need to type: “sudo apt-get install php5 libapache2-mod-php5” and then press “Y” when prompted. After that, you can use “sudo apt-get install phpmyadmin” to install phpmyadmin to your Ubuntu System.

how-to-install-lamp-linux-apache-mysql-and-php-in-ubuntu-14-04

Step 8: You have to open apache2.conf file in order to add phpmyadmin to Apache configuration file, for that type: “sudo nano /etc/apache2/apache2.conf”.

how-to-install-lamp-linux-apache-mysql-and-php-in-ubuntu-14-04

Step 9: Traverse at the bottom of apache2.conf file and then type ” # Include /etc/phpmyadmin/apache.conf” and then press Ctrl+x to save and exit.

how-to-install-lamp-linux-apache-mysql-and-php-in-ubuntu-14-04

 

Step 10: Press “Y”, when prompt “Save modified buffer” and then press enter (recommended).

how-to-install-lamp-linux-apache-mysql-and-php-in-ubuntu-14-04

Step 11: Finally, restart your apache server to view your changes.

how-to-install-lamp-linux-apache-mysql-and-php-in-ubuntu-14-04

(Note: You can go to localhost.phpmyadmin/ in order to view phpmyadmin page)

That’s all friends. Keep reading.

You Might Also Like:

How to install PHP and Apache Server in Ubuntu 14.04 how-to-install-mysql-in-ubuntu-using-terminalHow to Install MySQL in Ubuntu using Terminal how-to-install-and-configure-apache-web-servers-in-ubuntuHow to Install and Configure Apache Web Server in Ubuntu how-to-install-mysql-workbench-in-ubuntuHow to Install MySQL Workbench on Ubuntu How to install and configure uTorrent server in Ubuntu 14.04 How to install and configure built In firewall in Ubuntu 14.04 how-to-install-and-configure-ssh-in-ubuntuHow to Install and Configure SSH (Secure SHell) in Ubuntu How to check and install java in Ubuntu 14.04

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Most Viewed

  • How to Install and Use TELNET in Ubuntu
  • How to install Hindi fonts in MS Word
  • How to Change a File Extension in Windows 10?
  • How to create a flipkart account in 3 simple steps
  • How to Change Monitor Refresh Rate in Windows 10?
  • How to install IIS on Windows 10
  • How to Insert Clickable Checkbox in MS Word 2016?
  • How to Set Auto Reply in Outlook 2016?
  • How to Login as Administrator in Windows 10?
  • How to Check RAM Size and System Type in Windows 10?

Recent Additions

  • How to Add Hyperlink to Another Sheet in Excel?
  • How to Add and Remove Watermark in Excel
  • How to use Relative and Absolute Cell Reference in Excel?
  • How to Enable and Disable Scroll Lock in Excel?
  • How to Use INDEX and MATCH Functions in Excel?
  • How to Make Bar Graph in Excel?
  • How to Count Duplicate Values in Excel?
  • How to Wrap Text in Excel?
  • How to Round off Numbers in Excel?
  • How to Create a Bell Curve in Excel?

Related Searches

  • How to Delete Blank Rows in Excel 2016?
  • How to change the default language in Microsoft Word
  • How to Mute WhatsApp Notifications?
  • How to Change Default Browser in Windows 10?
  • How to enable picture in gmail chat window

Copyright © 2023 · QueHow · Contact Us