Rabu, 31 Oktober 2012

easy installing lamp on ubuntu 12.04 with one command

LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform that uses Linux as operating system, Apache as the Web server, MySQLas the relational database management system and PHP as the object-oriented scripting language.

My os : Backbox 3.0 base ubuntu 12.04

Open terminal and Type the command :
iyan@IBTeam:~$ sudo apt-get install tasktel

to install LAMP, type the taskel command in terminal :
iyan@IBTeam:~$ sudo tasktel



During the installation you will be asked to insert the mysql root password



Now check if php is working :
iyan@IBTeam:~$ sudo nano /var/www/info.php

and add

<?php
phpinfo();
?>

save and exit , then restart apache2,

iyan@IBTeam:~$ sudo /etc/init.d/apache2 restart
now open browser and type :
http://localhost/info.php



Php is installed.
To full manage your lamp Server database, install phpmyadmin
iyan@IBTeam:~$ sudo apt-get install phpmyadmin

To login to phpmyadmin, open browser and type :

http://localhost/phpmyadmin



source

Bagikan

Jangan lewatkan

easy installing lamp on ubuntu 12.04 with one command
4/ 5
Oleh

Subscribe via email

Suka dengan artikel di atas? Tambahkan email Anda untuk berlangganan.