Skip to content

Latest commit

ย 

History

History
42 lines (25 loc) ยท 487 Bytes

cloud-memo.md

File metadata and controls

42 lines (25 loc) ยท 487 Bytes

Cloud memo

์›น์„œ๋ฒ„ ์„ค์น˜
sudo apt-get install -y apache2

์›น ์„œ๋น„์Šค ์—ฐ๊ฒฐ
sudo service apache2 start

์›น์„œ๋น„์Šค ์ƒํƒœ ํ™•์ธ
sudo service apache2 status

net-tools ์„ค์น˜
sudo apt-get install net-tools

ํ˜„์žฌ ์‚ฌ์šฉ์ค‘์ธ port์ •๋ณด
netstat -ntpl

AWS EC2 ์ด์šฉํ•˜๊ธฐ

  • VPC ๋ฐœ๊ธ‰
  • EC2 ์„œ๋ฒ„ ๋งŒ๋“ค๊ธฐ
# ํ‚คํŽ˜์–ด ๊ถŒํ•œ ๋ณ€๊ฒฝ
chmod 400 <key>
powershell์—์„œ ์ ‘์†ํ•˜๋Š” ๋ฐฉ๋ฒ•
ssh -i <ํ‚ค๊ฐ’> <๊ณ„์ •๋ช…>@<๋กœ์ปฌipv4>