LAMP is an acronym taken from the initial letters of a set of free software programs commonly used together to run dynamic Web sites or servers.
The original expansion is as follows:
•Linux, referring to the operating system, Linux is a Unix-like computer operating system.;
•Apache, Apache is HTTP Server is a free software/open source web server, the most popular in use. ;
•MySQL, the database management system (or database server);
•PHP, Python, and Perl, the programming languages.
Before proceeding to install, update the necessary packages with debian with this command.
# apt-get install update
1. Installing Apache + PHP
# apt-get install apache2 php5 libapache2-mod-php5
2. Installing MySQL Database Server
# apt-get install mysql-server mysql-client php5-mysql
By default mysql creates user as root and runs with no passport. You might need to change the root password run:
#mysqladmin -u root password NEWPASSWORD
3. PhpMyAdmin Installation
#apt-get install phpmyadmin
The phpmyadmin configuration file is located at: /etc/phpmyadmin folder.
To set up under Apache all you need to do is include the following line in /etc/apache2/apache2.conf file:
Include /etc/phpmyadmin/apache.conf
4. Now restart and test Apache :
# /etc/init.d/apache2 restart
To access phpmyadmin page point your browser to: http://domain/phpmyadmin.
Tags
Links
Post new comment