Wednesday, March 18, 2015

LAMP - stack server for Ubuntu

Yo! Whats up.. In this guide I will show you how to install a LAMP. Maybe novice user does not know what is LAMP. Here some explaination, L-A-M-P stands for Linux, Apache, MySQL and PHP.

Basically it about a bundle of software to build a web and database server. If you fimiliar with windows, it just like XAMPP, WAMP and the others. XAMPP also has package for linux, if you want use it. The LAMP that i want introduce is using Tasksel command or directly APT command which the most-easier installation for LAMP server.

How to Install ?
============
1) Using Tasksel
Open you terminal, update the repo and install tasksel first :
$ sudo apt-get update
$ sudo apt-get install tasksel

Then using the installed tasksel, type the command below :
$ sudo tasksel install lamp-server

Please note the BOLD syntax, don't get confused. Now, you are ready, You default local server directory is located at " /var/www/ "

2) Using APT
This is most-most easier to install LAMP-server on your computer :
$ sudo apt-get install lamp-server^ phpmyadmin
Please note the “^” caret symbol end of the line, its won’t work if “^” missing. You default local server directory is located at " /var/www/html "

Now we are ready to visit the "http://localhost" aka "http://127.0.0.1" from our favorite browser! BTW, if you still love XAMPP so much, you can follow this XAMPP INSTALLATION tutorial (Malay language) for linux. Adios!

No comments:

Post a Comment