{"id":19419,"date":"2017-02-09T12:22:43","date_gmt":"2017-02-09T04:22:43","guid":{"rendered":"https:\/\/2blog.ilc.edu.tw\/25793\/2017\/02\/09\/%e4%bf%ae%e6%94%b9-ob2d-linux-2017-1-0-%e4%bd%bf%e7%94%a8%e7%92%b0%e5%a2%83\/"},"modified":"2017-02-09T12:22:43","modified_gmt":"2017-02-09T04:22:43","slug":"%e4%bf%ae%e6%94%b9-ob2d-linux-2017-1-0-%e4%bd%bf%e7%94%a8%e7%92%b0%e5%a2%83","status":"publish","type":"post","link":"https:\/\/2blog.ilc.edu.tw\/25793\/2017\/02\/09\/%e4%bf%ae%e6%94%b9-ob2d-linux-2017-1-0-%e4%bd%bf%e7%94%a8%e7%92%b0%e5%a2%83\/","title":{"rendered":"\u4fee\u6539 OB2D Linux 2017 1.0 \u4f7f\u7528\u74b0\u5883"},"content":{"rendered":"<p>1. \u8a2d\u5b9a root \u5bc6\u78bc<br \/>$ <span style=\"color: #ff0000;\">sudo passwd root<\/span><br \/><span style=\"color: #0000ff;\">[sudo] password for ob2duser:<\/span><br \/><span style=\"color: #0000ff;\">\u8f38\u5165\u65b0\u7684 UNIX \u5bc6\u78bc\uff1a<\/span><br \/><span style=\"color: #0000ff;\">\u518d\u6b21\u8f38\u5165\u65b0\u7684 UNIX \u5bc6\u78bc\uff1a<\/span><br \/><span style=\"color: #0000ff;\">passwd\uff1a\u5bc6\u78bc\u5df2\u6210\u529f\u5730\u8b8a\u66f4[@more@]<\/span><br \/>2. \u958b\u555f\u8b93\u9060\u7aef\u53ef\u4ee5\u9023\u7dda\u5230 SSH Server<br \/>$ <span style=\"color: #ff0000;\">sudo vim \/etc\/rc.local<\/span><br \/><span style=\"color: #0000ff;\">\u53bb\u9664\u524d\u9762\u7684 #\uff0c\u4e26\u4fee\u6539\u6210\u60a8\u7684\u7db2\u8def\u74b0\u5883<\/span><br \/><span style=\"color: #0000ff;\">#LAN_IP_RANGE=&#8221;192.168.1.0\/24&#8243;<\/span><br \/><span style=\"color: #0000ff;\">\u53bb\u9664\u524d\u9762\u7684 #<\/span><br \/><span style=\"color: #0000ff;\">#$IPTABLES -A INPUT -p tcp -s $LAN_IP_RANGE &#8211;dport 22 -j ACCEPT<\/span><\/p>\n<p>\u91cd\u65b0\u555f\u52d5 Firewall<br \/>$ <span style=\"color: #ff0000;\">sudo sh \/etc\/rc.local<\/span><\/p>\n<p>3. \u8a2d\u5b9a MySQL Server<br \/>$ <span style=\"color: #ff0000;\">sudo \/usr\/bin\/mysql_secure_installation<\/span><\/p>\n<p>4. \u66f4\u65b0\u5957\u4ef6\u5eab\u4e26\u66f4\u65b0<br \/>$ <span style=\"color: #ff0000;\">sudo apt-get update;sudo apt-get upgrade<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u8a2d\u5b9a root \u5bc6\u78bc$ sudo passwd root[sudo] password for ob2d &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/2blog.ilc.edu.tw\/25793\/2017\/02\/09\/%e4%bf%ae%e6%94%b9-ob2d-linux-2017-1-0-%e4%bd%bf%e7%94%a8%e7%92%b0%e5%a2%83\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008\u4fee\u6539 OB2D Linux 2017 1.0 \u4f7f\u7528\u74b0\u5883\u3009<\/span><\/a><\/p>\n","protected":false},"author":55,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[196],"tags":[],"class_list":["post-19419","post","type-post","status-publish","format-standard","hentry","category-c-105018"],"meta_key":{"_pingme":["1"],"_encloseme":["1"],"lt_post_id":["685595"]},"_links":{"self":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/19419"}],"collection":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/comments?post=19419"}],"version-history":[{"count":0,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/19419\/revisions"}],"wp:attachment":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/media?parent=19419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/categories?post=19419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/tags?post=19419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}