{"id":2479,"date":"2013-06-10T18:56:17","date_gmt":"2013-06-10T09:56:17","guid":{"rendered":"http:\/\/auctionpro.co.kr\/?p=2479"},"modified":"2017-12-26T13:23:55","modified_gmt":"2017-12-26T04:23:55","slug":"ubuntu-13-04-%ec%97%90%ec%84%9c-%ea%b3%a0%ec%a0%95-ip-%ec%84%a4%ec%a0%95","status":"publish","type":"post","link":"https:\/\/www.auctionpro.co.kr\/?p=2479","title":{"rendered":"ubuntu 13.04 \uc5d0\uc11c \uace0\uc815 ip \uc124\uc815 \ubc0f ssh \uc138\ud305"},"content":{"rendered":"<p>ubuntu 13.04 \uc5d0\uc11c \uace0\uc815 ip \uc124\uc815 \ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4.<\/p>\n<p><strong>ubuntu 16.04 \uc774\ud6c4\ub85c eth \uac00 interfaces  \uc5d0 \uc788\ub294\uac78(enp3s0)\ub85c Rename \ucc98\ub9ac\ub428<\/strong><br \/>\neth -> enp3s0<br \/>\neth01 -> enp3s1<br \/>\n&#8230;&#8230;&#8230;&#8230;..<\/p>\n<p>1. interfaces \ud30c\uc77c \uc218\uc815<\/p>\n<p>#sudo vi\/etc\/network\/interfaces<\/p>\n<p>auto eth0<\/p>\n<p>iface eth0 inet static<\/p>\n<p>address\u00a0192.168.10.200<\/p>\n<p>netmask 255.255.255.0<\/p>\n<p>gateway 192.168.10.1<\/p>\n<p>&nbsp;<\/p>\n<p>2. resolv.conf \ud30c\uc77c \uc218\uc815<\/p>\n<p>#sudo vi\/etc\/resolv.conf<\/p>\n<p>nameserver\u00a0192.168.10.100<\/p>\n<p>3. \uc7ac\uc2dc\uc791<\/p>\n<p>#sudo \/etc\/init.d\/networking restart<\/p>\n<p>* ssh\u00a0 \uc5f0\uacb0 \uc624\ud508<\/p>\n<p>$ dpkg -l | grep openssh-server<br \/>\n$ sudo apt-get install openssh-server<br \/>\n$ sudo service ssh start<\/p>\n<p>sudo systemctl enable ssh \/\/ssh \ubd80\ud305\uc2dc \uc790\ub3d9<\/p>\n<p>&nbsp;<\/p>\n<h2>16.04 \ubc84\uc804 \uc774\ud6c4 <\/h2>\n<p>1. interfaces \uc218\uc815 <\/p>\n<pre class=\"lang:vim decode:true \" title=\"interfaces\" >@root:~$ \/etc\/network\/interfaces\r\n\r\n# This file describes the network interfaces available on your system\r\n# and how to activate them. For more information, see interfaces(5).\r\n\r\nsource \/etc\/network\/interfaces.d\/*\r\n\r\n# The loopback network interface\r\nauto lo\r\niface lo inet loopback\r\n\r\n# The primary network interface\r\n#auto enp3s0\r\n#iface enp3s0 inet dhcp\r\n\r\nauto enp3s0\r\niface enp3s0 inet static\r\n\r\naddress 123.444.222.111\r\nnetmask 255.255.255.0\r\ngateway 123.444.222.1\r\ndns-nameservers 8.8.8.8\r\n@root:~$\r\n<\/pre>\n<p>2. reboot<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>ubuntu 13.04 \uc5d0\uc11c \uace0\uc815 ip \uc124\uc815 \ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4. ubuntu 16.04 \uc774\ud6c4\ub85c eth \uac00 interfaces \uc5d0 \uc788\ub294\uac78(enp3s0)\ub85c Rename \ucc98\ub9ac\ub428 eth -> enp3s0 eth01 -> enp3s1 &#8230;&#8230;&#8230;&#8230;.. <a class=\"mh-excerpt-more\" href=\"https:\/\/www.auctionpro.co.kr\/?p=2479\" title=\"ubuntu 13.04 \uc5d0\uc11c \uace0\uc815 ip \uc124\uc815 \ubc0f ssh \uc138\ud305\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-2479","post","type-post","status-publish","format-standard","hentry","category-ubuntu"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/2479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2479"}],"version-history":[{"count":0,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/2479\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}