Sunday, December 26, 2010

Installing Apache, MySQL, and PHP on Ubuntu

To store the temperature and humidity data in a database and to retrieve those data through a web browser, we will need the MySQL database and the Apache web server software. The most straight forward method to do this in Ubuntu is to install the "LAMP" software stack. LAMP stands for "Linux - Apache - MySQL - PHP".
This is a pretty commonly used combination

The individual steps are to open a command prompt (shell) and to enter the following commands:


  • sudo apt-get install tasksel
Then run it:
  • sudo tasksel
and from the list, select LAMP-server and install it.

Further resources:

https://help.ubuntu.com/community/ApacheMySQLPHP

https://help.ubuntu.com/10.10/serverguide/C/httpd.html


Testing and learning MySQL:

http://www.yolinux.com/TUTORIALS/LinuxTutorialMySQL.html

No comments:

Post a Comment