Apts Rv Install

Embed Size (px)

Citation preview

  • 8/10/2019 Apts Rv Install

    1/12

    Caixa Mgica

    Aptoide ServerInstallation Guide

    Date:Pages:Issue:State:

    Access:Reference:

    24/11/2009

    13

    Installation Guide

    Working Document

    PublicInstallation Guide

    Caixa Mgica Software

  • 8/10/2019 Apts Rv Install

    2/12

    CM-MJ Installation GuideRef:

    Verso:

    Data:

    Pgina:

    utor:

    !tSr"Install

    ##$%&$%'

    i

    ((((

    Approved Version: RRName Function Signature Date

    Authors and Contributors:Name Contact Description Date

    Ro)erto Jacinto Ro)erto(Jacinto*caixa+agica(!t De"elo!er ##-,%-%

    Pedro .ragoso Pedro(.ragoso*caixa+agica(!t De"elo!er ##-,%-%

    Paulo /re0entos Paulo(/re0entos*caixa+agica(!t /ec1nical director ##-,%-%

    Access List:

    Interna Access

    !"terna Access

    Revision #istor$:

    Version Date Description Author

  • 8/10/2019 Apts Rv Install

    3/12

    CM-MJ Installation GuideRef:

    Verso:

    Data:

    Pgina:

    utor:

    !tSr"Install

    ##$%&$%'

    ii

    ((((

    2ndice

    3D ,4Introduction((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((iii3D #451at do 6ou need(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((i"

    3D ,47inux 8 !ac1e 8 P9P(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((i"3D #4ni0!((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((i"3D ;4Generate(!1 and Google$ndroid aa!t((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((i"

    3D ;4Configuration(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("3D ,47inux 8 !ac1e 8 P9P(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("3D #4n0i!((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("3D ;4Generate(!1 ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("3D &4Google$ndroid aa!t(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("i

    3D &4De!lo6 it 4Didactic ?xa+!le(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((xi

  • 8/10/2019 Apts Rv Install

    4/12

    CM-MJ Installation GuideRef:

    Verso:

    Data:

    Pgina:

    utor:

    !tSr"Install

    ##$%&$%'

    iii

    ((((

    %AD &'Introduction

    In t1is file@ we will gi"e a full exa+!le on 1ow to create an A!toide re!ositor6B@)ased on our scri!t generate(!1 a"aila)le in our we) site:1tt!:$$a!toide(co+(

    /1is docu+ent is a full o"er"iew of t1e installation@ configuration of all t1e toolsneeded and t1e generation of t1e info("m file(

    are in +ind@ t1at 6ou +a6 create 6our re!ositor6 in a nu+)er of ot1er wa6s@!ro"ided t1at 6ou follow t1e rules !resented in t1e AEM7 .ile DefinitionB - alsoa"aila)le in our we) site(

    http://aptoide.com/http://aptoide.com/http://aptoide.com/http://aptoide.com/
  • 8/10/2019 Apts Rv Install

    5/12

    CM-MJ Installation GuideRef:

    Verso:

    Data:

    Pgina:

    utor:

    !tSr"Install

    ##$%&$%'

    i"

    ((((

    %AD )'*hat do $ou need

    In order to use our generate(ph scri!t@ 6ou will need a ser"er t1at can )e accessi)let1roug1 t1e we) running so+e 7inux distri)ution(

    lt1oug1 6ou +a6 use an6 ot1er F!erating S6ste+ FSH to create an !toidere!ositor6@ in t1is a!!roac1@ our scri!t file uses so+e 7inux s!ecific co++ands(

    [AD 1]Linux + Apache + PHP

    ou will also need !ac1e and t1e P9P s1ell client( Most ser"ers 1a"e so+e sort of7MP install@ and t1at is ust a)out w1at 6ou need( Ko s!ecific configurations in t1e!ac1e are needed(

    /1e +aor difference is P9P s1ell client( /1e generate(phfile@ is a scri!t file codedin !1!( .or 6ou to run it@ 6ou need to execute it on a s1ell( More infor+ation on it can)e found on 1tt!:$$!1!(net$+anual$en$features(co++andline(!1! (

    [AD 2]Unip

    /o get infor+ation out of t1e a!!lications L(a!=s@ 6ou will also need =un0i!= installedon 6our s6ste+( It s1ould )e installed in a wa6 t1at it can )e called in t1e director6t1at t1e scri!t will )e run(

    [AD !]Generate"ph and Goo#le$Android aapt

    If 6ou were luc6@ +ost of t1e reNuire+ents taled a)o"e@ are alread6 !resent in6our s6ste+( /o co+!lete all t1e tools needed@ 6ou +us get t1e generate(ph scri!tfro+ our site go 1ere: 1tt!:$$a!toide(co+$sr"Oinstall(1t+l and t1e aapttool(

    /1e aapttool is a !art of t1e Google$ndroid SD( It is used for +an6 tass@ )ut inour case@ we will use it to get infor+ations fro+ t1e a!!lications( ou +a6 get t1eGoogle$ndroid SD in t1eir we) site 1tt!:$$de"elo!er(android(co+$sd$index(1t+l or@ for con"enience@ 6ou can get ust t1e aapt tool 1ere:1tt!:$$a!toide(co+$sr"Oinstall(1t+l(

    http://php.net/manual/en/features.commandline.phphttp://aaa.com/http://aaa.com/http://android.com/http://aaaa.com/http://aaaa.com/http://php.net/manual/en/features.commandline.phphttp://aaa.com/http://aaaa.com/http://android.com/
  • 8/10/2019 Apts Rv Install

    6/12

    CM-MJ Installation GuideRef:

    Verso:

    Data:

    Pgina:

    utor:

    !tSr"Install

    ##$%&$%'

    "

    ((((

    %AD +'Configuration

    [AD 1]Linux + Apache + PHP

    /1ere are no s!ecific configuration reNuire+ents for 7inux@ !ac1e and P9P client(/1e standard configuration files s1ould )e enoug1(

    ou ust need to create a director6 for 6our re!ositor6( s an exa+!le@ sa6 6ou 1a"ea we) ser"er@ accessi)le t1roug1 1tt!:$$+6re!o(co+(/1at will !ut 6ou in t1e ser"erdirector6 $"ar$www$1tt!( Just !ut t1e a!=s for+ t1e a!!lications 6ou want todistri)ute in t1ere(

    [AD 2]Unip

    /1e onl6 extra configuration 6ou need for t1e un0i! tool is t1at it is accessi)le to runfro+ t1e !lace were 6ou will !ut 6our generate(phfile( Most of t1e ti+e it will )econfigured )6 default( If not@ c1ange 6our ,PA-# to it(

    [AD !]Generate"ph

    /1is is t1e tool t1at will in fact AcreateB 6our re!ositor6( It is ad"ised t1at it is in adifferent director6 fro+ t1e re!ositor6(

    F!en t1e generate(phfile and c1ange t1e ,DIR "aria)le to w1ere 6our re!ositor6will )e( /o +atc1 t1e exa+!le a)o"e@ 6our re!ositor6 will )e in $"ar$www$1t+l@ so its1ould loo so+et1ing lie t1is:

    Don=t forget to add t1e last A$B on t1e !at1(

    http://myrepo.com/http://myrepo.com/http://myrepo.com/
  • 8/10/2019 Apts Rv Install

    7/12

    CM-MJ Installation GuideRef:

    Verso:

    Data:

    Pgina:

    utor:

    !tSr"Install

    ##$%&$%'

    "i

    ((((

    ou s1ould also +ae sure t1at t1e !at1 to t1e !1! s1ell client is correct