Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Course 1: Create and Prepare Debian8 VM Template

The following Course will focus mainly on a private Virtual Environment such VirtualBox or VMware Station. However, if you are willing to setup straight on DigitalOcean or Vultr, then you can skip Course1 and jump to Course2. But, I highly recommend to go through Course1 to build In-house local Web Hosting Server for testing or developing purpose. After all, the concept is same on either Private or Public Virtual environment.

  • Be the first to comment

  • Be the first to like this

Course 1: Create and Prepare Debian8 VM Template

  1. 1. Make sure Install selected and press Enter Debian GNU/ Linux installer boot menu 0 Graphical install advanced options > e n Help . Install uith speech Synthesis GNU/ Lmux Press ENTER to boot or* THB to edit a menu entrg
  2. 2. 31:54. : vñllbalñba; Ellmlm: I'll: Hllrlllibg; ,I li: Imani 'rill' : li: Ilir: :. nl, 'llil , l|>"li: i:o:9:. I'll: :l: ,l: i: jdi* isiliglmg: lil', m: I, l=I"'= iI. ' icilizllrzizñ *Ir Cll: lm: :. lai* : Qtrnuiil i. ;mi il: . =iIi:4Ir: i:1=* E i'll uit-rs. Jm im; t. liniljuili ein-Jg» ? VTIVIEII ? g -r : ict `Il” 'tzili : h: iii" 'mlm : mallu: :: mur: : : i: nwlizfkzlli namiwuzil-: :Lz : ilmlfnil : IIULYFIILHE ' : il ; jur 'nu ; mur : i-irikgui : in : .r: |l : y- ` Killua-n: " i '_ Cililin: : 'F' Y . Ei"lr. -l 'nila alfa: :. : i: i Emi. in: : lnilrzi: E n : a: l i; h Z a E n 12; l l; h V E21_I| :l"= |ll I "zagi; i~: |ll, ._li : :l lilfnlli : :oei ' r' hlilqlal nliliul : ""': il| :i'l~ ~""GIIL sj: : m. i: bil: Fic-Jual li: r'llr: lli II: iII aiili luwu; :milir : di @lil : ni: iE_ r t- U'r: : vj <Tab> moves; <Space> selects; <Enter> activates buttons
  3. 3. [! !] Select gour location The selected location will be used to set gour time zone and also for example to help select the sgstem locale. Normallg this should be the countrg where gou live. This is a shortlist of locations based on the language gou selected. Choose “other” if gour location is not listed. Countrg, territorg or area: Antigua and Barbuda 9U3TPa1l3 Semctyour B°t3Wa“a iocahonand Ca”ada press Enterto Hong Kong conunue India Ireland New Zealand Nigeria Philippines Singapore South Africa United Kin dom United States Zambia Zimbabwe other <Go Back> <Tab> moves; <Space> selects; <Enter> activates buttons
  4. 4. A: i' 'a Elin: :aguh: ll: V: .SQ| V`IIII'SI"IT Elmlinsli* . .I na: :- HUTET" igan Engli-ziw 5. Iirzll. `ir= il~ , :reli. l: 3 : L `II' 'I= Il Halli'. t= il`l: i:i'l : i: FFWE. 'ml :1:il ' : il. :: sr I= Il~ : in_l3=l- 'nim ; glilllnaz : :munir : iIl"'| Il:0=l: : FIIFIILAIFII ”r': ili: 'i`l : nilai-full ilmu' Ill;4lr: . Elu 'a, Hlli Elljlluzl: : rum. tall Elzsltil: lnIljl-: ll III], :i'll lmlrsiz lnlillgêilr: : :lyla-will . .i liI. Ct= il itu. :m: i! . <Tab> moves; <Space> selects; <Enter> activates buttons
  5. 5. ?J Give it few seconds to detect your Network. A Attempting IPv6 autoconfiguration. ..A
  6. 6. la); | haven't faced that problem using VirtualBox, but it happens using VMware Station. Originally whenl created the VM hardware specs, | chose to set the Network connection as Bridge. For some reason, Debian doesn't obtain an IP address during OS setup if you chose Network Bridge. In case you faced a problem obtaining an IP Address as below, go to the VM settings and change the Network from Bridge to NAT, you can change it back to Bridge after the OS has been setup. Press continue and retry again after you have changed the Network connection from Bridge to NAT. a [i i] Configure the network a Network autoconf igurat ion failed Your network is probablg not using the DHCP protocol. Alternativelg, the DHCP server mag be slow or some network hardware is not working properlg. mie
  7. 7. i Memory U Processors E Hard Disk (scsr) "ii CD/ DVD (IDE) bj Network Adapter : g Display To Access this window. go to VMware Station Menu > VM > Settings. Select Network Adapter and change it from Bridge to NAT. You can change it back to Bridge when the setup is Done. 30 GB Using file D: ISO Fi| esdebian-7.3.0~am. .. Bñdged (Automatic) Auto detect Network connection - Z r Bridged: Connected direcdy to the physical network Reph-: ate ph ysuzal vwetuvork connecbon state © NAT: Used to share the host's IP address ~ : > Host-only: A private network shared with the host ~ i > Custom: Speciñc virtual network vMnetD {Bndgedj< ~ : r LAN segment:
  8. 8. CO EIIIIIY tegur-s wii: u: : iiiII"I "win iisw; ;im ini: : rliinum; ui r'; 'l. `."! i I1:| :l~' : if-Ijiiilw: sinimijilin' 'uan-vu 'nim *`_uJi. `I: -1i: IIPFL! : alifir-iuunjl 'i' guru' I1:| :l* : ur-Nasir . slLue ': _ , IIIIT- r': s:1_ciunnC“ ur r, n tuw; .jir- uiaiiiin-'E iir= iI l! . Hilmi? - il: l:l~";1:ir'~v1="e r~: in_| I.l"; =. ll: inzlçlnliii: _n in; :: mi ile: .Zi r 'nm. ;n : lm: Will: :tuu r-liinna; ._| mug-u; IIIIZI" nis-içiiilwi : in r-, llflllll laura! . 'Im ur : i: = .~ iimzmniiiié- in: :. : lIII. ,clrnvviits illsnsiinurw zulu' 'ngiri-m, 'nim "isnrjiinnjl- Petro rietiritirl autotorif LZLJPEIT, ion . - r ~ n - v t"rv v r **y IIGI, `.IIIII"E 'slllllrlllll' lglrsl, 'uit ini : i: : i l1:l: l~' 'lllbz'; ._`ll'illlli . mn 1311H: umiirinwl lltilllln. u; III Illli : iInrWgui-'s : ii: Il: ITIlII]~"E : ni : u: ini: @III Entri! . <Tab> moves; <Space> selects; <Enter> activates buttons
  9. 9. "(- [lil Cizinffizgure the netwcir-k. Please enter the hostname for this sgstem. The hostname is a single word that identifies gour sgstem to the network. If gou don't know what gour hostname should be, consult gour network administrator. If gou are setting up gour own home network, gou can make something up here. HOSTFIEITHE: -- - = | name the hostname based on the Linux <Go Back> Template l am preparing. r r' r' “a i teliti #int-sti “Inves-rt &arri-rm Half-Itik# &anam i l? rs, grurrivniiraa Einstein: re: WDQSFQNZ& `
  10. 10. lil Configure the network The domain name is the part of gour Internet address to the right of gour host name. It is often something that ends in . com, .net, .edu, or . org. If gou are setting up a home network, gou can make something up, but make sure gou use the same domain name on all gour computers. Domain name; | use ccnahub. com even at my lab, however, you can use something like my| ab. |oca| or ' . yourname. |ocal. Use the same domain across l: <Go Back> all your servers and stations. 'gif m: y' . ..yg-Ti smilies; #Tirani-ia IIHWIT-IH-'l @assist-F #Hindia “laut-iris spirituil* liiriritgire <
  11. 11. [! !] Set up users and passwords You need to set a password for 'root', the sgstem administrative account. H malicious or unqualified user with root access can have disastrous results, so gou should take care to choose a root password that is not easg to guess. It should not be a word found in dictionaries, or a word that could be easilg associated with gou. H good password will contain a mixture of letters, numbers and punctuation and should be changed at regular intervals. The root user should not have an emptg password. If gou leave this emptg, the root account will be disabled and the sustem's initial user account will be given the power to become root using the “sudo” command. Note that gou will not be able to see the password as gou tgpe it. Root password: Choose a pass phrase for your root account. Include Letters and Numbers to make it strong. Confirm it on the next screen and continue. <Go Back> ratri& fitness-ce: *ñiiiiarêt* êupéiilvriiszé. Siria'.
  12. 12. f [! !] Set up users and passwords N H user account will be created for gou to use instead of the root account for non-administrative activities. Please enter the real name of this user. This information will be used for instance as default origin for emails sent bg this user as well as ang program which displags or uses the user's real name. Your full name is a reasonable choice. Full “ame m" the Type your full name. Note, the user . tang . name will be picked based on your first name. (G0 BECIK) Ehh&
  13. 13. 13 [! !] Set up users and passwords Select a username for the new account. Your first name is a reasonable choice. The username should start with a lower-case letter, which can be followed bg anu combination of numbers and more lower-case letters. Username for gour a You can keep it as is. or pick a simple user name but no admin <GIJ Back> or administrator' BEIITT. imur?
  14. 14. :i gmn' ummiiiili-wf: III, Tlirslugzim Elillinzi; c, f' f' f' t' f' l' f' t" *Ihli <Tab> moves; : u. "samar 51:; II! ntuh: ini; _GYJI-TOPAIIlIFTVR _lñltk. `1lllll"i i, : fault. <Space> selects; _______ ___ l . . <Ent er> act ivates buttons n' ini i-; wx- nilliilflizrw: ;ini _IIIIIIT : :ini ilmi : inii : liuiLiIi fai; El o nt in ue
  15. 15. !.5 t ~ . . .3ê: .r*t, ,= ? n 11611'- v-v v v -~ ~ : ;nin"-. ,;4ui~~: :n: 'mk -w r! TII: I`[: s:. lf': in“ *liii: ami: j: || Il` i: : ; IL “film guman: ;ini inizlê VI: fii; a' : lgi "Cliililmz izmglruzu' : mi :1:I: IZ" : : illlllll. "_'_i : tim: ilaa: all; lll: oal'*: ilj lm: umi; Win; IvIlII| II, ,`"! umun; gmn; Eu; m : rr: IIlI-, Glu-: ll: 21; : :itu ; ulur lili; :uin-. n- E a t er n : inn ilmln : _]I~ #sir " ii: 2.! : E. : : hilir-f ` $1' Xnllllr: :: la- . . Ilirfrsln: : lnliiilr: &H; :ni: ll. <Tab> moves; <Space> selects; <Enter> activates buttons
  16. 16. r Use Guided with LVM. Enter to continue. .. A' 1,' [! !] Partition disks The installer can guide gou through partitioning a disk (using different standard schemes) or, if gou prefer, gou can do it manuallg. Hith guided partitioning gou will still have a chance later to review and customise the results. If gou choose guided partitioning for an entire disk, gou will next be asked which disk should be used. Partitioning method: Guided - use entire disk - use entire disi and set ui LMH Guided - use entire disk and set up encrgpted LVH Manual <Go Back>
  17. 17. 3.7 , mi i'll: dibali ulil] : i: lai'. iii, ii: WGHHIL Tilu, IIII fcia”1lr': gini! ) inul: i: r:_g u; umu. ini IIFIE. ; : ii: :ilmuan: Nila: : . tiru : i z-ilin' lemari Sir: : : i: : :arr 1533: fjl~ _mw ` 'uin- iu, u,ni lsdal - 32._ GB vnware. Nnware virtual S 'GPII : mili. <Tab> moves; <Space> selects; <Enter> activates buttons
  18. 18. :i: :: tail ': "I|1" grill" ` 'ulljltf' #Italia ? iruw inii/ a* vliliiisicm, , dibibir: v"| `^f*Ir: ;-` : :a H! ,I H: * iii: Kita! ! : :cini ii: ;mlrm *r ”nllmiil Ilahi! Im: n* 3:Hl= ~l"'= -~ it" ziqinniei: Ji: * ? Irxrfai mi: **SFQIIIE : cililullim F? gllll : r: Umair: ? mw *~ 'nunung atiiiuiii: * Hii files. in [ine iiialjtitliiiri irei: iiiti`iti'iet`iiileil for nem | ,I`Z. Ef"'fil Hqgr= |"": II` Illlllll? ani" ` 'nim atqgnimnu: 'hump *nai- *mlh : mil "'5[| |]g gr: i'“"“`IIi| r: 'Jill : K111i: <Tab> moves; <Space> selects; <Enter> activates buttons
  19. 19. '15 I Select Yes and Enterto continue. .. I [! !] Partition disks Before the Logical volume Manager can be configured, the current partitioning scheme has to be written to disk. These changes cannot be undone. Hfter the Logical Volume Manager is configured, no additional changes to the partitioning scheme of disks containing phgsical volumes are allowed during the installation. Please decide if gou are satisfied with the current partitioning scheme before continuing. The partition tables of the following devices are changed: SCSI3 (0,0,0) (sda) Nrite the changes to disks and configure LVM?
  20. 20. 'Iifsta 'za : ini ntn! " 'I: liii ni' gililr' illl""': lll` u: timu' kawin: ) _cr: i-'" ` ml” ” IIII -; Ii | |iIIILP`g : :: I Ing: _lulu : Ip: guci? " “ hlm: lll' : i ajarin: ,I la] 'u, 1,21: " a _mw ` 'uin t-. :]ju. `n: . Hunian" gizi, " ` ililjlug 'çllln' 'ngira : m"i'iir: mllli ; nuria . ji . ,| :r: . tahun: ihumyur lilin? “hari T-lIll'l"'! I! : :i-ji mlniiiif-s: di v: - uni-gmn& . c mu: :u . : : l: inn: - nim 1219 -imisigia- : il: .: , H: F : nail i'll. d: :: nl-jma", , o" : mmg ' ' - H: : . lain: alur iri: -iirmigiur ' - H: : ' : umu mimi; 2115.31 : IHIHIL Laik; IKJ H? `fJilIll: |V': , flilllnrw Vlrijlls. I, . ll'lllril"'g : ::1- . Il ii: l ma); *mur : Elit 1112.12:: . : I li H: E mu JILL' -Ij 'I 'N k Tinta-lt ; tart it ionirijaj and write i: hantejes, to Eli-sl' viii; :nizlê. » R: :KERBFHII. IIlIIIIII <F1> for help; <Tab> moves; <Space> selects; <Enter> activates buttons nm: :niii lllllllll gilln a : "'~': l: html" ` 1ni: r:ir 21: : untu: `l: l; u] 219351. `
  21. 21. .d r! gimi rum lulur. , m: rlilslllgua 'yaumil ii: lllll ini. Tu: Ill" : :in ur ii: :itu: il mslh: PIITWHH* : haluan: iiisiuiim. u. lil: gm” "' 'uit : itu: u* fii: H. lniiinug ilurisi: : : im. :-lirmiauil- *lil *Jl* il: l'u, 't: |I`L` ` v Hm. vlil #JE iluifuiri ` v mimpi, ' Helai: : in n II 1131514,' iii: ?sua hiiinug _IFI"'I “rimba 51": :itu : - ". I~ ii: :'-'II*'iil'= Ii : iii dll *Jl I'l:1.'t= Il'. ` v "Illll : b: : or 4 viii *JE I`l: l , :b: :mmg gr: |r'*” 'nim nl li If kimi* : r: : or-k: it: * : ”m liplllan: <Tab> moves; <Space> selects; <Enter> activates buttons iin: sitaan: : Inltiiarwiizea: lllll 'SMIP
  22. 22. Lu ' h Please wait while the base system getting installed. Installing the base sgstem Extracting peri-base. ..
  23. 23. [! ] Configure the package manager The goal is to find a mirror of the Debian archive that is close to gou on the network -- be aware that nearbg countries, or even gour own, mag not be the best choice. Debian archive mirror countrg: New Zealand Nicaragua Norwag Philippines Poland Portugal Romania Russian Federation Serbia Singapore Slovakia Slovenia South Africa Spain Sweden Switzerland Taiwan Tajikistan Thailand Turkeg Ukraine United Kin-dom Lmltegi I, , ate*- Semctbasedonybur locanon Ernerto connnue <Go Back> <Tab> moves; <Space> selects; <Enter> activates buttons
  24. 24. se& a % [l] Configure the package manager Please select a Debian archive mirror. You should use a mirror in gour countrg or region if gou do not know which mirror has the best Internet connection to gou. Usuallg, ftp. <gour countrg code>. debian. org is a good choice. Debian archive mirror: . .`l' ftp. egr. msu. edu mirrors. kernel. org debian.1cs. mit. edu debian. osuosl. org ftp-ngc. osuosl. org ftp-chi. osuos1.org mirror. cc. columbia. edu mirror. hmc. edu mirror. ancl. hawaii. edu debian. cc. lehigh. edu debian. gtisc. gatech. edu cdn. debian. net ftp. gtlib. gatech. edu ftp-mirror. internap. com ftp. uwsg. indiana. edu debian. uchicago. edu carroll. aset. psu. edu mirrors. xmission. com ftp. kegstealth. org mirror. lug. udel. edu lusuanykeepthe default selection. Enter to continue, .. <Go Back> l u W Lif-g. .? v _. ; _, _ ~. ; , -.~. . . . VK
  25. 25. l* i EHIIIYVSQIV? ijll: _ml : lag: IIYFIIVHQH" r; ;lm . .gaul s. m4; : a : *'“'| " _urung : gm 5121113262 : il: mi : in: ulur lil. , Hilia* : il: _IIFIDIQl in-*Il: *'llr= il 'mm il: l~~-. II`Cil= |i"| .|l'F. ~21'r, , imun: iiJa-z ulam: "l" II"'I)ZQl iii: "=ilr'| |r: i~ 'uli : film nl il: -Jtlrlm lil itil; :? *`= lIlI`P: |"'I`l ? urun u? ' Ilmu” qimziejfzlilinzl* -, ._IIII"" " IV: * glmpzq iin-Himura? ”uni : alamt Tail" IIIIII= Z"' : nm : nuu_ Bontinue <Tab> moves; <Space> selects; <Enter> activates buttons
  26. 26. y-; :v ' 'saur Yili; `IIII, III. YRSI" I» - : mi : l: , Iin: :qg-”êuul mug : lillliulnlulllu-. ul armgu itil: iibeaij- Iim' ini Iiluvlçluglu-*e III iii : :ini 'asasi 'nile : lil lu* fil: ulu: : Imani gm: III gaulislam Sillllall: :It m : fil: :lnrnlllrn 1: : lulilnrszcfiulg mil" igli m' Iilll ima Iluni: umum* 'Iil: tli, lai' tai ; lili : timun: ri gnr-“i i: igr` ` a' : I 'lala "I 'gulali ma. , I`I: Ii. ima-. art; gi nlilil: :hari: I. Il: l:lE, Hagai izae rnli il: v i: llll: n' 'Iiflsa : lilijtl: »slm il: bru* lllllifiiiui 'tul rwlilijilz* "ilgllak-rlutlilii? hatur-l; glugligbl* "`, !*r-T1lI| l;'= L"-"` ? tvri i: ignilt. : lil fil: gnulêsyg: mmg: :mr-wag". Jill Iklan; 71:87: NI] <Tab> moves; <Space> selects; <Enter> activates buttons
  27. 27. °' ilfilriélêvé: Eur-haiii& To manage the system remotely using SSH client such Putty, select SSH Server. Besides, Select Standard System Utilities to easy basic management. Any other needed packages, will be installed later on as needed. [l] Software selection Rt the moment, onlg the core of the sgstem is installed. To tune the sgstem to gour needs, gou can choose to install one or more of the following predefined collections of software. Choose software to install: , lm Ifaléiiéflilil ; salinan 7 alum-. <Go Back> »LN ? Siiiéféê “Iiiiivrgiié-iê ilusi"
  28. 28. lha h i Yes. install GRUB. Enterto continue. .. L q [! ] Install the GRUB boot loader on a hard disk It seems that this new installation is the onlg operating sgstem on this computer. If so, it should be safe to install the GRUB boot loader to the master boot record of gour first hard drive. warning: If the installer failed to detect another operating sgstem that is present on gour computer, modifging the master boot record will make that operating sgstem temporarilg unbootable, though GRUB can be manuallg configured later to boot it. Install the GRUB boot loader to the master boot record? <Go Back>
  29. 29. Congratulations! You made it i) Disregard the following message, Usually it bypass the ISO file and boots into the OS Server, however. we can remove the ISO file from settings later on, Thanks for following CCNA HUB OS setup instructions, Next, would be login and conflguring basic requirements, For now, press Enter to boot into your new Server, [! !] Finish the installation Installation complete Installation is complete, so it is time to boot into gour new sgstem. Make sure to remove the installation media (CD-ROH, floppies), so that gou boot into the new sgstem rather than restarting the installation. (GO Back> "rlii lLi-'riz Cghcl: : : i:, li:1:*': .Z `li *Tl Cili

    Be the first to comment

    Login to see the comments

The following Course will focus mainly on a private Virtual Environment such VirtualBox or VMware Station. However, if you are willing to setup straight on DigitalOcean or Vultr, then you can skip Course1 and jump to Course2. But, I highly recommend to go through Course1 to build In-house local Web Hosting Server for testing or developing purpose. After all, the concept is same on either Private or Public Virtual environment.

Views

Total views

1,172

On Slideshare

0

From embeds

0

Number of embeds

838

Actions

Downloads

3

Shares

0

Comments

0

Likes

0

×