{"id":73,"date":"2011-07-12T11:51:07","date_gmt":"2011-07-12T03:51:07","guid":{"rendered":"http:\/\/www.kiccleaf.com\/?p=73"},"modified":"2011-07-12T11:53:51","modified_gmt":"2011-07-12T03:53:51","slug":"freebsd%e7%9b%b4%e6%8e%a5%e5%8f%af%e4%bb%a5%e7%94%a8%e5%91%bd%e4%bb%a4%e5%8d%87%e7%ba%a7%ef%bc%8c%e6%af%94%e5%a6%82%e5%b0%86freebsd8-1%e5%8d%87%e7%ba%a7%e6%88%90freebsd8-2","status":"publish","type":"post","link":"http:\/\/www.kiccleaf.com\/?p=73","title":{"rendered":"FreeBSD\u76f4\u63a5\u53ef\u4ee5\u7528\u547d\u4ee4\u5347\u7ea7\uff0c\u6bd4\u5982\u5c06FreeBSD8.1\u5347\u7ea7\u6210FreeBSD8.2[\u539f\u521b]"},"content":{"rendered":"<p>\u5347\u7ea7FreeBSD\u7cfb\u7edfFreeBSD8.1\u5347\u7ea7\u6210FreeBSD8.2\u7684\u64cd\u4f5c\u8fc7\u7a0b<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nkiccleaf# uname -a\r\nFreeBSD qm.w 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011\u00a0\u00a0\u00a0\u00a0 root@almeida.cse.buffalo.edu:\/usr\/obj\/usr\/src\/sys\/GENERIC\u00a0 i386\r\nkiccleaf# freebsd-update -r 8.2-RELEASE upgrade\r\nLooking up update.FreeBSD.org mirrors... 4 mirrors found.\r\nFetching metadata signature for 8.1-RELEASE from update5.FreeBSD.org... done.\r\nFetching metadata index... done.\r\nFetching 1 metadata patches. done.\r\nApplying metadata patches... done.\r\nFetching 1 metadata files... done.\r\nInspecting system... done.\r\n\r\nThe following components of FreeBSD seem to be installed:\r\nkernel\/generic world\/base\r\n\r\nThe following components of FreeBSD do not seem to be installed:\r\nsrc\/base src\/bin src\/cddl src\/contrib src\/crypto src\/etc src\/games\r\nsrc\/gnu src\/include src\/krb5 src\/lib src\/libexec src\/release src\/rescue\r\nsrc\/sbin src\/secure src\/share src\/sys src\/tools src\/ubin src\/usbin\r\nworld\/catpages world\/dict world\/doc world\/games world\/info\r\nworld\/manpages world\/proflibs\r\n\r\nDoes this look reasonable (y\/n)? y\r\n\r\nFetching metadata signature for 8.2-RELEASE from update5.FreeBSD.org... done.\r\nFetching metadata index... done.\r\nFetching 1 metadata patches. done.\r\nApplying metadata patches... done.\r\nFetching 1 metadata files... done.\r\nInspecting system... done.\r\nFetching files from 8.1-RELEASE for merging... done.\r\nPreparing to download files... done.\r\nFetching 5591\r\n60....5570....5580....5590 done.\r\nApplying patches... done.\r\nFetching 47 files... done.\r\nAttempting to automatically merge changes in files... done.\r\nkiccleaf# freebsd-update install\r\nInstalling updates...\r\nKernel updates have been installed.\u00a0 Please reboot and run\r\n&quot;\/usr\/sbin\/freebsd-update install&quot; again to finish installing updates.\r\n\r\n<\/pre>\n<p><span style=\"color: #ff0000;\">\u8bb0\u4f4f\u4ee5\u4e0b\u8fd9\u4e24\u6b65\u4e0d\u53ef\u5c11\uff0c\u5426\u5219\u8fdc\u7a0b\u767b\u9646\u4e0d\u4e86\u5c31\u8981\u8dd1\u673a\u623f\u54af<\/span><br \/>\n\u7b2c\u4e00\u6b65\uff1a\u5148\u66f4\u65b0\u4e00\u4e0bssh<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nkiccleaf# vi \/etc\/ssh\/sshd_config\r\n\r\nPort 22\r\nPermitRootLogin no\r\nPubkeyAuthentication yes\r\nAuthorizedKeysFile\u00a0\u00a0 \u00a0.ssh\/id_dsa.pub\r\nPasswordAuthentication no\r\nPermitEmptyPasswords no\r\n<\/pre>\n<p>\u7b2c\u4e8c\u6b65\uff1a\u628a\u914d\u7f6essh\u968f\u7cfb\u7edf\u542f\u52a8<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nkiccleaf# cat \/etc\/rc.conf\r\n\r\nsshd_enable=&quot;YES&quot;\r\n\r\nkiccleaf# shutdown -r now\r\nkiccleaf# uname -a\r\nFreeBSD qm.w 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011\u00a0\u00a0\u00a0\u00a0 root@almeida.cse.buffalo.edu:\/usr\/obj\/usr\/src\/sys\/GENERIC\u00a0 i386\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u5347\u7ea7FreeBSD\u7cfb\u7edfFreeBSD8.1\u5347\u7ea7\u6210F&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"http:\/\/www.kiccleaf.com\/?p=73\">Continue reading<span class=\"screen-reader-text\">FreeBSD\u76f4\u63a5\u53ef\u4ee5\u7528\u547d\u4ee4\u5347\u7ea7\uff0c\u6bd4\u5982\u5c06FreeBSD8.1\u5347\u7ea7\u6210FreeBSD8.2[\u539f\u521b]<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":2,"footnotes":""},"categories":[6],"tags":[8],"class_list":["post-73","post","type-post","status-publish","format-standard","hentry","category-freebsd","tag-freebsd","entry"],"views":5705,"_links":{"self":[{"href":"http:\/\/www.kiccleaf.com\/index.php?rest_route=\/wp\/v2\/posts\/73","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.kiccleaf.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.kiccleaf.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.kiccleaf.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.kiccleaf.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=73"}],"version-history":[{"count":0,"href":"http:\/\/www.kiccleaf.com\/index.php?rest_route=\/wp\/v2\/posts\/73\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.kiccleaf.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=73"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.kiccleaf.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=73"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.kiccleaf.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}