Automatic LAMP (Linux, A pache, MySQL and PHP) In about 15 minutes, the time it takes to insta !buntu "d#y Se$%e$ "dition, you can ha%e a LAMP se$%e$ up and $eady to #o& 'his eatu$e, excusi%e to !buntu Se$%e$ "dition, is a%aiabe at the time o instaation&
'he LAMP option sa%es the t$oube o instain# and inte#$atin# each o the ou$ sepa$ate LAMP components, a p$ocess hich can take hou$s and $e*ui$es someone ho is skied in the instaation and coni#u$ation o the indi%idua applications& +ou #et inc$eased secu$ity, $educed time to insta, and $educed $isk o misconi#u$ation, a o hich $esuts in a oe$ cost o one$ship& !buntu LAMP se$%e$ Insta the ooin# e$sions e$sions !buntu "d#y "t -&1. Apache /&.&55 Mysql 5&.&/0a PHP 5&1&i$st you need to donoad se$%e$ %e$sion o !buntu %e$sion $om $om he$e he$e ate$ that you c$eate a 23 and sta$t bootin# ith the 23 4nce it sta$ts bootin# you shoud see the ooin# sc$een in this you need to seect second option Insta to the Ha$d disk 4ption6 and p$ess ente$
2hoose you an#ua#e and p$ess ente$ you can see e ha%e seected en#ish in the ooin# sc$een
2hoose you$ ocation and p$ess ente$ you can see e ha%e ha%e seected !nited 7in#dom in the ooin# sc$een
I you ant to t$y to ha%e you$ keyboa$d ayout detected by p$essin# a se$ies o keys you need to seect yes option and i you don8t ant that and you ant to choose $om a ist cick no in this exampe e ha%e seected no and p$ess ente$
Seect 4$i#in o keyboa$d and p$ess ente$
Seect keyboa$d ayout and p$ess ente$
3etectin# ha$da$e to ind 239:4M
in p$o#$ess
Drivers
Scannin# 239:4M in P$o#$ess
Loadin# additiona components p$o#$ess ba$
2oni#u$es the neto$k ith 3H2P i the$e is a 3H2P se$%e$ in the neto$k
"nte$ the Hostname o the system so in this exampe i ente$ he$e as ubuntuamp
3etectin# 3isks and Ha$da$e in p$o#$ess
Sta$tin#up the pa$titione$ in p$o#$ess
you ha%e to pa$tition you$ ha$d disk in this i ha%e seected manuay edit the pa$tition tabe and p$ess ente$
It i sho you the ha$d disk space and p$ess ente$ he$e i am usin# %ma$e ith 1.&;<= o space
2$eate a >e pa$tition tabe on the de%ice seect yes and p$ess ente$
>o you can see the $eespace and p$ess ente$
Ho to use this $eespace seect c$eate a ne pa$tition and p$ess ente$
"nte$ the ne patition si?e and p$ess continue i ha%e ente$ed 1..mb in this exampe
Seect the type o the pa$tition and p$ess ente$ in this exampe i ha%e seected p$ima$y
Location o$ the ne pa$tition as be#inin# and p$ess ente$
>o you need to seect the mount point point ith the ooin# sc$een and p$ess ente$ to chan#e mount point
>o you can see the a%aiabe mount points and he$e he$e i ha%e seected @boot mount point and p$ess ente$
>o you shoud see the ooin# ooin# sc$een and he$e you need to seect 3one Settin# !p the Pa$tition6 option and p$ess ente$ 'his i c$eate the @boot mount point ith 1..mb o space and you can c$eate the @ mount point in the same ay ith the existin# space&
you can see this in the ooin# sc$een he$e you need to seect inish pa$titionin# and $ite chan#es to disk6 option and p$ess ente$
$ite the chan#es to disk option he$e you need to seect yes and p$ess ente$
2$eatin# extB iesystem in p$o#$ess
2oni#u$in# the cock option he$e i you ant to ea%e !'2 Seect yes othe$ise no and p$ess ente$
+ou need ente$ the u name o the use$ you ant to c$eate o$ you$ se$%e$ in this exampe i ha%e c$eated administ$ato$ use$ seect continue and p$ess ente$
use$name o$ you$ account in this i ha%e ente$ed test seect continue and p$ess ente$
"nte$ed the passo$d o$ test use$ seect continue and p$ess ente$
2oni$m the passo$d o$ test use$ seect continue and p$ess ente$
Instain# the base system in p$o#$ess
2oni#u$in# packa#e mi$$o$ this i be $eated to you$ count$y option
>o it i sta$t Instain# software and he$e you need to seect the se$%e$ options i you ant DNS o$ LAMP i ha%e seected as LAMP o$ ou$ LAMP se$%e$ instaation
Sota$e Instaation in P$o#$ess
Instain# <:!= =oot oade$ in p$o#$ess
Instaation compete messa#e he$e you need to $emo%e you$ 23 seect continue and p$ess ente$ it i $eboot you$ se$%e$
Ate$ $ebootin# you can see the ooin# sc$een p$ompt o$ use$name
'his i compete the !buntu LAMP Se$%e$ Instaation and you$ se$%e$ is $eady o$ instain# appications hich supports apache,mys* and php& Enable root Account in Ubuntu server (Not Recommended for security Reasons this is just Optional
Ate$ the $eboot you can o#in ith you$ p$e%iousy c$eated use$name (test)& >o e i enabe the $oot account usin# the ooin# command sudo passd $oot and #i%e $oot a passo$d& >o ona$ds e become $oot by $unnin# $unnin# the ooin# command su !onfi"urin" #tatic ip address in Ubuntu server
!buntu instae$ has coni#u$ed ou$ system to #et its neto$k settin#s %ia 3H2P, >o e i chan#e that to a static IP add$ess o$ this you need to edit "dit @etc@neto$k@inte$aces and ente$ you$ ip add$ess detais (in this exampe setup I i use the IP add$ess 1;/&1C&.&1.)D sudo %i @etc@neto$k@inte$aces and ente$ the ooin# sa%e the ie and exit E 'he p$ima$y neto$k inte$ace
auto iace eth. eth. inet static
add$ess 1;/&1C&.&1. netmask /55&/55&/55&. neto$k 1;/&1C&.&. b$oadcast 1;/&1C&.&/55 #ateay 1;/&1C&.&1 >o you need to $esta$t you$ neto$k se$%ices usin# the ooin# ooin# command sudo @etc@init&d@neto$kin# $esta$t +ou need to setup manuay 3>S se$%e$s in $eso%& +ou $es o%&con con ie hen you a$e a $e not usin# 3H2P& sudo %i @etc@$eso%&con +ou +o u need to add ook somethin# ike this sea$ch domain&com namese$%e$ xxx&xxx&xxx&xxx xxx&xxx&xxx&xxx $nstall ##% #erver
I you ant to access you$ se$%e$ $emotey th$ou#h SSH you need to insta SSH se$%e$ o$ this you need to $un the ooin# command sudo apt9#et insta ssh openssh9se$%e$ +ou i be p$ompted to inse$t the instaation +ou instaa tion 23 a#ain and this i compete SSH se$%e$ in you$ ed#y amp se$%e$& 'his is $eay simpe and easy se$%e$ instaation o$ ne use$s and ho ants a *uick se$%e$& 4ne sma 4bse$%ation i ha%e noticed in ed#y LAMP instaation and dappe$ LAMP instaation as choosin# LAMP se$%e$ option is a%aiabe in dappe$ at the time o bootin# you$ se$%e$ 23 and in ed#y ed#y you need to seect LAMP se$%e$ option at the time o sota$e instaation& 'his mi#ht be useu o$ use$s ho mi#ht think the$e is no LAMP se$%e$ option at the time o sta$t bootin# thei$ "d#y se$%e$ 23& Ate$ competin# you$ "d#y LAMP Se$%e$ Instaation some o use$s may not be como$tabe ith command p$ompt o$ those use$s they can insta ebmin o$ thei$ he$e o$ o$ se$%e$ eb inte$ace inte$ac e to coni#u$e apache,mys* se$%e$s&+ou se$%e$s&+ou can check he$e ebmin tuto$ias =eo$e pu$chasin# os an#ees $ea estate, estate, make su$e that you $emembe$ checkin# account as e as the conditions o home insu$ance account insu$ance since you mi#ht #et a bette$ dea at the atanta homes o$ sae sae&&