Automatic LAMP

Published on March 2017 | Categories: Documents | Downloads: 29 | Comments: 0 | Views: 254
of 16
Download PDF   Embed   Report

Comments

Content

 

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, excusi%e to !buntu Se$%e$ "dition, is a%aiabe at the time o instaation&

'he LAMP option sa%es the t$oube o instain# 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 skied in the instaation and coni#u$ation o the indi%idua applications& +ou #et inc$eased secu$ity, $educed time to insta, and $educed $isk o misconi#u$ation, a o  hich $esuts in a oe$ cost o one$ship& !buntu LAMP se$%e$ Insta the ooin# e$sions e$sions !buntu "d#y "t -&1. Apache /&.&55 Mysql 5&.&/0a PHP 5&1&i$st you need to donoad se$%e$ %e$sion o !buntu %e$sion $om  $om he$e  he$e ate$ that you c$eate a 23 and sta$t bootin# ith the 23 4nce it sta$ts bootin# you shoud see the ooin# sc$een in this you need to seect 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 seected en#ish in the ooin# sc$een

 

2hoose you$ ocation and p$ess ente$ you can see e ha%e ha%e seected !nited 7in#dom in the ooin# 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 seect yes option and i you don8t ant that and you ant to choose $om a ist cick no in this exampe e ha%e seected no and p$ess ente$ 

 

Seect 4$i#in o keyboa$d and p$ess ente$ 

Seect keyboa$d ayout and p$ess ente$ 

3etectin# ha$da$e to ind 239:4M

 in p$o#$ess

Drivers

 

Scannin# 239:4M in P$o#$ess

Loadin# additiona components p$o#$ess ba$ 

2oni#u$es the neto$k ith 3H2P i the$e is a 3H2P se$%e$ in the neto$k 

"nte$ the Hostname o the system so in this exampe i ente$ he$e as ubuntuamp

 

3etectin# 3isks and Ha$da$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 seected manuay edit the pa$tition tabe and p$ess ente$ 

It i sho you the ha$d disk space and p$ess ente$ he$e i am usin# %ma$e ith 1.&;<= o space

 

2$eate a >e pa$tition tabe on the de%ice seect yes and p$ess ente$ 

 >o you can see the $eespace and p$ess ente$ 

 

Ho to use this $eespace seect 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 exampe

Seect the type o the pa$tition and p$ess ente$ in this exampe i ha%e seected p$ima$y

 

Location o$ the ne pa$tition as be#inin# and p$ess ente$ 

 >o you need to seect the mount point point ith the ooin# sc$een and p$ess ente$ to chan#e mount point

 >o you can see the a%aiabe mount points and he$e he$e i ha%e seected @boot mount  point and p$ess ente$ 

 

 >o you shoud see the ooin# ooin# sc$een and he$e you need to seect 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 ooin# sc$een he$e you need to seect 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 seect yes and p$ess ente$ 

2$eatin# extB iesystem in p$o#$ess

 

2oni#u$in# the cock option he$e i you ant to ea%e !'2 Seect 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 exampe i ha%e c$eated administ$ato$ use$ seect continue and p$ess ente$ 

use$name o$ you$ account in this i ha%e ente$ed test seect continue and p$ess ente$ 

"nte$ed the passo$d o$ test use$ seect continue and p$ess ente$ 

 

2oni$m the passo$d o$ test use$ seect continue and p$ess ente$ 

Instain# the base system in p$o#$ess

2oni#u$in# packa#e mi$$o$ this i be $eated to you$ count$y option

 >o it i sta$t Instain# software  and he$e you need to seect the se$%e$ options i you ant DNS o$ LAMP i ha%e seected as LAMP o$ ou$ LAMP se$%e$ instaation

 

Sota$e Instaation in P$o#$ess

Instain# <:!= =oot oade$ in p$o#$ess

Instaation compete messa#e he$e you need to $emo%e you$ 23 seect continue and  p$ess ente$ it i $eboot you$ se$%e$ 

Ate$ $ebootin# you can see the ooin# sc$een p$ompt o$ use$name

 

'his i compete the !buntu LAMP Se$%e$ Instaation and you$ se$%e$ is $eady o$ instain# appications hich supports apache,mys* and php& Enable root Account in Ubuntu server (Not Recommended for security Reasons this is just Optional

Ate$ the $eboot you can o#in ith you$ p$e%iousy c$eated use$name (test)& >o e i enabe the $oot account usin# the ooin# command sudo passd $oot and #i%e $oot a passo$d&  >o ona$ds e become $oot by $unnin# $unnin# the ooin# command su !onfi"urin" #tatic ip address in Ubuntu server

!buntu instae$ has coni#u$ed ou$ system to #et its neto$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@neto$k@inte$aces and ente$ you$ ip add$ess detais (in this exampe setup I i use the IP add$ess 1;/&1C&.&1.)D sudo %i @etc@neto$k@inte$aces and ente$ the ooin# sa%e the ie and exit E 'he p$ima$y neto$k inte$ace

auto iace eth. eth. inet static

 

add$ess 1;/&1C&.&1. netmask /55&/55&/55&. neto$k 1;/&1C&.&.  b$oadcast 1;/&1C&.&/55 #ateay 1;/&1C&.&1  >o you need to $esta$t you$ neto$k se$%ices usin# the ooin# ooin# command sudo @etc@init&d@neto$kin# $esta$t +ou need to setup manuay 3>S se$%e$s in $eso%& +ou $es o%&con con ie 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$ $emotey th$ou#h SSH you need to insta SSH se$%e$ o$ this you need to $un the ooin# command sudo apt9#et insta ssh openssh9se$%e$  +ou i be p$ompted to inse$t the instaation +ou instaa tion 23 a#ain and this i compete SSH se$%e$ in you$ ed#y amp se$%e$& 'his is $eay simpe and easy se$%e$ instaation o$ ne use$s and ho ants a *uick se$%e$& 4ne sma 4bse$%ation i ha%e noticed in ed#y LAMP instaation and dappe$ LAMP instaation as choosin# LAMP se$%e$ option is a%aiabe in dappe$ at the time o  bootin# you$ se$%e$ 23 and in ed#y ed#y you need to seect LAMP se$%e$ option at the time o sota$e instaation& 'his mi#ht be useu 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& Ate$ competin# you$ "d#y LAMP Se$%e$ Instaation some o use$s may not be como$tabe 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 coni#u$e apache,mys* se$%e$s&+ou se$%e$s&+ou can check he$e ebmin tuto$ias =eo$e pu$chasin# os an#ees $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 atanta homes o$ sae sae&&

 

• • • • • • •

'ou$  Fubuntu G&.0 (Ha$dy He$on) Sc$eenshots 'ou$  'ou$  7ubuntu G&.0 (Ha$dy He$on) Sc$eenshots 'ou$  !buntu G&.0 (Ha$dy He$on) Sc$eenshots 'ou$  'ou$  Setup "asy Hostin# 2ont$o Pane (ehcp) o$ 3ebian@!buntu 73" 0&. ('o ('oday day :eeased) Sc$eenshots 'ou$  'ou$  Ho to insta Posta / ud#e pack on 3ebian@!buntu& !buntu ;&1. (<utsy <ibbon) Sc$eenshots 'ou$ 

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close