Download as odt, pdf, or txt
Download as odt, pdf, or txt
You are on page 1of 2

Install lamp with 1 command in Ubuntu 12.10, 13.

04 Raring Ringtail & Linux int13


Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an pen s u!ce "e# de$e% p&ent p%at' !& that uses Linux as pe!atin( syste&, Apache as the "e# se!$e!, MySQL as the !e%ati na% data#ase &ana(e&ent syste& and PHP as the #)ect* !iented sc!iptin( %an(ua(e+ "e did sh , y u in u! p!e$i us p st h , t insta%% LAMP in U#untu 10+0- ,ith ne c &&and usin( tas.se% c &&and+ /t is a s 't,a!e insta%%ati n app%icati n that is an inte(!a% pa!t ' the 0e#ian insta%%e! and , !.s unde! U#untu Linux t + /t (! ups s &e pac.a(es #y tas.s and ''e!s the use! an easy ,ay t insta%% the pac.a(es ' ! that tas.+ /t p! $ides the sa&e 'uncti na%ity as usin( c n$enti na% &eta* pac.a(es+ in Ma$e!ic. this c &&and d sn1t c &e #y de'au%t, s ,e need t insta%% it 'i!st #e' !e t pe!' !& the LAMP insta%%ati n+ 2his tut !ia% ,as has #een tested n U#untu 10+0-, 10+10, 11+0-, 11+10, 12+0- L2S P!ecise Pan( %in+ A%s tested in LinuxMint13 and , !.s 'ine+ 4pen te!&ina% and 2ype the c &&and :insta%% it 'i!st ,ith sudo apt-get install tasksel 5 , t insta%% LAMP, type the tas.e% c &&and in te!&ina% : sudo tasksel And se%ect LAMP Se!$e!: 5 , chec. i' php is , !.in( : $sudo vi /var/www/info.php and add <?php phpinfo(); ?> sa$e and exit

!esta!t apache2 , #sudo /etc/init.d/apache restart 5 , pen #! ,se! and type : http://ip/in' +php ! http://% ca%h st/in' +php Php is insta%%ed+ 2 'u%% &ana(e y u! %a&p Se!$e! data#ase, insta%% php&yad&in sud apt*(et insta%% php&yad&in

2 % (in t php&yad&in, pen #! ,se! and type : http://ip/php&yad&in ! http://% ca%h st/php&yad&in

You might also like