LAMP stands for
- Linux
- Apache
- MySQL
- PHP
so it is a combination of above Softwares. we will start installing one by one.
- Apache
Open Terminal and type
sudo apt-get install apache2
To check whether it is installed or not. Go to browser and type localhost in the address bar. if you get a window of SUCCESS of installation of Apache then it is installed completely.
- MySQL
Open Terminal and type
sudo apt-get install mysql-server
During installation, it will ask you for the password.
REMEMBER THAT PASSWORD.
- PHP
Open terminal and type
sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql
To check whether PHP is installed or not
Open terminal and type
php -r 'echo "nnYour PHP installation is working fine.nnn";'
if your PHPMyAdmin is not working then click here.
or
you can install LAMP using one command
sudo apt-get install lamp-server^ phpmyadmin
Comments
Post a Comment