|
## ifconfig hme0 IP up
## route add(delete) default 192.1.1.1
Solaris¸¦ ¼³Ä¡ÇÑÈÄ ÇؾßÇÏ´Â ±âº»ÀûÀÎ ³×Æ®¿öÅ© ¼Â¾÷ ¼³¸íÀÔ´Ï´Ù. host name, IPº¯°æ
Router, DNS Client ¼Â¾÷ÀÌ ¼³¸íµÇ¾î ÀÖ½À´Ï´Ù.
Host Name / IP Address º¯°æ
# sys-unconfig <Enter>
reboot (Y/N) yes <Enter>
System Halt
ok
ok boot <Enter>
À§¿Í °°ÀÌ ÇÑÈÄ ºÎÆÃÇÏ¸é ºÎÆðúÁ¤¿¡¼ Host Name / IP Address / NIS / Subnet / TIMEZONE¼³Á¤À» ÇÒ¼ö ÀÖ´Ù
<SPACE key : ¼±ÅÃ, È»ìÇ¥ key : À̵¿, F2 key : ´ÙÀ½¸Þ´ºÀ̵¿>
sys-unconfig¸¦ »ç¿ëÇÑ ÈÄ¿¡´Â /etc/TIMEZONE ÆÄÀϳ»¿¡
.
LANG=ko
.
¶ó´Â °ÍÀ» ³Ö¾î ÁÖ¾î¾ß locale ÀÌ korea °¡ µË´Ï´Ù.
Host Name º¯°æ (¿¹ : click --> bigcom)
# vi /etc/nodename
# vi /etc/hostname.xxx (xxx : hme0 , le0)
# vi /etc/hosts
À§ÀÇ ÆÄÀÏ¿¡¼ clickÀ» ã¾Æ bigcomÀ¸·Î ¹Ù²Û´Ù.
# hostname bigcom <Enter>
IP Address º¯°æ (¿¹ : 192.9.200.1 --> 210.108.179.150) # vi /etc/hosts
À§ÀÇ ÆÄÀÏ¿¡¼ 192.9.200.1À» ã¾Æ 168.126.100.100·Î ¹Ù²Û´Ù.
# ifconfig xxx inet 168.126.100.100
xxx ´Â le0, hme0 µîµîÀÇ ³×Æ®¿öÅ© ÀÎÅÍÆäÀ̽º À̸§
Netmask ¼³Á¤ (¿¹ : IP = 210.108.179.150ÀÌ°í C class¼³Á¤(255.255.255.0)À̸é)
# vi /etc/netmasks
ÀÌ ÆÄÀϾȿ¡ ¾Æ·¡¿Í °°Àº ¶óÀÎÀ» »ðÀÔÇÑ´Ù.
210.108.0.0 255.255.255.0
Router ¼³Á¤ (¿¹ : 168.126.100.1 ÀÌ ¶ó¿ìÅÍ À϶§)
# vi /etc/defaultrouter
168.126.100.1 ; ¶óÀÎÀ» Ãß°¡ ÇÑ´Ù.
# route add default 168.126.100.1 1
route Ä¿¸àµå¸¸ »ç¿ëÇÏ¿© ¶ó¿ìÅ͸¦ ¼³Á¤ÇÏ¸é ½Ã½ºÅÛ ÀçºÎÆÃÈÄ¿¡´Â ¶ó¿ìÅÍ ¼³Á¤ÀÌ ¾ø¾î Áø´Ù. ±×·¯¹Ç·Î "defaultrouter"ÆÄÀÏ ÀÛ¼º°ú º´Çà ÇØ¾ß µÈ´Ù.
<Notice> ¶ó¿ìÅÍ ¼³Á¤À» ÇÏÁö ¾ÊÀ¸¸é ¿ÜºÎ¸ÁÀ» »ç¿ëÇÒ¼ö ¾ø´Ù. ¹°·Ð ÀÎÅͳݵµ »ç¿ëÇÒ¼ö ¾ø´Ù.
DNS Client ¼³Á¤ # vi /etc/resolv.conf
domain bigcom.co.kr
nameserver 168.126.63.1
nameserver 168.147.1.1
# vi /etc/nsswitch.conf
.
group files
hosts files dns <dns Ãß°¡>
|