๐Ÿง Contact Project - Documentation IV, Development Environment

1256 ๋‹จ์–ด Contact ProjectContact Project

๋ฌธ์ œ ์ธ์‹

Amazon Linux 2 ์„œ๋ฒ„ ์ƒ์„ฑ์„ ์œ„ํ•œ ์„ค์ •์—์„œ ์˜ค๋ฅ˜ ๋ฐœ์ƒ

๋ณ€๊ฒฝ๋œ ํ˜ธ์ŠคํŠธ ๋„ค์ž„์ด /etc/hosts์— ๋“ฑ๋ก๋˜์ง€ ์•Š์Œ



ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

์ด๋ฒˆ ํ”„๋กœ์ ํŠธ์˜ ๊ฐœ๋ฐœ ํ™˜๊ฒฝ์€ ubuntu 20.04

ํ•˜์ง€๋งŒ Linux centos 6, centos 7 ๊ธฐ์ค€์œผ๋กœ hostname์„ ๋ณ€๊ฒฝํ•˜๋ ค๊ณ  ํ•จ.

์ด ๊ฐ„๋‹จํ•œ ๊ฑธ ... ํ›„..


ssh์— ์ ‘๊ทผํ•ด์„œ

๐Ÿ‘‡

sudo hostnamectl set-hostname contact

๐Ÿ‘‡

sudo vim /etc/hosts

๐Ÿ‘‡

127.0.1.1 ๋ณ€๊ฒฝํ•œ ์ด๋ฆ„์œผ๋กœ vim ์ž‘์„ฑ

๐Ÿ‘‡

hostnamectl ๋ช…๋ น์–ด ์ž…๋ ฅ ํ›„, ํ™•์ธ



๊ฒฐ๊ณผ

ํ•ด๊ฒฐ



์ฐธ๊ณ  ๋ฌธ์„œ

https://linuxconfig.org/how-to-change-hostname-on-ubuntu-20-04-focal-fossa-linux

https://zetawiki.com/wiki/%EB%A6%AC%EB%88%85%EC%8A%A4_hostnamectl


์ข‹์€ ์›นํŽ˜์ด์ง€ ์ฆ๊ฒจ์ฐพ๊ธฐ