Monday, January 28, 2013

Install simple LAMP to Raspberry PI(Raspbian)

Simple tutorial on creating LAMP server with Raspberry Pi

What is LAMP? it stands for Linux operating system, Apache Web server, MYSQL database server, and also PHP or Pearl Programming language.

Step by step:
1. To install Apache Web Server type the following command to the terminal:
sudo apt-get install apache2

2. To install mysql Server, type this:
sudo apt-get install mysql-server

3. To install PHP:
sudo apt-get install php5
sudo apt-get install php5-mysql

4. Done, create a simple PHP file with:

phpinfo();
?>

5. Save the PHP script to:
/var/www/index.php

6. Done, browse to /index.php from browser will do.

Reference from: Penguin Tutor

0 comments: