{"id":357,"date":"2013-05-11T04:24:39","date_gmt":"2013-05-11T04:24:39","guid":{"rendered":"https:\/\/shan.info\/new\/debian\/"},"modified":"2013-05-11T04:24:39","modified_gmt":"2013-05-11T04:24:39","slug":"debian","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/debian\/","title":{"rendered":"\u5347\u7ea7 Debian"},"content":{"rendered":"<h2 style=\"color: #000000; background-image: none; margin: 0px 0px 0.6em; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #aaaaaa; font-size: 19px; font-family: 'Trebuchet MS', Verdana, 'Bitstream Vera Sans', Arial, 'AR PL New Sung', 'AR PL ShanHeiSun Uni', \u65b0\u7d30\u660e\u9ad4, 'AR PL Mingti2L Big5', 'AR PL SungtiL GB', Helvetica, sans-serif; line-height: 19.046875px;\">\u7531 5.0 (lenny) \u5347\u7ea7\u81f3\u6d4b\u8bd5\u7248\u672c (squeeze)<\/h2>\n<p style=\"margin: 0.4em 0px 0.5em; line-height: 19.046875px; color: #000000; font-family: 'Trebuchet MS', Verdana, 'Bitstream Vera Sans', Arial, 'AR PL New Sung', 'AR PL ShanHeiSun Uni', \u65b0\u7d30\u660e\u9ad4, 'AR PL Mingti2L Big5', 'AR PL SungtiL GB', Helvetica, sans-serif; font-size: 13px;\">\u53d8\u8eab\u6210\u7cfb\u7edf\u4f7f\u7528\u8005 (root) \u7684\u8eab\u4efd\uff1a<\/p>\n<pre style=\"font-family: 'Courier New', 'Bitstream Vera Sans Mono', 'AR PL New Sung', 'AR PL ShanHeiSun Uni', \u65b0\u7d30\u660e\u9ad4, 'AR PL Mingti2L Big5', 'AR PL SungtiL GB', courier, monospace; padding: 1em; border: 1px dashed #2f6fab; background-color: #f9f9f9; line-height: 1.1em; overflow: auto; font-size: 13px;\">$ <strong>su<\/strong>\r\npasswd:\r\n#\r\n<\/pre>\n<p style=\"margin: 0.4em 0px 0.5em; line-height: 19.046875px; color: #000000; font-family: 'Trebuchet MS', Verdana, 'Bitstream Vera Sans', Arial, 'AR PL New Sung', 'AR PL ShanHeiSun Uni', \u65b0\u7d30\u660e\u9ad4, 'AR PL Mingti2L Big5', 'AR PL SungtiL GB', Helvetica, sans-serif; font-size: 13px;\">\u5c06\u00a0<a href=\"http:\/\/wiki.debian.org.hk\/w\/File:\/etc\/apt\/sources.list\" title=\"File:\/etc\/apt\/sources.list\" style=\"color: #5a3696; background-image: none;\">\/etc\/apt\/sources.list<\/a>\u00a0\u4e2d\u7684 stable \u6216 lenny \u8f6c\u6210 squeeze:<\/p>\n<pre style=\"font-family: 'Courier New', 'Bitstream Vera Sans Mono', 'AR PL New Sung', 'AR PL ShanHeiSun Uni', \u65b0\u7d30\u660e\u9ad4, 'AR PL Mingti2L Big5', 'AR PL SungtiL GB', courier, monospace; padding: 1em; border: 1px dashed #2f6fab; background-color: #f9f9f9; line-height: 1.1em; overflow: auto; font-size: 13px;\"><strong>cd \/etc\/apt<\/strong>\r\n<strong>cp sources.list sources.list.bak<\/strong>\r\n<strong>sed -e 's\/&lt;(stable|lenny)&gt;\/squeeze\/g' sources.list.bak &gt;sources.list<\/strong>\r\n<\/pre>\n<p style=\"margin: 0.4em 0px 0.5em; line-height: 19.046875px; color: #000000; font-family: 'Trebuchet MS', Verdana, 'Bitstream Vera Sans', Arial, 'AR PL New Sung', 'AR PL ShanHeiSun Uni', \u65b0\u7d30\u660e\u9ad4, 'AR PL Mingti2L Big5', 'AR PL SungtiL GB', Helvetica, sans-serif; font-size: 13px;\">\u66f4\u65b0\u6700\u65b0\u7684\u5957\u4ef6\u8d44\u8baf\uff1a<\/p>\n<pre style=\"font-family: 'Courier New', 'Bitstream Vera Sans Mono', 'AR PL New Sung', 'AR PL ShanHeiSun Uni', \u65b0\u7d30\u660e\u9ad4, 'AR PL Mingti2L Big5', 'AR PL SungtiL GB', courier, monospace; padding: 1em; border: 1px dashed #2f6fab; background-color: #f9f9f9; line-height: 1.1em; overflow: auto; font-size: 13px;\"><strong>apt-get update<\/strong>\r\n<\/pre>\n<p style=\"margin: 0.4em 0px 0.5em; line-height: 19.046875px; color: #000000; font-family: 'Trebuchet MS', Verdana, 'Bitstream Vera Sans', Arial, 'AR PL New Sung', 'AR PL ShanHeiSun Uni', \u65b0\u7d30\u660e\u9ad4, 'AR PL Mingti2L Big5', 'AR PL SungtiL GB', Helvetica, sans-serif; font-size: 13px;\">\u66f4\u65b0\u6574\u4e2a\u7cfb\u7edf\uff1a<\/p>\n<pre style=\"font-family: 'Courier New', 'Bitstream Vera Sans Mono', 'AR PL New Sung', 'AR PL ShanHeiSun Uni', \u65b0\u7d30\u660e\u9ad4, 'AR PL Mingti2L Big5', 'AR PL SungtiL GB', courier, monospace; padding: 1em; border: 1px dashed #2f6fab; background-color: #f9f9f9; line-height: 1.1em; overflow: auto; font-size: 13px;\"><strong>apt-get dist-upgrade<\/strong><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u7531 5.0 (lenny) \u5347\u7ea7\u81f3\u6d4b\u8bd5\u7248\u672c (squeeze) \u53d8\u8eab\u6210\u7cfb\u7edf\u4f7f\u7528\u8005 (root) \u7684\u8eab\u4efd\uff1a $ su passwd: # \u5c06\u00a0\/etc\/apt\/sources.list\u00a0\u4e2d\u7684 stable \u6216 lenny \u8f6c\u6210 squeeze: cd \/etc\/apt cp sources.list sources.list.bak sed -e &#8216;s\/&lt;(stable|lenny)&gt;\/squeeze\/g&#8217; sources.list.bak &gt;sources.list \u66f4\u65b0\u6700\u65b0\u7684\u5957\u4ef6\u8d44\u8baf\uff1a apt-get update \u66f4\u65b0\u6574\u4e2a\u7cfb\u7edf\uff1a apt-get dist-upgrade<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[],"class_list":["post-357","post","type-post","status-publish","format-standard","hentry","category-debian"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=357"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/357\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}