LinuC1  @tmiyahar
© LPI-Japan / EDUCO all rights reserved.

#n

BIA8LH
3*1,/ "$CEO !
.4(6 "$CEOn LinuxK9LBJ>L=0&+6IT!7
0@<?=7 %n  2!5'DevOps0&+6>GEL;FJ7 ,-)6n LPI-Japan DLHC:<J © LPI-Japan / EDUCO all rights reserved.

2'+)3.
1. LinuC
2. 1(3/ Linux # Linux  Linux(3,/42  CentOS& Web*404&!$LinuC
&Linux &,-4/%# 1(3/&"© LPI-Japan / EDUCO all rights reserved.

3© LPI-Japan / EDUCO all rights reserved.

LinuCG$3
1. 4&%n OPNFB;@7 /D5G7;,*.K1>8,*G+E#0GK=8)G&F?J.-6K(>I?92. %FB<LinuCG n 7 /D5G7;.K9QPhase ST Rn  GOPNFA@.G9QPhase 2Rn !'FHLML KF8:G GOPNF"A@.-62K(>C;<9© LPI-Japan / EDUCO all rights reserved.

5n LPIC SAStandardSpecialist
HH

HHSM

HEEldznaE

E

EinxCCSiLcnx

Egnx
Viz
LrmCCei nxohb ArmH AAA
AnaAdytinav
M cieu20
2134 &2© LPI-Japan / EDUCO all rights reserved.

6Linux

© LPI-Japan / EDUCO all rights reserved.

20 n LPIC'9LinuC3 =-.7 n Phase 2/  ( =-.7!
4  40n   3 (";5 92#KAQG>)+ 2KAQG>;n $<%!C@PFMF>9*,# DLQH4BJENQ4 >*-':0   3.);I?AO8DLQH5
manDLQH21/6.&)

© LPI-Japan / EDUCO all rights reserved.

88n (@.1,= '&CUSUK9/:3":>n6Linux8@ ATHJUQ,<DNTK)LinuxGHIO RMQVPUFW BLU-?6* 72*39)%$4
#@!+VPC 65;W

n Linux@+@7.0  WWebEULU@,/© LPI-Japan / EDUCO all rights reserved.

9Linux

© LPI-Japan / EDUCO all rights reserved.

LinuC(%(n )'(% ' #*!
n 101.1 ;@9120 ( %
n 109.2 &:78?@4
n 5=@6'Linux( /+."+',-!  /!.(53>07<($!

© LPI-Japan / EDUCO all rights reserved.

11

4(9!28&:(79'), OS
.#+"1!28&:(794(93),OSn*0,$%!1PC  n3),OSLinux
WindowsmacOS n 4(9OS
nHDD568  4(9 3),/:-$%!

© LPI-Japan / EDUCO all rights reserved.

12

VirtualBox n GPL  ,#'OS.!2$*'
 ,#'OSWindows,Linux,macOS,Solarisn  )3"/25
 )3"/2&+-3' 0

n http://www.virtualbox.org

%213(© LPI-Japan / EDUCO all rights reserved.

13

VirtualBox0?=>EG7n &( ?=>EG7/3*+
n  ?=>EG75<A;/-?=>EG7?=>EG7-?=>EG7?=>EG7-@D=9?=>EG7/)$,  ?=>EG7

 C8F02

B:>6FDG5<A; B:>H

C8F02• -0 1.03!/ %'( "/3*+NAT"@D=94• NAT?=>EG71 C8F, • )$,0 1?=>EG71 /#0,B:>6FDG5<A;4
© LPI-Japan / EDUCO all rights reserved.

14NICNIC© LPI-Japan / EDUCO all rights reserved.

15     192.168.56.0/24


NIC
192.168.56.10156.100
56.101-254
DHCP   
192.168.56.1
 © LPI-Japan / EDUCO all rights reserved.

16

NAT


NIC

"

!
# "  # NATNIC© LPI-Japan / EDUCO all rights reserved.

17

VirtualBox&=:;EG4
1. 





0 '( A7;OS%*!"'$,(2. =:;EG4 →A7;3FCG=:;EG4
8?0
3. vboxnet00 &<B2>G125F0
4C:4
4. 19@8G&IP1<D70192.168.X.1% &IP1<D7A7;&NIC%,"+.-5. DHCP6G>G8?0
 DHCP0/$0#) $
© LPI-Japan / EDUCO all rights reserved.

18

?2G$
1.
,+*I*(#J
2. 5/>KLinux,&3. Red Hat (64bit),&
4. @AC%1024MB)!
 700MB"CUI!Minimal/G48HD#

5. ;H97.41<-/D,


%7<0D8!OK!!

6. 48EH3$

!ISO/@H3,& DVD9B/=%IDE#+ '

7. :68FH1,

© LPI-Japan / EDUCO all rights reserved.

19

Linux 

© LPI-Japan / EDUCO all rights reserved.

LinuC5

15n Linux?MDGNK1  6451 4)/"7*n  102OLinux5?MDGNK1IEANCn  109OHEGLN@5 n ?MDGNK0 4259#3(1%=<;$>)!4=+,BDFJ>0&; >)-$:14.'7)8#© LPI-Japan / EDUCO all rights reserved.

21

LinuxBVFIWS2 6OBVIn

57BVFIWS*<4LG
DWE@"BVFIWS.0'n 1&?8GUI:#HWS@BVFIWS.0)-2' MSJ:PEQWS6BVFIWS435#
HWS+

n BVFIWS%KGIUWC =6@!

 GUI HWS@/09''61IPAJTF6 +1,>;(54/0'>2+7*3>
 6IRNS7 +KGIUWC$+© LPI-Japan / EDUCO all rights reserved.

22 !



n IP 
 # ifconfig
 # ip addr show "# ip a #n  
 # ping IP # routen  

 # dig n GUI

!

© LPI-Japan / EDUCO all rights reserved.

23

Web




© LPI-Japan / EDUCO all rights reserved.

B$

?B#

n 143NfYfCAB $ ?A
#:=6F;n ('(%* `ec]b&[fWSfLUWB ?OQ
V^BO_UWTJeF<Ca[fWn (')%+ /.-7GE20-ZUKfPBn ('*%+ \dRQB5!5 n (',%( IeSfXUW\dWMbB n 143NfYfB F>>9HD @NfYfB"BH8>9F;© LPI-Japan / EDUCO all rights reserved.

25

Web""n Web""!" yum!
 !"

n "



 SysV init Upstart systemd

© LPI-Japan / EDUCO all rights reserved.

26  yum  !n ! 

 # yum list
 # yum grouplistn  !
 # yum install !
 # yum groupinstall !!

© LPI-Japan / EDUCO all rights reserved.

27

Linux#

n /etc/rc.d/!
n /etc/rc.d/init.d/ n /etc/rc.d/rc?.d/ Run!
/

etcrc.d""

init.dscript"
"

rc?.dscript© LPI-Japan / EDUCO all rights reserved.

28

systemd",#*!(n /usr/lib/systemd/system/ /etc/rc.d/init.d/n /etc/systemd/system/ .$ *%#-'* *- /etc/rc.d/ n !( *%#
1. /etc/systemd/system/sysinit.target.wants/
2.
3.

 rc.sysinit *%#

 !(*%#/etc/systemd/system/basic.target.wants//etc/systemd/system/multi-user.target.wants/ )-,&+3/CUI0

4.



/etc/systemd/system/graphical.target.wants/ )-,&+5/GUI0© LPI-Japan / EDUCO all rights reserved.

29

Web-'-,#&-+ n Websa-ba-noinsuto-ru
 # yum install httpd –y  
n Web(%-",#&-+-'- 

 # /etc/init.d/httpd start.# service httpd start /n Web-'-$# Web)*!  # curl http://localhostn Web-'- # /etc/init.d/httpd stop
© LPI-Japan / EDUCO all rights reserved.

30

/+1n .612 ILinux6(&Web:H@H

n *!4'#Linux-4
 9BG?E8G -,"54  ,=7<>FACH;DG6%)04n ,3- *!4$+


4$+

.

© LPI-Japan / EDUCO all rights reserved.

316852+# n LinuC Linux    LinuxTips  LinuC

n  91"&-/ : 9+ 91$06734
+)( 1!%') *. %,$http://www.lpi.or.jp/mail/© LPI-Japan / EDUCO all rights reserved.

32

LPIC



20193 31 LPIC "LinuC  ,(2018 8 31 LPIC LPICLPI-Japan (+&-QR%+'.
)$#*!,,)© LPI-Japan / EDUCO all rights reserved.

33



LPIC

20181231 
 LinuC  $ LPIC)( QR#"!  $$

© LPI-Japan / EDUCO all rights reserved.

34